The Dink Network

headless ducks

July 9th 2004, 03:20 PM
spike.gif
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?
July 9th 2004, 04:09 PM
burntree.gif
MTG
Peasant He/Him
 
it was a script called die or die5 or something like that
July 9th 2004, 05:34 PM
slayer.gif
Astral
Peasant He/Him
 
Give to your duck spirit
20Base walk
3Brain
1Speed or more
Die5 scrypt

That all!
July 10th 2004, 05:20 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
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)
July 11th 2004, 11:08 PM
spike.gif
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?
July 12th 2004, 02:12 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
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...
July 13th 2004, 09:57 AM
knight.gif
legolas
Peasant He/Him
 
you could also look in dink goes boating, it contains the noobie ducks