Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Civilization: Call To Power > CtP-General/Help/Strategy > Script.slc ?????
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
12.Sep: `CTP CHALLENGE LADDER` - SEPTEMBER UPDATE
09.Sep: EARLY BUILD SPRITE EDITOR
02.Aug: `SUPERLEAGUE` SIGN-UP
CivGroups
Apolyton Storywriters' Guild (56): Not a Member - Join

bottom of page
  - CIVILIZATION: CALL TO POWER @ GAMESTOP $9.99 - CIVILIZATION: CALL TO POWER @ AMAZON $9.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
MindScramble is offline MindScramble
Settler
Vancouver, BC, Canada
Jun 2000
time: 05:12
Question  Old Post 15-06-2000 01:15 Visit MindScramble's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Script.slc ????? Suffering from ads?

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 is offline Ganja
Chieftain

Jun 2000
time: 05:12
Post  Old Post 15-06-2000 01:22
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Inflate your Upload Space

its in your ctp_data\default\gamedata folder

MindScramble is offline MindScramble
Settler
Vancouver, BC, Canada
Jun 2000
time: 05:12
Lightbulb  Old Post 15-06-2000 20:50 Visit MindScramble's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

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 is offline Paul
Emperor
Zwolle, The Netherlands
Mar 1999
time: 06:12
Post  Old Post 16-06-2000 09:00 Visit Paul's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Got spare money?

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 is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:12
Post  Old Post 15-06-2000 22:46 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Remove this text

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 is offline MindScramble
Settler
Vancouver, BC, Canada
Jun 2000
time: 05:12
Red face  Old Post 15-06-2000 23:48 Visit MindScramble's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Increase Your PM Length

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 is offline gemini
Settler

Jan 1970
time: 05:12
Thumbs up  Old Post 16-06-2000 08:56
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Increase Your PM Length

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 is offline MindScramble
Settler
Vancouver, BC, Canada
Jun 2000
time: 05:12
Post  Old Post 17-06-2000 09:12 Visit MindScramble's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Inflate your Upload Space

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 is offline Paul
Emperor
Zwolle, The Netherlands
Mar 1999
time: 06:12
Post  Old Post 16-06-2000 22:17 Visit Paul's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

The trigger works for me. When I start a new game I have 1,000,100 gold.

MindScramble is offline MindScramble
Settler
Vancouver, BC, Canada
Jun 2000
time: 05:12
Post  Old Post 17-06-2000 00:22 Visit MindScramble's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Inflate your Upload Space

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 is offline Paul
Emperor
Zwolle, The Netherlands
Mar 1999
time: 06:12
Post  Old Post 17-06-2000 00:51 Visit Paul's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Increase the size of your Attachments

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 is offline MindScramble
Settler
Vancouver, BC, Canada
Jun 2000
time: 05:12
Angry  Old Post 17-06-2000 01:53 Visit MindScramble's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy Civilization 2

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 is offline skorpion59
Prince
Tulsa, Oklahoma, USA
May 1999
time: 23:12
Post  Old Post 17-06-2000 02:42 Visit skorpion59's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Increase Your PM Length

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 is offline MindScramble
Settler
Vancouver, BC, Canada
Jun 2000
time: 05:12
Unhappy  Old Post 20-06-2000 20:17 Visit MindScramble's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Increase Your PM Length

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"

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:12.
Apolyton Time is 00:12.
    top of page
Rate This Thread:
Forum Jump:
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
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0440 seconds (89.97% PHP - 10.03% MySQL) with 44 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net