Reply to Re: start as goblin,slayer .
If you don't have an account, just leave the password field blank.
December 26th 2004, 05:49 PM

nucleus3D


i opened file en-slay.c from dink/story and i found that
//slayer
void main( void )
{
int &mcounter;
sp_brain(¤t_sprite, 9);
sp_speed(¤t_sprite, 1);
sp_distance(¤t_sprite, 60);
sp_range(¤t_sprite, 45);
sp_frame_delay(¤t_sprite, 45);
sp_timing(¤t_sprite, 0);
sp_exp(¤t_sprite, 200);
sp_base_walk(¤t_sprite, 640);
//sp_base_death(¤t_sprite, 680);
sp_base_attack(¤t_sprite, 630);
sp_defense(¤t_sprite, 5);
sp_strength(¤t_sprite, 20);
sp_touch_damage(¤t_sprite, 10);
sp_hitpoints(¤t_sprite, 100);
then i opened file start-1.c values from file are
//for start button
void main( void )
{
int &crap;
}
void buttonon( void )
{
sp_pframe(¤t_sprite, 2);
Playsound(20,22050,0,0,0);
&crap = create_sprite(204, 86, 0, 199, 1);
sp_reverse(&crap, 0);
sp_noclip(&crap, 1);
sp_seq(&crap, 199);
}
void buttonoff( void )
{
sp_pframe(¤t_sprite, 1);
Playsound(21,22050,0,0,0);
sp_reverse(&crap, 1);
sp_seq(&crap, 199);
sp_brain(&crap, 7);
}
void click ( void )
{
//lets start a new game
Say_xy("`%Creating new game...", 0, 390);
wait(1);
sp_x(1, 334);
sp_y(1, 161);
sp_base_walk(1, 640);
sp_base_attack(1, 630);
set_mode(2); //turn game on
reset_timer();
sp_dir(1, 4);
sp_brain(1, 1);
sp_que(1, 0);
sp_noclip(1, 0);
//lets give him fists to start out with
add_item("item-fst",438, 1);
&cur_weapon = 1;
//arm them for him too
// initfont("SWEDISH");
arm_weapon();
//need this too
kill_this_task();
} i have questions, i coped few things from slayer to start-1.c so maybe it work, and i get slayer sprite. i played once as seth, guardians of castle, mother smallwood. but i played also lora story, and found an ally, i guess, what happen if i change files ( i copy all from en-slayer.c to start-1.c and i save them and place on correct dirs, game start or crash? if crash, then how to change sprites., slayer have 640 and 640 but i need know more cause if i try attack whats target they may change to dink again ( that happen to me once when i played lora and i found bow , when i fired lora changed to dink. i dont want get this accident again i just need sprites information/data to put them on start-1.
//slayer
void main( void )
{
int &mcounter;
sp_brain(¤t_sprite, 9);
sp_speed(¤t_sprite, 1);
sp_distance(¤t_sprite, 60);
sp_range(¤t_sprite, 45);
sp_frame_delay(¤t_sprite, 45);
sp_timing(¤t_sprite, 0);
sp_exp(¤t_sprite, 200);
sp_base_walk(¤t_sprite, 640);
//sp_base_death(¤t_sprite, 680);
sp_base_attack(¤t_sprite, 630);
sp_defense(¤t_sprite, 5);
sp_strength(¤t_sprite, 20);
sp_touch_damage(¤t_sprite, 10);
sp_hitpoints(¤t_sprite, 100);
then i opened file start-1.c values from file are
//for start button
void main( void )
{
int &crap;
}
void buttonon( void )
{
sp_pframe(¤t_sprite, 2);
Playsound(20,22050,0,0,0);
&crap = create_sprite(204, 86, 0, 199, 1);
sp_reverse(&crap, 0);
sp_noclip(&crap, 1);
sp_seq(&crap, 199);
}
void buttonoff( void )
{
sp_pframe(¤t_sprite, 1);
Playsound(21,22050,0,0,0);
sp_reverse(&crap, 1);
sp_seq(&crap, 199);
sp_brain(&crap, 7);
}
void click ( void )
{
//lets start a new game
Say_xy("`%Creating new game...", 0, 390);
wait(1);
sp_x(1, 334);
sp_y(1, 161);
sp_base_walk(1, 640);
sp_base_attack(1, 630);
set_mode(2); //turn game on
reset_timer();
sp_dir(1, 4);
sp_brain(1, 1);
sp_que(1, 0);
sp_noclip(1, 0);
//lets give him fists to start out with
add_item("item-fst",438, 1);
&cur_weapon = 1;
//arm them for him too
// initfont("SWEDISH");
arm_weapon();
//need this too
kill_this_task();
} i have questions, i coped few things from slayer to start-1.c so maybe it work, and i get slayer sprite. i played once as seth, guardians of castle, mother smallwood. but i played also lora story, and found an ally, i guess, what happen if i change files ( i copy all from en-slayer.c to start-1.c and i save them and place on correct dirs, game start or crash? if crash, then how to change sprites., slayer have 640 and 640 but i need know more cause if i try attack whats target they may change to dink again ( that happen to me once when i played lora and i found bow , when i fired lora changed to dink. i dont want get this accident again i just need sprites information/data to put them on start-1.