Animation screw-up
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(¤t_sprite, 10);
sp_speed(¤t_sprite, 1);
sp_exp(¤t_sprite, 3);
sp_base_walk(¤t_sprite, 850);
sp_touch_damage(¤t_sprite, 2);
sp_hitpoints(¤t_sprite, 7);
preload_seq(851);
preload_seq(853);
preload_seq(855);
preload_seq(857);
if (random(2,1) == 1)
{
sp_target(¤t_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?
//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(¤t_sprite, 10);
sp_speed(¤t_sprite, 1);
sp_exp(¤t_sprite, 3);
sp_base_walk(¤t_sprite, 850);
sp_touch_damage(¤t_sprite, 2);
sp_hitpoints(¤t_sprite, 7);
preload_seq(851);
preload_seq(853);
preload_seq(855);
preload_seq(857);
if (random(2,1) == 1)
{
sp_target(¤t_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?
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
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
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.
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.
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.
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.
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...
I'm afraid even 20MB is still too little, it weighs about 24MB now.
I'll see what I can do.

I'll see what I can do.