v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Difference between revisions of "v0.31:Creature variation token"
Jump to navigation
Jump to search
m (Added to Modding and Token categories.) |
(document them) |
||
Line 1: | Line 1: | ||
+ | Creature variations are used to create creatures which are derived from another already-existing creature without having to duplicate every single token. They are defined as CREATURE_VARIATION objects, and the default variations are defined in c_variation_default.txt | ||
+ | |||
{| {{prettytable}} | {| {{prettytable}} | ||
|- bgcolor="#999999" | |- bgcolor="#999999" | ||
Line 4: | Line 6: | ||
! Arguments | ! Arguments | ||
! Description | ! Description | ||
− | |||
|- | |- | ||
− | | | + | | CV_NEW_TAG |
− | | | + | | |
− | | | + | *token (plus any additional parameters) |
+ | | Adds a new token to the creature's variant. | ||
|- | |- | ||
| CV_ADD_TAG | | CV_ADD_TAG | ||
− | | | + | | |
− | + | *token | |
− | + | | Alias for CV_NEW_TAG | |
− | |||
− | |||
− | |||
− | | | ||
|- | |- | ||
| CV_REMOVE_TAG | | CV_REMOVE_TAG | ||
− | | | + | | |
− | | | + | *token |
+ | | Removes a token from the creature's variant. | ||
|- | |- | ||
− | | | + | | CV_CONVERT_TAG |
− | | | + | | |
− | | | + | | Begins altering tokens within the creature's variant using the CVCT_MASTER, CVCT_TARGET, and CVCT_REPLACEMENT tokens below. |
|- | |- | ||
| CVCT_MASTER | | CVCT_MASTER | ||
− | | | + | | |
− | | | + | *token |
+ | | Specifies the token that will be modified. | ||
|- | |- | ||
− | | | + | | CVCT_TARGET |
− | | | + | | |
− | | | + | *value |
+ | | Locates the specified parameter within the token specified by CVCT_MASTER. | ||
|- | |- | ||
− | | | + | | CVCT_REPLACEMENT |
− | | | + | | |
− | | | + | *value |
− | + | | Replaces the parameter specified by CVCT_TARGET within the token specified by CVCT_MASTER. | |
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
{{Category|Modding}} | {{Category|Modding}} | ||
{{Category|Tokens}} | {{Category|Tokens}} |
Revision as of 21:28, 1 March 2011
Creature variations are used to create creatures which are derived from another already-existing creature without having to duplicate every single token. They are defined as CREATURE_VARIATION objects, and the default variations are defined in c_variation_default.txt
Token | Arguments | Description |
---|---|---|
CV_NEW_TAG |
|
Adds a new token to the creature's variant. |
CV_ADD_TAG |
|
Alias for CV_NEW_TAG |
CV_REMOVE_TAG |
|
Removes a token from the creature's variant. |
CV_CONVERT_TAG | Begins altering tokens within the creature's variant using the CVCT_MASTER, CVCT_TARGET, and CVCT_REPLACEMENT tokens below. | |
CVCT_MASTER |
|
Specifies the token that will be modified. |
CVCT_TARGET |
|
Locates the specified parameter within the token specified by CVCT_MASTER. |
CVCT_REPLACEMENT |
|
Replaces the parameter specified by CVCT_TARGET within the token specified by CVCT_MASTER. |