The Dink Network

starting

September 3rd 2004, 09:43 AM
dragon.gif
im comming along with my first d-mod but as usually i dont know a thing that is very important like making a starting positon, how do i make dink to start where i want him to start? and on the same way i can ask how to install new graphics to my d-mods
September 3rd 2004, 09:48 AM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
Every Dinker has this problem when they are new but, there is a bunch of tutorials out there that might help you a lil bit, First of all you should read christiaan tutorial

Then you should download The ruidiments of scripting

These will help you much on your way and dont forget to read the dinkc file that contains in the original dink, Good luck
September 3rd 2004, 09:53 AM
dragon.gif
in the tutorial it says i shall write down something, what shall i write down?
September 3rd 2004, 09:59 AM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
First fo all you need to learn how to script and that is the toturial The ruidiments of scripting for, but i can tell you somteting though . in the script named start-01 you should se after &player_map = 400; change the value 400 to where dink should show up, you got to write what tile dink are going to start in.
September 3rd 2004, 10:08 AM
spike.gif
There are the X and Y coordinates that show in the bottom of the screen when you are in the editor. You can't know them exactly without going to the editor and propably can't remember them unless you write them down. methinks that's what the tutorial points to. (though I've never read it)

The
sp_x(1, <the X coordinate for Dink here> ) ;
and
sp_y(1, <the Y coordinate for Dink here> ) ;
commands change Dink's coordinates. You can do that on any other sprite too.
September 3rd 2004, 10:33 AM
dragon.gif
i still dont really understand what this means... because in the tutorial i cant see anything with this to do
September 3rd 2004, 10:45 AM
spike.gif
You don't?? Bah, the sp_x(1, -1); and sp_y(1, -1); commands change Dink's coordinates on the screen.

To change the map he starts in, change the value of the &player_map global in main.c to whatever you'd like. Preferably the number of the screen you want Dink to start in.

When changing the player map later in the game, do this:
&player_map = <map number here>;
load_screen();
draw_screen();

As for installing graphics....ahh...surely there is a tutorial about that?? It'd take a little too long for a lazy guy like me to try to explain that.
September 3rd 2004, 10:22 PM
dragon.gif
oh now i understand! thanks for the help everybody!
September 4th 2004, 02:25 AM
milder.gif
Kory
Peasant He/Him Croatia
 
No problem!
September 4th 2004, 02:29 AM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
Hey Kory you didnt do anything you just want the honour
September 4th 2004, 02:29 AM
milder.gif
Kory
Peasant He/Him Croatia
 
He said EVERYBODY, lol
September 4th 2004, 06:00 PM
spike.gif
VaultDweller
Peasant He/Him United States
Wanderer of the Wasteland 
Way to go sharing the credit Kory!

Sincerely,
The Vault Dweller