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
  CtP2-Creation
  SLIC questions

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:   SLIC questions Format for Better Printing
admiralk
Settler
USA
Jan 2001
posted January 22, 2001 07:54   Click Here to See the Profile for admiralk   send a private message to admiralk
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
I have a copule of questions on SLIC before i make my scenario.

1.Does SLIC have anything like triggers? I don't know but i an good at using triggers in other games. If so
where can i get a list of cause and effects.

2.Using SLIC can u control the AI on certain turns, like making them move units here and there.

3.Can u control diplomatic relationships between civs, by using SLIC.

If anyone can help me i would be most grateful.

MarkG
Apolyton CS Co-Administrator
Greece
b.02-15-99
posted January 22, 2001 08:00   Click Here to See the Profile for MarkGClick Here to Email MarkG  send a private message to MarkGSend a Message to UIN: 2865183 Visit MarkG's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
check the slic documentation in our modification pages in the ctp2 section
Radical_Manuvr
Chieftain
Maryland, USA
Dec 2000
posted January 22, 2001 10:43   Click Here to See the Profile for Radical_Manuvr   send a private message to Radical_Manuvr
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
I'm not sure exactly what you mean by triggers, but there are a lot of "events" like capture city, move units, etc. that you can use to cause other stuff to happen.

I'm pretty new to using SLIC and haven't tried making the AI move units. I think (but I'm really just guessing since I haven't tried) that is one of the more difficult things to do with SLIC. I'm sure there are either functions or events for it though. Probably functions.

As far as I know you can't do things like alliances, pacts and such. You can increase or decrease the regard level.

I found reading the SLIC documentation on Apolyton and looking through the different scenario.slc, function, msg, and mod files very helpful.

Dale
Chieftain
Melbourne, Australia
Dec 2000
posted January 22, 2001 15:18   Click Here to See the Profile for DaleClick Here to Email Dale  send a private message to Dale
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
admiralk:

1. Yes.
2. Take a look at frenzy AI mod for ideas.
3. Take a look at Diplomod for ideas.

------------------
Author of Diplomod. The mod to fix diplomacy.

Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

admiralk
Settler
USA
Jan 2001
posted January 22, 2001 20:56   Click Here to See the Profile for admiralk   send a private message to admiralk
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
I've been reading the documentation but it very complicated.What i mean by triggers is something like cause an effect. For example, Unit moves here this happends and such. I don't know(or get) how to do that in SLIC. Also what is AI frenzy and DiploMOD. Please HeLPPPPPPPP! THANK YOU
Dale
Chieftain
Melbourne, Australia
Dec 2000
posted January 22, 2001 22:59   Click Here to See the Profile for DaleClick Here to Email Dale  send a private message to Dale
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
If you go into the files database, you'll find that two of the MOD downloads are the diplomacy and frenzy ai mods. These are the two I was talking about.

With your event trigger, yes SLIC does have something like that. But more info is required. Eg:

1 - To make something happen as a reaction to something else (a unit bombards when next to a city) you use EVENTS.
2 - To make noise or something like that you use SPECEFFECTS. It's all documented in the SLIC documents.
3 - To make something perform a function you use HANDLEEVENT.

It's all pretty simple when you get into it. My suggestion is to start with some simple code, like adding gold to a player when they do something, and work up from there.

------------------
Author of Diplomod. The mod to fix diplomacy.

Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."

Locutus
Prince
Apolyton Borg Hengelo/Enschede, The Netherlands
Nov 1999
posted January 23, 2001 07:41   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
admiralk,

Yes, SLIC is entirely trigger-based, the 'eventhandlers' are nothing more than triggers, they're just called different because Activision wanted to make a difference between SLIC for CtP1 and SLIC for CtP2 (in CtP1 there already had triggers).

So to have something happen when a unit moves, your code should look like this:

HandleEvent(MoveUnits) 'AnyName' post {
// stuff happens
}

Yes, you can control units and diplo relations, but it's one of the more complicated things to do with SLIC, so you'll need to experiment a little with those before you get results. Like Dale and Radical said, study existing SLIC files and just try to code some stuff (start with simple things) and you'll figure it out. When you get stuck on anything, let us know and we'll try to help...

Apolyton Civilization Site Forums
> > > CtP2-Creation 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 | HAC | Civilization Scenario Collection | Spanish CivII Site | Clash of Civs | CtP Maps | Art of War | WesW's Ctp1/2 Site