Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Change entity animation only when its shoot by player enemy

Author
Message
jeetu
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location:
Posted: 6th Feb 2013 03:23
Hi
All TGC users i am not expert in scripting i need a simple script for a entity item.Like

it will stay in a frame when game started
then change/go to a frame when shoot by player or enemy

it need some more futures but i am sure i will do the rest of work

if anyone hear to help for free kindly please

Thank you

Game review in super easy way Dont miss
http://adf.ly/Hzm3Q
Pirate Myke
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, Ca
Posted: 6th Feb 2013 05:54
Is this a stock character?
Is this a character that you made your self.
Is this a Dark AI character?
There are probably a couple of ways of doing this.

How many animations are needed? Does this entity need to do a different animation for every shot fired at it?

Do a search for limb detection, shotdamage, shotdamagetype, shotbyammo. These are just a few of the ways to detect damage then initialize an animation number of the animation you want to play when these conditions are detected.

jeetu
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location:
Posted: 7th Feb 2013 15:46
HI
sorry for late replay.

Actually its not a character!

Its a Entity model total have 20 frame of animation

1st i will start with FRAME 2 then when shoot by player/enemy it will show FRAME 3 then when it will shoot again by player/enemy it will start animating from FRAME 6 to FRAME 20 then it will stop and no more responce if shoot by player/enemy

i Hope i can explain if i missed some thing of you don't understand kindly let me know i will write again

i want this script because i want to upload my models on tgc store
if your script works i will give you a free copy of this model for your script

thank you

Game review in super easy way Dont miss
http://adf.ly/Hzm3Q
Pirate Myke
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, Ca
Posted: 8th Feb 2013 14:20
OK, cool. Try this script in the download button.

Let me know how it works or if it is a good starting point for you to continue it your self.

Attachments

Login to view attachments
jeetu
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location:
Posted: 11th Feb 2013 08:20
its not working

Now i am also trying to develop a script

please download the Attach its a *.x file and try to create a script
its just a sample that matched animation frame with my original project

Thank you

Game review in super easy way Dont miss
http://adf.ly/Hzm3Q

Attachments

Login to view attachments
Pirate Myke
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, Ca
Posted: 11th Feb 2013 15:09
OK, I will try. can you send your FPE file also?

Thanks

Pirate Myke
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, Ca
Posted: 18th Feb 2013 05:51 Edited at: 18th Feb 2013 05:53
Well I created a fpe file and redid the script. This works for me and you can verify with the debug setting on that the frames are incrementing.

Fpe file and some textures, and a map file included in the .rar file in the download button.

Attachments

Login to view attachments
jeetu
13
Years of Service
User Offline
Joined: 4th Apr 2011
Location:
Posted: 18th Feb 2013 06:54
Hi
here as i can see you are working so hard on it.Thank you

But i am afraid to say that your script is not working poperly

maybe a little change can fix it properly

please chk the attached file in Download Button

its hekp you to understand the problem

OH YES i AM USING V120_BETA10 MOD [ official mod of tgc ]

Also let me se maybe i will fix it

Thank you

Game review in super easy way Dont miss
http://adf.ly/Hzm3Q

Attachments

Login to view attachments
Pirate Myke
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, Ca
Posted: 18th Feb 2013 11:03 Edited at: 18th Feb 2013 11:10
Why are they bouncing around in the video. Are you using the fpe file that I sent?

In the download button is a video of it working on my machine.

Please send me the FPE file that you are using.

Send it to my email in the email button if you dont want to post it. I am only getting half the story.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-23 16:40:50
Your offset time is: 2024-11-23 16:40:50