root/trunk/src/bindings/scripts/docs/Script Layout.txt @ 2

Revision 2, 1.3 kB (checked in by yumileroy, 17 years ago)

[svn] * Proper SVN structure

Original author: Neo2003
Date: 2008-10-02 16:23:55-05:00

Line 
1--- Script Layout ---
2A quick explination of the layout I hope everyone will follow for scriptdev2.
3
4--- Sub Folders ---
5
6Area - Contains scripts used solely by area triggers
7
8Boss - Boss scripts for bosses that are not zone specific
9
10Mob - Generic Creature scripts for creatures that are not zone specific
11
12Custom - Intentionally empty folder from SVN. If you make a custom script please put it here.
13
14GO - Contains scripts used solely by Game Objects (GOs) that do not have a specific zone
15
16Guard - Scripts for Guard NPCs
17
18Honor - Honor npcs (currently a blank script as these npcs do nothing special)
19
20Item - Item scripts
21
22NPC - Scripts for individual NPCs who do not have a specific zone
23
24Servers - Generic NPC servers script for things such as flightmasters and guildmasters.
25
26Zone - ALL zone specific scripts should be written within these folders. This includes creature scripts, boss scripts, go scripts, area scripts, and npc scripts.
27
28--- Naming Conventions ---
29
30Please keep file names to "type_objectname.cpp" where type is replaced by the type of object and objectname is replaced by the name of the object, creature, item, or area that this script will be used by.
31
32AddSC functions should follow "void AddSC_creaturename(void);" format. Do not append AI or anything else.
Note: See TracBrowser for help on using the browser.