headless ducks
what happens when you chop off a head from a duck? is there a headless duck script somewhere? how can you activate the sequence where the duck runs around and splurts blood? can you do it on something else than a duck?
Give to your duck spirit
20Base walk
3Brain
1Speed or more
Die5 scrypt
That all!
20Base walk
3Brain
1Speed or more
Die5 scrypt
That all!
The losing it's head is hardcoded in the duck-brain. But now, I wonder, what would happen if you give something die5 as script, a duck brain, but another sequence. What would fly off... a duck head, or another sequence.
(hmm... should be a sp_brain_parm() for it)
(hmm... should be a sp_brain_parm() for it)
Funny. I started this thread out of curiosity, and now I actually need headless ducks running around. I mean, ducks that are headless to begin with, that run around the screen and give everything a nice red shade. Of course it'd be easy to make a loop that makes the beheaded duck splurt blood everywhere every now and then, but I'd like to use the same values that are used in "the real thing". (sorry for not being able to say things clearly right now, I'm terribly tired)
so, the question is, how do I activate the run'n'splurt "script" (I don't know what else to call it. "It?") without cutting off the duck's head?
so, the question is, how do I activate the run'n'splurt "script" (I don't know what else to call it. "It?") without cutting off the duck's head?
I guess giving the duck the same properties as a normal duck has should work, you'll only have to find out if hurt(¤t_sprite, 1); decapitates it... If it doesn't, you can allways make some sort of invisible bomb or something.
Anyway, make a copie of die5 and put the hurt()/bomb/whatever code in the void main( void )
Oh, and I just realised that these ways would display the damage done above the duck, but I can't think of anything else at the moment...
Anyway, make a copie of die5 and put the hurt()/bomb/whatever code in the void main( void )
Oh, and I just realised that these ways would display the damage done above the duck, but I can't think of anything else at the moment...