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.
Editing Interaction examples
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
{{av}} | {{av}} | ||
− | This page was created to aid those curious about the | + | This page was created to aid those curious about the interaction process by providing example interactions for them to use or study. Those familiar with interaction raws should feel free to add helpful/obscure information to the lists below to help members of the community less experienced with interactions. |
==General Tips== | ==General Tips== | ||
===Synchronizing Adventure and Fort Mode syndrome timers=== | ===Synchronizing Adventure and Fort Mode syndrome timers=== | ||
− | Fort mode runs | + | Fort mode runs 72 times faster than Adventure mode - which means that a syndrome that lasts a single tick in Fort Mode will last 72 ticks in Adventure Mode. For short-term syndromes, this will cause very different behaviors between the two modes. In order to ensure that a syndrome operates the same way regardless of mode, add DWF_STRETCH:72 to the end of the CE effect tag. |
− | It is not possible to make a syndrome that lasts shorter than | + | It is not possible to make a syndrome that lasts shorter than 72 ticks in Adventure Mode. |
===Syndromes with no effect=== | ===Syndromes with no effect=== | ||
Line 15: | Line 14: | ||
Some examples: | Some examples: | ||
{{gamedata|title="Dummy" syndrome tags| | {{gamedata|title="Dummy" syndrome tags| | ||
− | [CE_SPEED_CHANGE:SPEED_PERC:100:START:0:END:1:DWF_STRETCH: | + | [CE_SPEED_CHANGE:SPEED_PERC:100:START:0:END:1:DWF_STRETCH:72] <-- Makes the target move at 100% of its current speed |
− | [CE_SKILL_ROLL_ADJUST:PERC:100:PERC_ON:0:START:0:END:1:DWF_STRETCH: | + | [CE_SKILL_ROLL_ADJUST:PERC:100:PERC_ON:0:START:0:END:1:DWF_STRETCH:72] <-- Multiplies the target's skill by 100%, 0% of the time |
− | [CE_MATERIAL_FORCE_MULTIPLIER:PROB:100:MAT_MULT:NONE:NONE:1:1:START:0:END:1:DWF_STRETCH: | + | [CE_MATERIAL_FORCE_MULTIPLIER:PROB:100:MAT_MULT:NONE:NONE:1:1:START:0:END:1:DWF_STRETCH:72] <-- Makes the target take 1/1 times its normal damage from attacks |
}} | }} | ||
Line 143: | Line 142: | ||
Material emissions used in this format are affected by [IT_CANNOT_HAVE_SYNDROME_CLASS:X] tags (given above as the custom tag NO_EMISSION). This allows a modder to create immunity syndromes, disallowing a creature using the emission interaction from targeting the creature with immunity. | Material emissions used in this format are affected by [IT_CANNOT_HAVE_SYNDROME_CLASS:X] tags (given above as the custom tag NO_EMISSION). This allows a modder to create immunity syndromes, disallowing a creature using the emission interaction from targeting the creature with immunity. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Multi-Stage Interactions== | ==Multi-Stage Interactions== | ||
Line 237: | Line 166: | ||
[SYN_NAME:counting down] | [SYN_NAME:counting down] | ||
[SYN_CLASS:EXPLOSION_READY_1] | [SYN_CLASS:EXPLOSION_READY_1] | ||
− | [CE_CAN_DO_INTERACTION:START:10:END:11:DWF_STRETCH: | + | [CE_CAN_DO_INTERACTION:START:10:END:11:DWF_STRETCH:72] <--The START affects the amount of time spent in combat before the explosion can occur. |
[CDI:ADV_NAME:Draw Energy] | [CDI:ADV_NAME:Draw Energy] | ||
[CDI:USAGE_HINT:DEFEND] | [CDI:USAGE_HINT:DEFEND] | ||
Line 257: | Line 186: | ||
[SYN_NAME:ready to explode] | [SYN_NAME:ready to explode] | ||
[SYN_CLASS:EXPLOSION_READY_2] | [SYN_CLASS:EXPLOSION_READY_2] | ||
− | [CE_FLASH_TILE:TILE:33:4:0:0:FREQUENCY:32:16:START:0:END:2:DWF_STRETCH: | + | [CE_FLASH_TILE:TILE:33:4:0:0:FREQUENCY:32:16:START:0:END:2:DWF_STRETCH:72] <-- Flash as a warning |
− | [CE_SPEED_CHANGE:SPEED_PERC:50:START:0:END:2:DWF_STRETCH: | + | [CE_SPEED_CHANGE:SPEED_PERC:50:START:0:END:2:DWF_STRETCH:72] |
− | [CE_CAN_DO_INTERACTION:START:1:END:2:DWF_STRETCH: | + | [CE_CAN_DO_INTERACTION:START:1:END:2:DWF_STRETCH:72] <-- The AI will use this and then immediately explode, provided it is still in combat and not affected by EXPLOSION_OVERRIDE. |
[CDI:ADV_NAME:Remove safeties] | [CDI:ADV_NAME:Remove safeties] | ||
[CDI:USAGE_HINT:DEFEND] | [CDI:USAGE_HINT:DEFEND] | ||
Line 278: | Line 207: | ||
[SYN_NAME:about to explode] | [SYN_NAME:about to explode] | ||
[SYN_CLASS:EXPLOSION_READY_3] | [SYN_CLASS:EXPLOSION_READY_3] | ||
− | [CE_FLASH_TILE:TILE:33:4:0:0:FREQUENCY:32:16:START:0:END:2:DWF_STRETCH: | + | [CE_FLASH_TILE:TILE:33:4:0:0:FREQUENCY:32:16:START:0:END:2:DWF_STRETCH:72] |
− | [CE_CAN_DO_INTERACTION:START:0:END:1:DWF_STRETCH: | + | [CE_CAN_DO_INTERACTION:START:0:END:1:DWF_STRETCH:72] |
[CDI:ADV_NAME:Explode] | [CDI:ADV_NAME:Explode] | ||
[CDI:USAGE_HINT:ATTACK] | [CDI:USAGE_HINT:ATTACK] | ||
Line 302: | Line 231: | ||
[SYN_NAME:unable to explode] | [SYN_NAME:unable to explode] | ||
[SYN_CLASS:EXPLOSION_OVERRIDE] | [SYN_CLASS:EXPLOSION_OVERRIDE] | ||
− | [CE_SPEED_CHANGE:SPEED_PERC:100:START:0:END:2:DWF_STRETCH: | + | [CE_SPEED_CHANGE:SPEED_PERC:100:START:0:END:2:DWF_STRETCH:72] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</nowiki> | </nowiki> | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Category|Modding}} | {{Category|Modding}} | ||
− |