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 / Cant find the right script for going into ragdoll with random anim.

Author
Message
Nike
15
Years of Service
User Offline
Joined: 2nd Dec 2008
Location: Finland
Posted: 2nd Mar 2011 17:01
Hello!

Before i formatted my computer i had a script that
made the enemy to go in to ragdoll but use random dead anim before that, like putting his hands infront of he's head and such, and not to fall like the original ragdoll. I mean not using the default death anim. If i remember correctly, the script was made by Conjured.
So, please help me with the script again. Of course i've searched before i posted, multiple times!
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 13th Mar 2011 21:38 Edited at: 14th Mar 2011 14:19
Here is the
  for the script, which I could barely find.

I'll try to find the character FPE file that has the new animation assignments, or you can edit your FPE file and call whichever frames you want for them.

If you have a modeling program like FragMOTION, then you can import a stock character and play the animation to pick your frames.
You only need two frames for each animation assignment, so pick frames that are in a unique position to start the ragdoll.
You need to assign animations 92 through 99 in the FPE file.

I'll see if I can find it though, just to make it easier, but it might have to wait until tomorrow.

Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 14th Mar 2011 14:19
I couldn't find the old FPE file that had the 92-99 animations assignments, but I opened up FragMOTION and picked some new ones.
These are not as good as the last ones I had picked though, so you may want to edit those assignments in the FPE file. (do not edit the animations or save the X file when looking at it in FragMOTION)

Another thing you want to consider is the throw back animations, which are called when someone gets shot down.
To avoid these you need to zero them out (0,0) so they get ignored.
Looking at the animations, it looks as if they are the first 160 frames, so I changed any animations that called frames below 160, and ended up with something like this for the FPE animation assignments....

Quote: "

;animationinfo
animmax = 100
anim0 = 190,209
anim1 = 210,234
anim2 = 235,259
anim3 = 260,279
anim4 = 280,299
anim5 = 300,318
anim6 = 319,355
anim7 = 160,189
anim8 = 330,355
anim11 = 0,0
anim12 = 0,0
anim13 = 493,522
anim14 = 0,0
anim15 = 0,0
anim16 = 523,552
anim17 = 0,0
anim18 = 0,0
anim20 = 0,0
anim21 = 0,0
anim31 = 356,380
anim32 = 381,405
anim33 = 381,405
anim34 = 381,405
anim35 = 381,405
anim36 = 406,442
anim40 = 443,462
anim41 = 463,492
anim50 = 553,572
anim51 = 573,597
anim52 = 598,622
anim53 = 623,642
anim54 = 643,662
anim55 = 663,681
anim56 = 682,731
anim57 = 160,189
anim61 = 0,0
anim62 = 0,0
anim63 = 882,911
anim64 = 0,0
anim65 = 0,0
anim66 = 912,941
anim67 = 0,0
anim68 = 0,0
anim70 = 0,0
anim71 = 0,0
anim81 = 732,756
anim82 = 757,781
anim83 = 757,781
anim84 = 757,781
anim85 = 757,781
anim86 = 782,831
anim90 = 832,851
anim91 = 852,881

anim92 = 262,263
anim93 = 282,283
anim94 = 312,313
anim95 = 326,327
anim96 = 335,336
anim97 = 520,521
anim98 = 568,569
anim99 = 589.590

"


Try that and see what you think, but again, you may want to change those frame assignments for animations 92 through 99 to get your desired effect.

Attachments

Login to view attachments
Nike
15
Years of Service
User Offline
Joined: 2nd Dec 2008
Location: Finland
Posted: 14th Mar 2011 21:29 Edited at: 14th Mar 2011 22:43
Thank you so much, I really apreciate this!
Ye, I've got Fragmotion and will look into those frames,
Thank you once again!

EDIT: Nvm, I got it to work, and found some cool frames too.

This is what I did for the anims with Fragmotion:

anim92 = 335,336
anim93 = 327,328
anim94 = 312,313
anim95 = 326,327
anim96 = 335,336
anim97 = 520,521
anim98 = 910,911
anim99 = 1340.1341

Login to post a reply

Server time is: 2024-11-24 10:53:21
Your offset time is: 2024-11-24 10:53:21