GDF3 File and Data Specifications for GCA4
Root FileSpec Page |
GCA Site Home | Docs & Help Page |
Commands allow you to instruct GCA to do something to the data being loaded from data files, from within a data file.
Commands always begin a new line, and always begin with a # sign, unless they fall within a command block, in which case the leading # is optional.
Not yet done:
#DeleteCatThe documentation below uses templates to demonstrate the structure of the various #commands. The templates are meant to provide a quick way to see how the commands may be formatted. Trying to do this, however, is not always easy, and we have made some formatting decisions that may take some getting used to. So here's an explanation of how things work.
monospaced font.
#Changes |
|
Description: |
This command designates the beginning of a command block. |
Template: |
|
Detail: |
This command simply tells GCA that all the lines following, until the end of the block, are a part of the command block. |
#Clone |
|
Description: |
This command allows you to clone an existing data file item (one already loaded), creating a new one that shares all the same tag data, but with a different name. |
Template: |
|
Detail: |
The The You may only perform one clone operation per #Clone command. If the target name (the new item being created) already exists, the clone operation will fail. |
Examples: | |
Example: |
This is pretty straight-forward. A skill named Alpha is cloned, creating a skill named Alpha with a name extension of Charlie. |
#Delete |
|
Description: |
This command allows you to delete an item from the list of loaded items. #Delete will have no affect on any items that may be loaded after the command is processed. #Delete will delete only a single item. |
Template: |
|
Detail: |
The You may only perform one delete operation per #Delete command. |
Examples: | |
Example: |
This is pretty straight-forward. A skill named Alpha, with the name extension of Charlie, is deleted. |
#End |
|
Description: |
This command designates the end of a command block. |
Template: |
|
Detail: |
This command simply tells GCA that the command block has ended. |
#MergeTags |
|
Description: |
This command allows you to merge new tag data with that of an existing item. This is a handy way to update items that exist in previously loaded data files, without having to complete redefine the item in the new data file. |
Template: |
|
Detail: |
The The The optional You may perform many different MergeTags operations on a single line, but each must be separated by a comma and use the If the |
Examples: | |
Example: |
This simply inserts the 'home rules' text into the page() tag of the Alpha skill item. |
#ReplaceTags |
|
Description: |
This command allows you to replace an existing item's tag data with new data. This is a handy way to correct or alter items that exist in previously loaded data files, without having to completely redefine them in the new data file. |
Template: |
|
Detail: |
The The The optional You may perform many different ReplaceTags operations on a single line, but each must be separated by a comma and use the If the |
Examples: | |
Example: |
This replaces any existing page() tag data in the Alpha skill item with the 'home rules' data. |