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 / ragdoll physics

Author
Message
tokyomage
14
Years of Service
User Offline
Joined: 26th Sep 2010
Location: on your roof
Posted: 27th Sep 2010 00:18
i need to know how to make it so that whenever i kill an npc he turns into a ragdoll. whenever i kill an npc well he just does a boring death animation... so please help.

i forgot...
seth zer0
18
Years of Service
User Offline
Joined: 22nd Apr 2006
Location: Fort Walton Beach, FL
Posted: 27th Sep 2010 07:57 Edited at: 27th Sep 2010 09:57
Look at the thread called (Custom Death Scripts thread) its about 3 or 4 post down form this one you will find some there.. Or just add ,ragdoll to the end of the leave corpse script.

kms
15
Years of Service
User Offline
Joined: 9th Jan 2009
Location:
Posted: 28th Sep 2010 01:17 Edited at: 12th Oct 2010 22:56
I actually tried that script (adding the ,ragdoll) with a Model Pack 4 Character (the police officer 1, to be specific), and for some reason, it still did not work. I had to change these lines in that same character's core .fpe file to:



I think that my issue was that the program was trying to play the traditional "death" animation first and then go ragdoll, so I basically eliminated all of those normal animations, and it seems to be better. ADDED NOTE: What you need to do is change animations 11-18 and 61-68 so that whatever is listed as the first frame is also listed as the last frame. What the specific frame numbers are can vary by character. For example, the Officer (pistol) character has an anim68 that starts at 120. It can still be rather buggy, though, (like I wish that there I knew a way to control it based on distance because it can look kind of weird to nail someone point blank and then just have them drop dead toward you or to the side without any force backward, and it's the same on stairs--they'll just fall straight down toward "gravity", I guess) but I hope that at least helps. Just make sure to run the FPS Cleaner before you test it.

As a note, if anyone knows how to make them ragdoll away from you instead of toward you, please let me know, too, heh!

EDIT: Also, I found that for "talking" characters, you would need to change the .fpe's "noragdoll" line to = 0 for this to work. However, I would not recommend it because his/her face flies off in a really odd and abnormal way (like silly putty... not in some gory awesomeness), and I'm not sure if there's a way to fix it. So far, I've got nothing, though, which is a shame.
tokyomage
14
Years of Service
User Offline
Joined: 26th Sep 2010
Location: on your roof
Posted: 28th Sep 2010 02:52
*sigh* still didnt work...

i forgot...
tokyomage
14
Years of Service
User Offline
Joined: 26th Sep 2010
Location: on your roof
Posted: 28th Sep 2010 03:25
can someone please give me a download to the v1.17 beta? or just v.1.17 if its out? i just dont no where to download it...

i forgot...
kms
15
Years of Service
User Offline
Joined: 9th Jan 2009
Location:
Posted: 28th Sep 2010 10:59
Oh! You're not using v1.17? Maybe that's why it's not working. The fix I'm talking about is using v1.17. I've never tried it on other versions. It's out now and located here on the FPSC download page.
tokyomage
14
Years of Service
User Offline
Joined: 26th Sep 2010
Location: on your roof
Posted: 28th Sep 2010 19:17
wow thanks! il try the download...

i forgot...
tokyomage
14
Years of Service
User Offline
Joined: 26th Sep 2010
Location: on your roof
Posted: 28th Sep 2010 20:03
what? im getting so many errors when i run it! well not many but still it says to turn uac off,it has encountered a problem and has to exit and it askes for my cerial code... i guess i cant get ragdolls to work... oh well thanks for your help guys...

i forgot...
tokyomage
14
Years of Service
User Offline
Joined: 26th Sep 2010
Location: on your roof
Posted: 28th Sep 2010 20:06
oh great!! every single one of my maps are completely messed up! whenever i run it its just crap everything is deleted and replaced with stairs and crap now my fps creator is useless!!!!!!!!!!!!!

i forgot...
General Jackson
User Banned
Posted: 29th Sep 2010 01:38
Happened to me too.
Just have to rebuild.

And no its not useless.

The 2,000,000th TGC post was made in MY ww2 weapons thread!

(I should now be a TGC legend, right?)
tokyomage
14
Years of Service
User Offline
Joined: 26th Sep 2010
Location: on your roof
Posted: 30th Sep 2010 01:15
i know i tried that still did not work! all my data is gone to!

i forgot...

Login to post a reply

Server time is: 2024-11-24 19:50:04
Your offset time is: 2024-11-24 19:50:04