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 > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > SLIC questions
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
admiralk is offline admiralk
Chieftain
USA
Jan 2001
time: 00:14
  Old Post 22-01-2001 17:54
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
SLIC questions Increase Your PM Length

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
Guest

Not Yet
time:
Post  Old Post 22-01-2001 18:00
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton buy from Amazon

check the slic documentation in our modification pages in the ctp2 section

Radical_Manuvr is offline Radical_Manuvr
Chieftain
Maryland, USA
Dec 2000
time: 05:14
Post  Old Post 22-01-2001 20:43
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Avatar Enlargement: We've got the solution

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 is offline Dale
King
Sir! Why do you keep clicking on me?
Dec 2000
time: 15:14
Post  Old Post 23-01-2001 01:18
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton buy from Amazon

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 is offline admiralk
Chieftain
USA
Jan 2001
time: 00:14
Post  Old Post 23-01-2001 06:56
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Inflate your Upload Space

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 is offline Dale
King
Sir! Why do you keep clicking on me?
Dec 2000
time: 15:14
Post  Old Post 23-01-2001 08:59
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Suffering from ads?

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 is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:14
Post  Old Post 23-01-2001 17:41 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

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...

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:14.
Apolyton Time is 00:14.
    top of page
Rate This Thread:
archivepost
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.0310 seconds (84.88% PHP - 15.12% MySQL) with 30 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