 |
|
admiralk
|
|
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.
|
|
|  |
 |
|
|
check the slic documentation in our modification pages in the ctp2 section
|
|
|  |
 |
|
Radical_Manuvr
|
|
Maryland, USA
Dec 2000 time: 05:14
|
|
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.
|
|
|  |
 |
|
admiralk
|
|
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
|
|
|  |
 |
|
Locutus
|
|
ACS CTP1/2 Manager & Civ4 Co-Manager
|
 |
Hengelo, The Netherlands
Nov 1999 time: 06:14
|
|
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...
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:14. Apolyton Time is 00:14. |
top of page
|
| archivepost |
|
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
|
|
|
|
|
|