The Dink Network

Base-walk Charon (black robed guy in boat)

January 11th 2006, 08:12 PM
pq_water.gif
Though I've played loads of d-mods, I'm completely new to dinkc and programming in general. Looking at the tutorials and experimenting has helped me so far, but I have a query (first of many no doubt...)

Am trying to make the charon sprite move... his sequence# is 426 thus I set his base_walk to 420 as the board suggested... I've also played around with speed...I haven't written a script for his animation though, do I have to attach a script for this as well? Or will entering the correct values in his 'properties' in wde be enough? If I have to script it... can it be in the same file as his conversation/reactions to being hit etc... ?

Any help would be greatly appreciated, and please, don't resort to too much jargon or I'll have no hope of understanding!
January 12th 2006, 01:32 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
Charon doesn't have the correct sprites for a base_walk. So you can't give it a base_walk. (unless you want it to look terrible, or make the other sprites yourself)

You don't have to write a script for animation, the dinkengine will take care of that, remember that next to having speed and a base_walk, your person should also have a brain.
January 12th 2006, 08:45 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Well, no. I believe you can give a brain 0 sprite a base_walk and a speed, and it'll still play the correct animations (if present, of course).
January 12th 2006, 09:30 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
Oh, nice to know, I thought that it was neccessary... Then again I never tried to give something a base_walk that hadn't got a brain.
January 12th 2006, 10:40 AM
pq_water.gif
So... if I don't have to give it a base-walk... do I set it to 0 or leave it as -1... cause at present he isn't doing anything... and I'd rather like him to be rowing!
January 12th 2006, 12:16 PM
spike.gif
Set his brain to 6 (sp_brain(&current_sprite, 6); ) when you want him to row, and to 0 when you want him to stop rowing.