Reply to Re: spinning bonca
If you don't have an account, just leave the password field blank.
Neither will work, though the first is the correct one. you need to edit item-fst.c and edit the value of &basehit there. propably what you want is something like this:
//item fists
void use( void )
{
//disallow diagonal punches
if (sp_dir(1, -1) == 1) sp_dir(1, 2);
if (sp_dir(1, -1) == 3) sp_dir(1, 2);
if (sp_dir(1, -1) == 7) sp_dir(1, 8);
if (sp_dir(1, -1) == 9) sp_dir(1, 8);
&basehit = sp_dir(1, -1);
if (&story > 3)
{
&basehit += 710;
} else
{
&basehit += 100; //100 is the 'base' for the hit animations, we just add
//the direction
}
sp_seq(1, &basehit);
sp_frame(1, 1); //reset seq to 1st frame
sp_kill_wait(1); //make sure dink will punch right away
sp_nocontrol(1, 1); //dink can't move until anim is done!
wait(1);
playsound(8, 8000,0,0,0);
}
//item fists
void use( void )
{
//disallow diagonal punches
if (sp_dir(1, -1) == 1) sp_dir(1, 2);
if (sp_dir(1, -1) == 3) sp_dir(1, 2);
if (sp_dir(1, -1) == 7) sp_dir(1, 8);
if (sp_dir(1, -1) == 9) sp_dir(1, 8);
&basehit = sp_dir(1, -1);
if (&story > 3)
{
&basehit += 710;
} else
{
&basehit += 100; //100 is the 'base' for the hit animations, we just add
//the direction
}
sp_seq(1, &basehit);
sp_frame(1, 1); //reset seq to 1st frame
sp_kill_wait(1); //make sure dink will punch right away
sp_nocontrol(1, 1); //dink can't move until anim is done!
wait(1);
playsound(8, 8000,0,0,0);
}