The Dink Network

Reply to Re: Noob Questions

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 18th 2006, 03:43 AM
slayer.gif
I'm going to be nice and tell you the answer straight

Here's the script for the bonca in Dink Smallwood.

void main( void )
{
int &mcounter;
sp_brain(¤t_sprite, 9);
sp_speed(¤t_sprite, 1);
sp_distance(¤t_sprite, 50);
sp_timing(¤t_sprite, 33);
sp_exp(¤t_sprite, 30);
sp_base_walk(¤t_sprite, 530);
sp_base_death(¤t_sprite, 550);
sp_base_attack(¤t_sprite, 540);
sp_defense(¤t_sprite, 3);
sp_strength(¤t_sprite, 8);
sp_touch_damage(¤t_sprite, 4);
sp_hitpoints(¤t_sprite, 20);
preload_seq(531);
preload_seq(533);
preload_seq(537);
preload_seq(539);
preload_seq(551);
preload_seq(553);
preload_seq(557);
preload_seq(559);

preload_seq(542);
preload_seq(544);
preload_seq(546);
preload_seq(548);

}

The only script you REALLY need is written in bold. You just change the number, I found this out in my first steps tinkering with fb3
EDIT: That's the solution to the first trouble only, sorry... Well I'm going to be even nicer and tell you about the second one.

In WinDinkEdit, right-click on the staircase and select Properties. over there, you see the warps section. Check the "hard" box. then onto the warps... choose the x and y coordinates for the location, you can see them in the lower-right corner when moving your mouse over the screen with no windows on, and now to the screen. Just put in the screen selection box and type in the number of that screen. You can see that one by pressing Esc until you see purple and red blocks and moving your mouse over the red block (screen) of your screen. That's it... I'm going to be really nice and tell you about the third one.

Choose your sprite in WinDinkEdit by clicking Properties on it, and give it a script such as:
"man" (Well, I'm not being too creative here... )
Now go to your main D-Mod folder and enter the "story" directory, if you don't have one, create one called "STORY". now while in there, create a C-File called "man"(If you don't know how to create a C-File, copy it from other D-Mod's STORY directory, rename it and empty it from all the content).
Now type in the following:

void talk( void )
{
freeze(1)
say_stop("Dddduuuuuuuuuuuhhhhhhhhhhhhhh", &current_sprite);
unfreeze(1)
}

void hit( void )
{
freeze(1)
say_stop("Dddduuuuuuuuuuuuuhhhhhhhhhhhh", &current_sprite);
unfreeze(1)
}

Replace the dddduuuuuuuuuuuuuhhhhhhhhhhhhs with what the person and Dink say. To make Dink say something, just add this right under the line:

wait(200)
say_stop("Dddduuuuuuuuuuuhhhhhhhhhhhhhh", 1);

Like this:

void talk( void )
{
freeze(1)
say_stop("Dddduuuuuuuuuuuhhhhhhhhhhhhhh", &current_sprite);
wait(200)
say_stop("Dddduuuuuuuuuuuhhhhhhhhhhhhhh", 1);
unfreeze(1)
}

Save these changes. Go to Dink. It should work.
I'm too lazy about the rest...