 |
|
Ganja
|
|
its in your ctp_data\default\gamedata folder
|
|
|  |
 |
|
MindScramble
|
|
Vancouver, BC, Canada
Jun 2000 time: 05:12
|
|
I should have been more concise. How is script.slc used in the game? Is it only available for scenario games? I have the Linux LM Edition from Corel, and they disabled Cheat, Multiplayer, and Scenario editor ...
------------------
MindScramble
"In my dreams I see Pengiuns smashing Windows"
|
|
|  |
 |
|
Locutus
|
|
ACS CTP1/2 Manager & Civ4 Co-Manager
|
 |
Hengelo, The Netherlands
Nov 1999 time: 06:12
|
|
SLIC code, which is contained in the script.slc file, is code that you can use to manipulate the game in many ways. You can create/kill/move/alter units/cities, display messages, etc., etc., you can change the game in many ways. This has been done already by Activision itself, a lot of modmakers (among who yours truly) and you can do it yourself. There's documentation about SLIC available here, but I'm still working on something better myself (though the work has ground to a halt lately). For some examples of what you can do with SLIC, apart from the standard material from Activision, download e.g. TP's PowerSLICs or my flat-map support or start a tutorial game, all the 'special events' in there are created by SLIC (a lot more SLIC code is contained in Wes's Med Pack but that also contains a lot of other changes to the game which makes it difficult to see what was done through SLIC and what was done through other means).
Hope that helps,
Locutus
[This message has been edited by Locutus (edited June 15, 2000).]
|
|
|  |
 |
|
gemini
|
|
Mindscramble, Hey man!!!
If you can post the trigger you added then we would be able to tell if it was programmed properly. Slic can be a little tough to grasp when you first start out.
------------------
Gemini
|
|
|  |
 |
|
MindScramble
|
|
Vancouver, BC, Canada
Jun 2000 time: 05:12
|
|
Make a back-up copy of 'script.slc' in \ctp_data\default\gamedata\ and ADD the following lines to the end of it:
trigger 'DOR_T_Give_Gold' when (IsHumanPlayer(g.player) && (player.1.gold<=200000))
{
AddGold(g.player,1000000);
}
The effect is that every time the human player runs out of gold (less than 200,000), he gets 1 million more.
------------------
MindScramble
"In my dreams I see Pengiuns smashing Windows"
|
|
|  |
 |
|
MindScramble
|
|
Vancouver, BC, Canada
Jun 2000 time: 05:12
|
|
I have even tried to add other triggers, like adding a warrior to a city when the city is first built ... but nothing seems to work. I add all of the triggers to the end of the script.slc file ... is this where they are supposed to go?
|
|
|  |
 |
|
skorpion59
|
|
Tulsa, Oklahoma, USA
May 1999 time: 23:12
|
|
Mindscramble,
Since you are using a free limited-edition, thus DEMO version, you probably are not allowed to make the kind of changes you are referring to.
|
|
|  |
All times are GMT. The time now is 05:12. Apolyton Time is 00:12. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|