The Dink Network

creating a sprite

June 17th 2003, 04:27 AM
pig.gif

i wanna make a cutscene where some stuff appears and in the d-mod movie example in screen 1.c i found hte line where the duck appears
int &fred = create_sprite(370, 400, 16, 20, 1);
how do i find you the numbers for other objects?
June 17th 2003, 05:21 AM
pq_frog.gif
Ric
Peasant They/Them Canada
 
int &fred = create_sprite(370, 400, 16, 20, 1);
Using the editor (WDE preferably), 370 is the X axis, 400 is the Y axis, 16 is the brain (in this case smart person), 20 is the sequence #, and 1 is the frame from within that seq. While using Windinkedit right-click on a sprite and open its properties. Near the upper left it says the seq# and frame#. Or to find new sprite numbers close the properties box and press "E" for the sprite editor. Each box is a sequence full of sprites just scroll through until you find what you want and write down the Seq#(shown at lower left).
Erm... I just said way more than you needed I bet.
Yes. the third # is the brain. See a tutorial for the full list, but for starters, brain 1 is dink, 9 is diagonal movers (most, and all attackers must be br-9), br 16 lets them wander at random kinda realisticly.
June 17th 2003, 06:09 AM
pig.gif

there is a brain 16?
June 17th 2003, 12:51 PM
fish.gif
Binirit
Peasant She/Her
 
Well, you used it in your script, didn't you?
June 17th 2003, 02:37 PM
custom_fish.png
SabreTrout
Noble He/Him United Kingdom
Tigertigertiger. 
You silly billy!
Brain 16 makes the sprite wander about every so often if I remember correctly... which I probably don't.
June 25th 2003, 01:05 PM
stonegiant.gif
brain 16 is the same as dinks mums brain
and she just wanders around lol
but that brain must not be the best
there was a fire in the house
but her house is tiny! she could of easily ran lol
June 25th 2003, 01:59 PM
wizardb.gif
Kyle
Peasant He/Him Belgium
 
Brain 16 is indeed the "smart" brain. Actually, it's much more stupid than brain 9. It can't be given a target so if you want your townspeople to suddenly turn on Dink, youll have to change their brain to 9 or 10. Pretty annoying.