War3map.wct
From Source Peek Wiki
int: file version (0) int: number "n" of triggers "n" times a custom text trigger structure* Note: Custom text trigger structures are defined using the same order as triggers they belong to in the WTG. Each trigger must have its custom text part, even if it has not been converted to a custom text trigger; in this case, the custom text size is set to 0 (only 4 bytes for the size int).
- Custom Text Trigger Structure:
int: size "s" of the text (including the null terminating char) String: custom text trigger string (contains "s chars including the null terminating char)
NEW "Frozen Throne expansion pack beta" format (thanks Ziutek): int: file version: 1 String: custom script code comment 1 time a custom text trigger structure* int: number "n" of triggers "n" times a custom text trigger structure* Note: Custom text trigger structures are defined using the same order as triggers they belong to in the WTG. Each trigger must have its custom text part, even if it has not been converted to a custom text trigger; in this case, the custom text size is set to 0 (only 4 bytes for the size int).
- Custom Text Trigger Structure:
int: size "s" of the text (including the null terminating char) String: custom text trigger string (contains "s chars including the null terminating char)
Credits
Help from BlackDick
