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 / Scripting Limb Detection Conditions and Actions

Author
Message
007
13
Years of Service
User Offline
Joined: 22nd Aug 2011
Location:
Posted: 15th Dec 2011 19:46
Hello folks,

I am creating a custom character with limbs detection and ragdoll.

It is working almost perfect, the problem is with scripting.

I made the character using the standard FPSC Biped, it works well, the ragdoll is working perfect, the model has custom animations for impact (shoot on leg, shoot on arm,...)

This is the character`s fpe:



Here comes the problem:

When i use this script as main script for the character:



It works perfect. If you shoot him in arms, will play the animation for arms impact.

If you shoot him in legs, will play the animation for legs impact.

But when i use those conditions (shotdamagetype) inside the pace10 script, this way:



The limb detection does not work. The character behaves normal, runs, strafe, shoots, however, when i shoot at any of his limbs, the custom animations don`t work, i mean, limb detection does not work.

Can anyone help me?

Thanks

007

Goldenye 007 N64
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 16th Dec 2011 03:40
try taking the animates out of the rest of the script, this may make everything else look weird so then try adding them back in one by one. If it wrecks it after adding 1 in then you know what the problem is, I'll look through my darkai collection and get back to you if you can't figure it out

I appear to have burst into flames...

Login to post a reply

Server time is: 2024-11-24 04:52:07
Your offset time is: 2024-11-24 04:52:07