The CGMT CiG FILES
Release 12.08.1998


Introducion : The CiG implementation will be made in one of the near future releases (i hope this weekend 15th of this month)


The CGMT CiG Files
A short but complet Documentation (I hope)

This files are used to make CGMT compatible with each script.
The problem is that I get every day several emails concerning that CGMT will only work properly with the basic UOX Script or the enhanced Script from the Script team.

I will support each of the scriptwriters, because I know that everyone likes another style.
So I decided to implement this files to make it possible to the user and specially to the scriptwriters to make their scripts CGMT compatible, another reason and a good one is that you as user can modify in this way the menus and put your own script made custom items and npcs inside there :)

Script Makers
I know that this will enhance your work, making an extra file beside the scp file.
But it think its worth it!
You can short time because you don’t need to make itemmenus for UOX!
And if you like them, then make the cig file for all the user which like your script but want to have the comfort of CGMT.

User
This files will help you to use the script that you want and you are able to make your own menu structure for CGMT and add your favorite items in special orders.

Details
The Basic CGMT will come with an CiG file for the basic UOX script / The Script Team.
If you want to use an other script you have to put their CiG file and overwrite the present CiG File.
The CIG files will be made by the corresponding Script Writer / Team.
I will only implement the CiG files for The Script Team, the reason is that I am working very closed with them and I like their work and its a very damned work to fill this file with items. 

There are two files which are actually used by CGMT:

Filename Description
c-items.cig contains the items for the itemcreation menu
c-npcs.cig         contains the npc for the npc creation

FILE C-items.cig

The most important is the first char can writen in up or lower case.

Char Definition
______________________________________________________________
/ comment
T= Title of the Script (use it for your copyright or for the name of your script, this title will be
C= This is the titel of the Class of the menu
S= This is the titel of the subclass of the item
I= This is the name of the item
END end of file!! (very important guys do not forget to put this at the end of you file!!!

You can add after the E several comments but no items or npcs!!!

I=name,xxxx,yyyy

xxxx : Hexvalue of the item (use inside uo for getting the correct number, don’t forget to use the right inside uo version), this is necessary for displaying the thumb graphic of the
item if you don’t know the id or you are to lazy to put it inside the fill it with zeros (i.e. 0000) so cgmt will not display the thumb : (

yyyy: dezimal number of the item inside the script (this is the number which you gave your item) This one must be filled in! :)
if you don't know the id fille this with zeros (i.e. 0000) so cgmt will try to use the hex id to create the numbe.

Important
Remember you are not allowed to use commas , in the name of the item, I use the commas to separate the different fields!!
one of the too id fields (xxxx,yyyy) must have a value if not cgmt will not display this item in the menu!

If CGMT encounters an error inside the script it will generate a file called c-script.cig inside this file you will find the entries which could not be used by CGMT ( I hope this will help you a little bit guys finding bugs).

- Start Example c-items.cig -

CGMT File <-This must be the first line in the CIG FILE, will be use for versioncheck!!!
/ Chaos Game Master Tool
/ www.prodes.org/chaos
/ This is an example

/ CIG file for the-script-team script
/ The Script Team www.prodes.org/the-script-team

T=The Script Team - CiG Release 0.01
/Armor
C=Armor
S=Plate
I=Plate Helm,xxxx,yyyyy
I=Plate Gorget,xxxx,yyyy
/
S=Bone
I=Bone Chestmail,xxxx,yyyy
I=Bone Arms,xxxx,yyyy
/
/ Magic
C= Magic
S=Regeants
I=Bloodmoss,xxxx,yyy
I=Sulfure Ash,xxxx,yyy
S=Regeants Pagan (Evil)
I= Pig Iron,xxxx,yyy
/
END
/This file is really short

- End Example c-items.cig -

I was to lazy to fill the xxxx and yyyy with sensefull entries, its only an example.
The item creation menu inside CGMT will look like this

Class        Subclass    Item

Armor - > Plate          - > Plate Helm
                                - > Plate Gorget
            - >Bone        - > Bone Chestmail
                          - > Bone Arms
Magic    - > Regeants                    - > Bloodmoos  
                                                   - > Sulfure Ash
            - > Regeants Pagan (Evil)  - > Pig Iron


FILE c-npcs.cig

Char Definition
______________________________________________________________
/ comment
T= Title of the Script (use it for your copyright or for the name of your script, this title will be
C= This is the titel of the Class of the npc menu
n= This is the name of the npc
END end of file!! (very important guys do not forget to put this at the end of you file!!!

You can add after the E several comments but no npcs!!!

N=name,yyyy

yyyy: dezimal number of the item inside the script (this is the number which you gave your item) This one must be filled in! :)
if you don't know the id fille this with zeros (i.e. 0000) so cgmt will try to use the hex id to create the numbe.

Important
Remember you are not allowed to use commas , in the name of the item, I use the commas to separate the different fields!!

If CGMT encounters an error inside the script it will generate a file called c-script.cig inside this file you will find the entries which could not be used by CGMT ( I hope this will help you a little bit guys finding bugs).

- Start Example c-npcs.cig -

CGMT File <-This must be the first line in the CIG FILE, will be use for versioncheck!!!
/ Chaos Game Master Tool
/ www.prodes.org/chaos
/ This is an example

/ CIG file for the-script-team script
/ The Script Team www.prodes.org/the-script-team

T=The Script Team - CiG Release 0.01
/
C=Undead
N=Skeleton Knight,yyyy
N=Skeleton Mage,yyyy
/
C=Orc
N=Orc Captain,yyyy
N=Orc Lord,yyyy
/
END
/
/This file is really short

- End Example c-items.cig -

I was to lazy to fill the xxxx and yyyy with sensefull entries, its only an example.
The NPC creation menu inside CGMT will look like this:

Class              N P C

Undead           Skeleton Knight
                     Skeleton Mage          
Orc                 Orc Captain
                     Orc Lord


 More Questions or genius ideas?

Chaos@biogate.com or Chaos@prodes.com


Important URL's

UOX3 Homepage uox.stratics.com
CGMT Site www.prodes.org/chaos
The Script Team www.prodes.org/the-script-team
UOX3.com www.uox3.com
Dragonbyte www.geocities.com/~dragonbytes/uox
Ridcully's Homepage www.aball.de/~truhe



(c) 1998 by Chaos@biogate.com