Scripts / How do i make my thirdperson animate when key is pressed

Author
Message
Bikay
User Banned
Posted: 18th May 2016 09:20
Hi friend,
Am new to gameguru i done have much idea about scripting so i need your help.As i have seen in gameguru a character i,e fantasy is attach with the player start to work as thirdperson.So my question is how do i make my character animate when i press a key on the keyboard.please guide me..


thank you
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 18th May 2016 18:28
the wizard will automatically animate as you control him.
for other characters you need to adjust the .fpe file to match the CSI animations to the specific frames your character has (use the wizard .fpe as a guide)
then add
Quote: "isthirdperson = 1 "
to the .fpe as well
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Bikay
User Banned
Posted: 23rd May 2016 12:15
Ok i have tried as you said its working but its only working forward,backwards,left and right.i have rigged a character of TF31 from Fpsc into wizard in fragmotion,it got perfect but when i import into GG it get distorted.And how do i animate my new frame animation when i press key on keyboard,do i have to write code like 'g_keypressK ==0' in global.lua script to work perfectly.
Is there any free software to find out the animation frame i,e in.txt format.


thanks smallg for your help...

Login to post a reply

Server time is: 2024-12-22 17:17:21
Your offset time is: 2024-12-22 17:17:21