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 / corpse still visible when dead?

Author
Message
Decneo
14
Years of Service
User Offline
Joined: 24th Dec 2009
Location:
Posted: 8th May 2010 19:38
here is my dead script



i use destroy but it still visible the entity after it dead

Models and Model packs for your game at my site.
Pandagamesorg
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location: check your moms room :D
Posted: 8th May 2010 20:28
Do you know there is a default script that makes the corpse stay.
It is called Leavecorspe.FPI
Decneo
14
Years of Service
User Offline
Joined: 24th Dec 2009
Location:
Posted: 8th May 2010 21:29
Quote: "Do you know there is a default script that makes the corpse stay.
It is called Leavecorspe.FPI "


yes,i've know but i don't want to leaecorpse in the game .

Models and Model packs for your game at my site.
Bootlicker
15
Years of Service
User Offline
Joined: 29th Mar 2009
Location: Germany
Posted: 8th May 2010 23:02
Quote: "yes,i've know but i don't want to leaecorpse in the game .
"


then change the 'destroy' script to 'fade corpse'

works like a charm


Pandagamesorg
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location: check your moms room :D
Posted: 9th May 2010 03:59
Adding on to Boot:

I see that you have a custom sound so just open that script and change the sound.
Decneo
14
Years of Service
User Offline
Joined: 24th Dec 2009
Location:
Posted: 9th May 2010 05:56
Quote: "then change the 'destroy' script to 'fade corpse'

works like a charm "


because i have my own dead anim so fadecorpse can't work me .


Quote: "Adding on to Boot:

I see that you have a custom sound so just open that script and change the sound. "


tha meaned it occurs with the sound

Models and Model packs for your game at my site.
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 11th May 2010 03:53 Edited at: 11th May 2010 04:17
Quote: "

;Artificial Intelligence Script
;Header
desc = Death
;Triggers
:state=0:state=1,
:state=1:setframe=4,state=2,sound=audiobank\voices\male\finalmoan.wav
:state=2:incframe=4:state=2,frameatend=4:state=3
:state=3:state=1,destroy

;End of Script

"


I think its just not executing state=2 properly because of the syntax error.

Try dropping the second part of state=2 to its own line...

... and you could get rid of that trailing comma in state=0 while you're at it....

Quote: "

;Artificial Intelligence Script
;Header
desc = Death
;Triggers
:state=0:state=1

:state=1:setframe=4,state=2,sound=audiobank\voices\male\finalmoan.wav

:state=2:incframe=4

:state=2,frameatend=4:state=3

:state=3:state=1,destroy

;End of Script

"


You probably could destroy at frames end in state 2 too like...



Hope this helps

   Conjured Entertainment

 WARNING: Intense Madness
Decneo
14
Years of Service
User Offline
Joined: 24th Dec 2009
Location:
Posted: 11th May 2010 05:06
thank you i'll test it.

Models and Model packs for your game at my site.
Decneo
14
Years of Service
User Offline
Joined: 24th Dec 2009
Location:
Posted: 20th May 2010 14:47
cool, it works perfectly. thank you very much.

Models and Model packs for your game at my site.

Login to post a reply

Server time is: 2024-11-25 00:48:05
Your offset time is: 2024-11-25 00:48:05