The Dink Network

Reply to Re: start as goblin,slayer .

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
December 26th 2004, 05:49 PM
anon.gif
nucleus3D
Ghost They/Them
 
i opened file en-slay.c from dink/story and i found that

//slayer

void main( void )
{
int &mcounter;
sp_brain(&current_sprite, 9);
sp_speed(&current_sprite, 1);
sp_distance(&current_sprite, 60);
sp_range(&current_sprite, 45);
sp_frame_delay(&current_sprite, 45);
sp_timing(&current_sprite, 0);
sp_exp(&current_sprite, 200);
sp_base_walk(&current_sprite, 640);
//sp_base_death(&current_sprite, 680);
sp_base_attack(&current_sprite, 630);
sp_defense(&current_sprite, 5);
sp_strength(&current_sprite, 20);
sp_touch_damage(&current_sprite, 10);
sp_hitpoints(&current_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(&current_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(&current_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.