User talk:AnaRhisT

--RPG Scripts--[Networking in the future]
hey there!

I'm developing a mmorpg game, so I thought I'd share most of my scripts with unity community, I think you desrve more than I offer here, but thats what I've for now.

1. Move to the clicked point : add it to ur character and this script will be called "RPGWalker" http://09duck.pastebin.com/cVU55XPk

2. Rotate the camera around the main hero.(click right click and moving the mouse left/right) Preparation :

I''. Create a new GameObject called Cube and attach is as a 2nd child of ur main hero,Disable the Mesh Renderer, put its x,y,z axis to 0,0,0 value. and if u want u can a lil bit adjust its scale to match the main characters height,width.. also put this script so the camera will rotate around the cube location which is in the player's location http://09duck.pastebin.com/H5y9LauF ,, also make sure u dragged ur main hero to the "Target" slot in the Cube's Inspector.

II. Drag your Main.Camera to the Cube GameObject u created, so now it's a child of Cube. Move your Camera's position as u like to see ur Main hero. ''

3.Rotate the character to the hit.point and make the camera follow the character's back.:

I.edit the "RPGWalker" script with this one : http://09duck.pastebin.com/cjh3EpQt '' II. Replace the Target in Cube's Inspector with Character's gameObject to the Cube's gameObject.'' '''

4. Making camera not shake

''I.Detach the Main Camerato the hierarchy so it won't be a children and just a gameobject on the hierarchy. and attach this script to it : http://09duck.pastebin.com/vJbwVEvD Thats it for now folks! I'll be creating a new page in my site to continue giving scripts,etc, please tell me what u think.'' '''

5. Making a Point in the mouse's click. ''I. Create a cylinder, and scale it (0.7,0.01,0.37) change the RPGWalker script with this one : http://09duck.pastebin.com/Xx2mCRS8''

Thank you Unity Community, I love and respect everyone here, I feel it's my second family here!