The Dink Network

Rudiments of Scripting (The)

August 27th, 2003
v1.1
Score : 9.5 exceptional
custom_simon.gif
SimonK
Peasant He/Him 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 skeleton_b.zip 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 skeleton_b.zip.

Read this and you will be up and running with the basics in no time.
July 9th, 2002
v1.1
Score : 9.0 exceptional
wizardb.gif
Kyle
Peasant He/Him Belgium
 
When I first saw the post about this file I thought, wow, 40 pages of scripting lessons! That must cover almost everything! When I noticed, after downloading, that it only covered a few aspects I was stunned. This tutorial could be titled : DinkC for dummies.

Even people with an IQ value of 20 can learn how to script the basics with this file (no guaranties though). The detail put into talk sequences is amazing and it can really help the beginners out. For more advanced scripters it can be a bit annoying to read through and perhaps even useless. Of course, it was meant for newbies, so it has reached its goal.

There are a LOT of script files included in the package and they serve their example purpose well.

I hope the author will take the time to go into more advanced stuff in the same way. If so, I predict there will be more d-mod authors in only little time (no guaranties here either).

To all of you who're still doubting whether to download this file or not, it's only 193 kb, which means even 28k modem users don't have a reason not to. What's more, there's no waiting at Fileplanet for Dink related stuff (again, no guaranties).
I suggest, if you've downloaded it (you should have by now) reading through the first 5-10 pages, since the entire document reads the ame way. If you like the way it's written, read on, if not close it.
June 3rd, 2008
v1.1
Score : 9.9 exceptional
peasantmg.gif
TacoVendor
Peasant He/Him United States
Get more for the peso you pay 
This is gold. It covered everything I needed. Now Im a novice instead of a noob.
Thank you!
March 24th, 2007
v1.1
Score : 9.8 exceptional
dinkdead.gif
Volcom
Peasant He/Him
 
This was the biggest help in scripting that I'v got.
40 pages worth of help in a txt file, what more could you ask for??

Starts out with some basic stuff, like one of the first things if covers is how to make a sign say something.
Explains everything in very good detail, such as void talk(void) for authors just starting out and do not know how to do anything (Such as me). Tells you how to save a script, were to put it, how to get dink to say something, how to get a sprite to say something, how to get Dink to say something, then get the sprite to say something back, teachs The Freeze and unfreeze procedure, make a sprite say something when getting hit, make a sprite say something when getting hit, then get Dink to say something back, how to combine procedures, Learn how to Make Dink and a Sprite have a conversation, How to have dink ask multiple questions, Have dink do or say something when entering a part of the map, learn the move_stop procedure, learn the sp dir procedure, learn Global and Local Variables, How to add items, weapons, and magic to the inventory, Learn the Fade procedure, and learn the vision procedure.

So in short, learn the basics of DinkC to a tee.
Out of the 40 pages of this txt file, I took 35 pages of notes. I found it very helpful, it covers everything with great detail.

I give it a 9.8, For covering all the basics of Scripting and more

~Jake~

April 17th, 2004
v1.1
Score : 9.4 exceptional
fairy.gif
glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
.:the ruidements of scripting:.

This file is very good, the only command i could in my head was the talk command and after i read this file all the basic things just were banged into my head its like magic. this file contains the talk command and the choice command and the if story command and the vision change command.
all these tings are very usefull i the dinkc scripting and all of it was good explaineed. and if you are a total newbie of dinkc scripting i suggest that you download this file it would help you alot.

November 8th, 2002
v1.1
Score : 8.0 good
goblinm.gif
trav666
Peasant He/Him
 
This is a great tutorial for beginner programmers. I literally had NO programming experience, but after I studied this, I could do a lot of the basic commands, but it didnt cover the really need to know commands to make a dmod that looked professional. It could have expanded a little bit more in some areas, like the dinkc math, and global variables, because those are very important, and must be explained the fullest. One really good thing about this tutorial is that it showed how to put it all together, and what a script is composed of. I dont think the author put in enough time to see what he was doing, like repeating commands over and over and over again. He would usually explain the talk command like 10 times in a couple of pages, and he would make scripts in the tutorial that had commands that had already been covered earlier. If this were updated and made less repetitive, it would have been a lot better tutorial for beginner programmers.

Nice dinkC for dummies tutorial - 8.0
November 6th, 2002
v1.1
Score : 9.0 exceptional
pq_skard.gif
I am one of the people this type of file is designed for. That is, I am learning how to make DMODs for people to play. I found this file EXTREMELY useful. It was a little windy in some places and seemed to repeat a few points, which is a reason I didn't give it a 10. It is in MS Word format so I could easily copy & paste the parts I needed into a separate document and print it. Very cool! I'm glad people take their personal time to help others learn what they know. I noticed a few grammatical errors, but it in no way interfered with the teaching so it was no big deal.

If you're wanting to learn about scripting a DMOD, get this file! Whether you know anything about C++ or not, this file will get you on the road to scripting some cool stuff. These well-explained examples and your imagination will make it work for you.