dcx:event_library
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dcx:event_library [2016/01/25 13:11] – vic | dcx:event_library [2026/06/22 12:21] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 86: | Line 86: | ||
| In the event editor you do the following. | In the event editor you do the following. | ||
| - | 1. Add a new event. | + | 1. Add a new event. |
| 2. Assign the event to your " | 2. Assign the event to your " | ||
| Line 112: | Line 112: | ||
| 12) | 12) | ||
| 13) ' | 13) ' | ||
| - | 14) | + | 14) |
| 15) | 15) | ||
| - | 16) ' | + | 16) CHECK: CheckUnitOwner(TempVar6) == TempVar1 |
| - | 17) | + | 17) ' |
| - | 18) | + | 18) SETVAR: TempVar7 = CheckRandomPercent |
| - | 19) | + | 19) |
| - | 20) | + | 20) |
| - | 21) | + | 21) |
| - | 22) | + | 22) |
| - | 23) | + | 23) |
| - | 24) | + | 24) |
| - | 25) | + | 25) |
| - | 26) | + | 26) |
| - | 27) | + | 27) |
| - | 28) | + | 28) |
| - | 29) | + | 29) |
| - | 30) | + | 30) |
| - | 31) | + | 31) |
| - | 32) | + | 32) |
| - | 33) | + | 33) |
| - | 34) | + | 34) |
| - | 35) | + | 35) |
| - | 36) | + | 36) |
| - | 37) | + | 37) |
| - | 38) | + | 38) |
| - | 39) | + | 39) |
| - | 40) | + | 40) |
| - | 41) | + | 41) |
| - | 42) | + | 42) |
| - | 43) | + | 43) |
| - | 44) | + | 44) |
| - | 45) | + | 45) |
| - | 46) | + | 46) |
| - | 47) | + | 47) |
| - | 48) | + | 48) |
| - | 49) | + | 49) |
| - | 50) | + | 50) |
| - | 51) | + | 51) |
| - | 52) | + | 52) |
| - | 53) | + | 53) |
| - | 54) | + | 54) |
| - | 55) | + | 55) |
| - | 56) END CHECK | + | 56) |
| - | 57) END CHECK | + | 57) END CHECK |
| - | 58) ' | + | 58) END CHECK |
| - | 59) END LOOPER | + | 59) END CHECK |
| - | 60) ' | + | 60) ' |
| - | 61) | + | 61) END LOOPER |
| - | 62) | + | 62) ' |
| - | 63) END CHECK | + | 63) |
| - | 64) ' | + | 64) |
| - | 65) END CHECK | + | 65) END CHECK |
| + | 66) ' | ||
| + | 67) END CHECK | ||
| </ | </ | ||
| Line 176: | Line 178: | ||
| In the final Step E i am just going to show how it looks like to the end-user when he loads your event library. | In the final Step E i am just going to show how it looks like to the end-user when he loads your event library. | ||
| - | ===Step E: In the Simple Editor=== | + | ===Step E: In the Simple Editor |
| {{: | {{: | ||
| Line 182: | Line 184: | ||
| In the Simple Editor you or an end-user can load your event library and configure it (as shown in the example above) for one or more regimes. | In the Simple Editor you or an end-user can load your event library and configure it (as shown in the example above) for one or more regimes. | ||
| - | Then when in-game | + | Also note that the contents of the library are correctly listed as 4 libvars and 1 event. |
| + | Then finally when in-game when in-game the player will get reports like this one: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | It is important to check if your event libraries work properly before distributing them. | ||
| + | |||
| + | Don't forget to use the description fields for the library itself and its libvars and/or stringlists (tables for end-user). | ||
| + | |||
| + | Thats it! A working and tested library ready for use or sharing with other designers. | ||
| + | |||
| + | ===Tutorial library=== | ||
| + | |||
| + | Here you can download the library created in the tutorial above: | ||
| + | |||
| + | [[http:// | ||
dcx/event_library.1453727498.txt.gz · Last modified: 2026/06/22 12:14 (external edit)
