The Dink Network

I cant change Dinks stats in my D-Mod!!!

October 3rd 2004, 07:11 PM
pq_skull.gif
I cant change Dinks stats in my D-Mod cuz I dont know how to! If you know please tell me!
October 3rd 2004, 07:27 PM
custom_carrie2004.gif
carrie2004
Peasant She/Her Canada
*chomp* 
Do you mean the stats dink starts out with?
If so,you need to edit in the'Start-1.c' file.
October 3rd 2004, 08:05 PM
pq_frog.gif
Ric
Peasant They/Them Canada
 
They run on global variables.If any script changes the variable the stat gets updated with it.eg;
&exp =+ 100;// raise experience 100.
&strength -= 1; // lowers dinks strength by 1.
when Dink picks up some gold the script attached to the gold has a line something like;
void touch()
{
&gold += 200;
//now something to kill the sprite...
sp_active(&current_sprite,0);
}
The variables that do this are all initiated in the 'main.c' script in any dmods story folder.
October 4th 2004, 08:15 AM
pq_skull.gif
ok thanks!