The Dink Network

Rudiments of Scripting (The)

A 40-page tutorial focused on the basics of scripting. Also includes a T-Mod with examples from the tutorial.

Version 1.1
This is a general update; on the document, the scripts, and the annotations.
The T-mod is completely new.
Released:October 26th, 2002
File Size:153.06 KB
Release Notes:v1.1
August 27th, 2003
Score : 9.5 exceptional
Peasant Male Australia
This is probably the best file for the new DMOD author to look at. Especially if they have never learnt any programming language - mainly because it was written by someone who had never learnt how to program before learning DinkC.

It assumes you know how to setup a DMOD (ie unzip and then open the DinkEdit program to access the map).

It starts out slow and covers the basic areas, and as the name implies it covers the rudiments only and (as far as I can see) covers them well.

I've only got a few minor crictisms for this file, and then huge amounts of praise.

The use of indenting is not adhered to. Why, I'm not sure... but indenting commands/lines makes scripts easier to read.

Using the // (comments) at the top of each file is a very handy habit to get into, so start doing it right at the beginning. A number of handy programs that you can use in making a DMOD can use/access this line (which should appear at the top of each script) and display it in a file browsing window. It helps sort the scripts as well as find old scripts - at least for me.

As for the praise... this is just what the "I wanna make a DMOD but don't know how..." people need after they've got hold of

Read this and you will be up and running with the basics in no time.