byPublished on November 29, 2003 16:32
SLIC2 scripting language
SLIC2 is a C-like language that "moves" many things behind CTP2. By Activision * Go
This is a complete listing of SLIC2 events. By Activision * Go
SLIC2 Function Reference
Reference of the SLIC2 Functions. By Activision * Go
SLIC2 Built-in variable types
There is one builtin "variable" and a number of builtin variable arrays available in SLIC2. This document contains a complete reference of the data that can be extracted from these types. By Activision * Go
byPublished on November 18, 2010 21:14
This is a complete listing of events. Some of these are not safe to use from SLIC. A few are just plain obsolete and do not do anything useful. Events with arguments prefaced by GEA_ cannot be generated from SLIC, but can be triggered on.
...byPublished on November 18, 2010 21:29
Following is an alphabetical list of every function available for use in SLIC scripts in Call to Power II.
Causes the current message to not be displayed. The code following an Abort() is still executed, however. Example:
//No message will appear when 'Msgbox' is called, and the player will receive 100 gold.
...byPublished on November 17, 2010 21:57
There is one builtin "variable" and a number of builtin variable arrays available in SLIC. This document contains a complete reference of the data that can be extracted from these types. Note that for types supported as user types, all the members of these variables can be accessed in user variables as well. For example, the builtin unit array has a member named owner, which means that any variable of type unit_t also has a member named owner. Member data is accessed using standard c style dot notation. The one plain builtin variable is named "g" and contains three members:
- g.year - the current round
- g.year_str - the current year in string form. Only useful in string replacements.
- g.player - the current player The rest of the builtins come in arrays, which are filled in when an event handler is called (but can also have values assigned by script code).
...byPublished on April 18, 2006 18:53
Why not get back to CTP2-modding just to enjoy the luxury of syntax highliting in EditPlus?
- for SLIC (Locutus' SLIC-definitions file updated for CTP2 AE)
- for CTP2 AE database