The Dink Network

script names

September 16th 2010, 02:08 PM
burntree.gif
hell7fire1
Peasant He/Him Botswana
It's like that. 
do these have to be special
September 16th 2010, 05:19 PM
wizardb.gif
Kyle
Peasant He/Him Belgium
 
They can be anything, but I tend to keep them short. Only scripts related to special events are in need of special naming, such as the keybind scripts and scripts like the start up screen, what happens when Dink dies, etc... If you're in urgent need of any of these, we can explain further
September 16th 2010, 05:36 PM
burntree.gif
hell7fire1
Peasant He/Him Botswana
It's like that. 
no its ok
September 17th 2010, 01:42 AM
custom_fish.png
SabreTrout
Noble He/Him United Kingdom
Tigertigertiger. 
Try and keep a system; it really helps when you (inevitably) go back to fix things later.

For example, in CC3 there is a town called Cliffsberg. All the scripts are named CB-xxx. CB-shop, CB-guard1, etc. There is also a town called Mossvale. Here, all the scripts are named MV-xxx.

It's by far the best way keeping tabs on your scripts, if you ask me.
September 17th 2010, 03:30 AM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
Well, there are a couple of requirements to script names. Firstly they must be saved in windows somehow so you can't use characters like " : \ / | * < > or ?

Secondly there's a limit to the length of the name of a script, if you only call a script from the map file there's a maximum of 13 characters I believe. If you call a script from another script there is a maximum of 9 characters. If you're not sure whether or not your script is going to be called from a script or if you don't understand what I am talking about... Just stick to a maximum length of 9 characters.

Thirdly, if you have a rather large DMOD (a large romp or larger) I'd recommend having a naming system like Sabretrout proposes. For small DMODs the advantage is negligible.

September 17th 2010, 11:27 AM
burntree.gif
hell7fire1
Peasant He/Him Botswana
It's like that. 
ok
now i get it
September 20th 2010, 06:33 AM
duckdie.gif
You can name them anything, but keep them ordered for best results, like 'girl1', 'girl2' , 'sign 1' 'sign 2' etc