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 / Body keeps bleeding

Author
Message
Zaibatsu
18
Years of Service
User Offline
Joined: 1st May 2006
Location: Lost in Thought
Posted: 4th Dec 2006 06:21
is there a way to make it so even after a body is dead, if you shoot it it bleeds?

"If it weren't for monsoor here, this town wouldn't be here, and that kid would never grow up to lie about texas!"
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 4th Dec 2006 12:29
use this as the destroy script:



filya
18
Years of Service
User Offline
Joined: 23rd Aug 2006
Location: USA
Posted: 4th Dec 2006 18:20
butters, can you please explain this script to me? I mean its easy to interpret, but I still can't understand its working!
And how does it help Zaibatsu's problem?
Thanks!

-- game dev is fun...but taking up too much time --
Storm 6000
20
Years of Service
User Offline
Joined: 10th Oct 2004
Location:
Posted: 4th Dec 2006 21:18
the entity isnt actully destroyed and thus isnt actully taken out of the game loop suspend just disables an entity permenatly and makes it stay visible

Thanks
Adam
filya
18
Years of Service
User Offline
Joined: 23rd Aug 2006
Location: USA
Posted: 4th Dec 2006 23:30
but he is freezing it, not suspending it.

Also, why suspend it randomly (1 out of 100 time)?

-- game dev is fun...but taking up too much time --
Zaibatsu
18
Years of Service
User Offline
Joined: 1st May 2006
Location: Lost in Thought
Posted: 5th Dec 2006 00:08
thank you butters.

do you require your name in the credits?

"If it weren't for monsoor here, this town wouldn't be here, and that kid would never grow up to lie about texas!"
Zaibatsu
18
Years of Service
User Offline
Joined: 1st May 2006
Location: Lost in Thought
Posted: 5th Dec 2006 00:34 Edited at: 5th Dec 2006 00:47
Um. It doesn't wuite work butters, I'll get up a video so you can check it out. it's actually kind of funny what it does.

EDIT: video atatched, its quite funny actaully.

"If it weren't for monsoor here, this town wouldn't be here, and that kid would never grow up to lie about texas!"

Attachments

Login to view attachments
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 5th Dec 2006 02:08
sorry, I was typing that off the top of my head, heres the one I use, the only thing is that if you have too many dead enemies, it has a habbit oof crashing alll the AI.

Quote: ":state=0:state=1,freeze,coloff
:state=1,random=1:suspend"


Basically forgot to turn off the collisions, so that's why the dude stayed in your way.

Zaibatsu
18
Years of Service
User Offline
Joined: 1st May 2006
Location: Lost in Thought
Posted: 5th Dec 2006 02:30
is the thing in the quote the script?

and do you want your name in the credits? but that was rather funny how the guy went through the wall...

"If it weren't for monsoor here, this town wouldn't be here, and that kid would never grow up to lie about texas!"
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 5th Dec 2006 09:15
Yes the quote is the script. Credit would be nice, although it wasn't exactly tireless hours of work!

FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 5th Dec 2006 09:21
Quote: "if you have too many dead enemies"


I prefer all my enemies that way...especially if they are trying to kill me.
Nice script,Butters.

Login to post a reply

Server time is: 2024-11-23 05:14:47
Your offset time is: 2024-11-23 05:14:47