The Dink Network

Animation screw-up

January 5th 2006, 04:56 PM
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
I was just adding some new graphics to de dink.ini, it is a brain 10 (vertical and horizontal direction) wurm, kinda like the pillbug, no attack sequence, just walking. Now, I typed the following in the dink.ini:

//wurm walking

load_sequence graphics\foes\wurm\w01w2- 851 75 106 120 -41 -18 41 18
load_sequence graphics\foes\wurm\w01w4- 853 75 103 113 -38 -18 38 18
load_sequence graphics\foes\wurm\w01w6- 855 75 116 111 -38 -18 38 18
load_sequence graphics\foes\wurm\w01w8- 857 75 105 100 -43 -18 43 18

And this is in the script:

void main( void )
{
sp_brain(&current_sprite, 10);
sp_speed(&current_sprite, 1);
sp_exp(&current_sprite, 3);
sp_base_walk(&current_sprite, 850);
sp_touch_damage(&current_sprite, 2);
sp_hitpoints(&current_sprite, 7);
preload_seq(851);
preload_seq(853);
preload_seq(855);
preload_seq(857);

if (random(2,1) == 1)
{
sp_target(&current_sprite, 1);
}
}

Now for the problem: The wurm walks, but when it walks, let's say, up, it shows the animation for walking to the left (for example, there is no fast pattern in here as far as I can tell).

Can anyone spot what I've done wrong?
January 5th 2006, 05:06 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Dude, you've been out of it for a while, haven't you?

Basewalk = 850
Basewalk + dir = sequence used

851, 853 and 857 are diagonal directions (check numpad), 855 even isn't a direction (I think it's used as default death pic)

Try loading them in 852, 854, 856 and 858
January 5th 2006, 05:10 PM
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
Woops, that is kinda stupid. And yes, I've been out. For ages.

BTW, I'm working like a maniac on Scenia now, I'll send you a fresh version in a couple of days, if you'd like.
January 5th 2006, 05:31 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Yes, please, that'd be neat *evil grin*

Btw, I think we need to remove the Cooltext code, now we have the new engine. At least, I hope it's being designed for 1.08, considering it's not coming out this year.

I'm still not going on MSN until I do a software re-install, with hopes to make my system a lot more stable than it is now (at the moment I'm deciding what files are worthy of backing up, sorting out a few GB isn't fun). You can mail me at my gmail address j.v.eekelen@gmail.com, instead of sending it through MSN. It accepts attachments up to 10MB, so I hope it'll work.
January 5th 2006, 05:56 PM
peasantmg.gif
And .dmods cant get recieved on msn anyway
January 6th 2006, 02:07 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
And as far as I know gmail accepts attachements up to 20 MB. Atleast I tried to send myself an attachement of about 13 MB (so I could use the files both on school and at home) and it worked perfectly...
January 6th 2006, 02:17 AM
bonca.gif
Christiaan
Bard They/Them Netherlands
Lazy bum 
I'm afraid even 20MB is still too little, it weighs about 24MB now.

I'll see what I can do.