The Dink Network

Reply to Re: Pine Tree Script please

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:
 
 
July 26th 2004, 03:20 PM
anon.gif
MiloBones
Ghost They/Them
 
Method 1. If you don't have any trees that do something special when burned, just open the file named dam-fire.c (you can find it in the source) and comment (put // before) the following line:

return;

Then save it into your story folder.

Method two: Try adding some "tree burning" lines as your tree's die() proc. You can probably find these lines in the above mention dam-fire.c. Something like:

void die( void )
{
int &hold = sp_editor_num(&current_sprite);
sp_hard(&current_sprite, 1);//why???
draw_hard_sprite(&current_sprite);
if (&hold != 0)
{
editor_type(&hold, 4);
editor_seq(&hold, 20);
editor_frame(&hold, 29);
}
sp_pseq(&current_sprite, 20);
sp_pframe(&current_sprite, 29);
sp_hard(&current_sprite, 0);
draw_hard_sprite(&current_sprite);
sp_seq(&current_sprite, 20);
playsound(6, 8000,0,&current_sprite,0);
}

Someone else might explain this better or more correctly...