Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site forums as they ran on Ultimate Bulletin Board, 1998–2001. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 2005 site & forums

  Apolyton Civilization Site Forums
  CtP-General/Help/Strategy
  Script.slc ?????

Post New Topic  Post A ReplyPost A Reply In A New Window

profile | register | preferences | faq | search next newest topic | next oldest topic bottom of page
Author
Topic:   Script.slc ????? Format for Better Printing
MindScramble
Settler
Vancouver, BC, Canada
Jun 2000
posted June 14, 2000 16:15   Click Here to See the Profile for MindScrambleClick Here to Email MindScramble  send a private message to MindScramble Visit MindScramble's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Seeing as there seems to be more people in this forums than in Help I shall repost my previous message ....
Where is this file used in CtP? I am currently just playing a regular random game through the single player option. I would like to be able to add enhancements to the game, even if I have to start over. I don't have access to the multi-player, cheats, or scenario editor, in the version I am playing. Does this mean I'm SHOL ...?

------------------
MindScramble

"In my dreams I see Pengiuns smashing Windows"

Ganja
Chieftain

Jun 2000
posted June 14, 2000 16:22   Click Here to See the Profile for GanjaClick Here to Email Ganja  send a private message to Ganja
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
its in your ctp_data\default\gamedata folder
MindScramble
Settler
Vancouver, BC, Canada
Jun 2000
posted June 15, 2000 11:50   Click Here to See the Profile for MindScrambleClick Here to Email MindScramble  send a private message to MindScramble Visit MindScramble's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
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"

Paul
King
Zwolle, The Netherlands
Mar 99
posted June 15, 2000 12:00   Click Here to See the Profile for PaulClick Here to Email Paul  send a private message to PaulSend a Message to UIN: 83134477 Visit Paul's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Script.slc is used in all games, not just scenario games. I am not familiar with your particular version of CTP, but I suppose you could edit script.slc and perhaps the other text files to add enhancements to the game.
Locutus
Prince
Apolyton Borg Hengelo/Enschede, The Netherlands
Nov 1999
posted June 15, 2000 13:46   Click Here to See the Profile for LocutusClick Here to Email Locutus  send a private message to LocutusSend a Message to UIN: 52912776 Visit Locutus's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
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).]

MindScramble
Settler
Vancouver, BC, Canada
Jun 2000
posted June 15, 2000 14:48   Click Here to See the Profile for MindScrambleClick Here to Email MindScramble  send a private message to MindScramble Visit MindScramble's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Thanks Locutus,

I tried adding the AddGold trigger as a test, to see if I could add other mods to the game ... but sadly when I added the trigger script to the end of script.slc , adn started a new game ... nothing. It was supposed to add 1000000 gold if it fell below 200000. Does this mean that the version I have doesn't look for anything at the end of the file? I really would like to give the AI a fighting chance

------------------
MindScramble

"In my dreams I see Pengiuns smashing Windows"

gemini
Warlord
camrose,ab,canada
Aug 1999
posted June 15, 2000 23:56   Click Here to See the Profile for gemini   send a private message to gemini
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
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
Settler
Vancouver, BC, Canada
Jun 2000
posted June 16, 2000 12:12   Click Here to See the Profile for MindScrambleClick Here to Email MindScramble  send a private message to MindScramble Visit MindScramble's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
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"

Paul
King
Zwolle, The Netherlands
Mar 99
posted June 16, 2000 13:17   Click Here to See the Profile for PaulClick Here to Email Paul  send a private message to PaulSend a Message to UIN: 83134477 Visit Paul's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
The trigger works for me. When I start a new game I have 1,000,100 gold.
MindScramble
Settler
Vancouver, BC, Canada
Jun 2000
posted June 16, 2000 15:22   Click Here to See the Profile for MindScrambleClick Here to Email MindScramble  send a private message to MindScramble Visit MindScramble's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
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?
Paul
King
Zwolle, The Netherlands
Mar 99
posted June 16, 2000 15:51   Click Here to See the Profile for PaulClick Here to Email Paul  send a private message to PaulSend a Message to UIN: 83134477 Visit Paul's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
You can put them anywhere in script.slc. It doesn't matter if they are at the beginning, at the end or in the middle. But it would normally be easiest to just put them at the end.
MindScramble
Settler
Vancouver, BC, Canada
Jun 2000
posted June 16, 2000 16:53   Click Here to See the Profile for MindScrambleClick Here to Email MindScramble  send a private message to MindScramble Visit MindScramble's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Well I shall try and try again over this weekend ... I need to isolate why it isn't using the triggers ... !@#$^&* system ...

------------------
MindScramble

"In my dreams I see Pengiuns smashing Windows"

skorpion59
CTP Maps Webmaster
Tulsa, Oklahoma, USA, (GMT -6)
May 99
posted June 16, 2000 17:42   Click Here to See the Profile for skorpion59Click Here to Email skorpion59  send a private message to skorpion59Send a Message to UIN: 92173697 Visit skorpion59's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
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.

MindScramble
Settler
Vancouver, BC, Canada
Jun 2000
posted June 20, 2000 11:17   Click Here to See the Profile for MindScrambleClick Here to Email MindScramble  send a private message to MindScramble Visit MindScramble's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
I think you're right skorpion59 ... everthing I tried to add this weekend nothing worked ... well just got to kill the monkey and go pick the full version up ... thanks to all for the insights ...

------------------
MindScramble

"In my dreams I see Pengiuns smashing Windows"

Apolyton Civilization Site Forums
> > > CtP-General/Help/Strategy Forum

next newest topic | next oldest topictop of page

All times are EDT

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A ReplyPost A Reply In A New Window
Hop to:

Contact Us
Apolyton Civilization Site

Powered by: Ultimate Bulletin Board, Version 5.44a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.

Front Page | Civilization III | Dinosaurs | Civilization II | Call to Power | Call to Power II | Alpha Centauri | Alternative Civs | Misc | Links | About ACS | GameStats
GameLeague | Scenario League | Hodadian Award Central | Civilization Scenario Collection | Spanish CivII Site | Clash of Civs | CtP Maps | Art of War