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's & Maps
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
wesleytheman is offline wesleytheman
Settler
Indiana, PA
Aug 2001
time: 00:15
Post  Old Post 21-08-2001 22:20 Visit wesleytheman's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
SLIC's &amp; Maps Remove this text

While trying to create my scenarios, I realized SLIC language can let you do some really cool stuff. Unfortunatly, I can't understand it, so I was wondering if anyone out there could give a little SLIC for me.

- How can you make it so that if the blue team declares war on the green team, the black team will automatically ally with the blue team, no matter what the diplomatic situation is.

- How can you give certain teams food bonuses, production bonuses, happiness bonuses, etc..


While I'm here, I also have a little tech prob. I tried to SLIC in my scenario, but I messed up pretty bad and every time I opened the scenario, ctp2 closes and says "ctp2 has preformed an illegal operation". So I removed all of my SLIC and it still does the same thing. Any suggestions?

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:15
  Old Post 22-08-2001 03:02 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Re: SLIC's &amp; Maps Inflate your Upload Space

Hi, its always good to see someone SLICing.

quote:

- How can you make it so that if the blue team declares war on the green team, the black team will automatically ally with the blue team, no matter what the diplomatic situation is.

It is impossible to force diplomatic actions on civs, but what you can do is make the regard between the two increase really fast, and make the black civ consider alliances very strongly.

Look in the Alexander scenario for a commented LogRegardEvent that increases/decreases regard, and diplomod for alliance considerations. (you will need to change the AI files for this too)

quote:

- How can you give certain teams food bonuses, production bonuses, happiness bonuses, etc..

As far as I am aware, food and production bonuses cannot be acheived directly through slic, but you can make buildings in buildings.txt that have the required effect, and then through SLIC, make them unbuildable, and have them appear at the correct moment, when triggered by something else.
Try looking for the original natural disasters thread, linked to from my more recent one, and there is discussion there about using buildings to mimic droughts and great weather conditions, and make food bonuses.

Happiness bonuses can be acheived using the event:

code:
Event:AddHappyTimer(int_t, int_t, int_t, int_t)

The first number is the player it affects, the second is the duration, the third is the amount ( - numbers for unhappiness) and the fourth is the reason (if in doubt, put 12 for conquest).

Hope this helps you figure it out, if you need more specific things, ask, but most of this is not pure SLIC, and difficult to describe in detail unless you can say exactly what you want.

-Ben

wesleytheman is offline wesleytheman
Settler
Indiana, PA
Aug 2001
time: 00:15
  Old Post 23-08-2001 02:34 Visit wesleytheman's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Thanxs Support Apolyton, buy Civilization 2

Thanks a lot IW, even if it wasn't what I wanted to hear.

wesleytheman is offline wesleytheman
Settler
Indiana, PA
Aug 2001
time: 00:15
  Old Post 23-08-2001 03:23 Visit wesleytheman's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Let's play a game... Avatar Enlargement: We've got the solution

The name of the game...What's Wrong With This!

What you need to do, is find something wrong with my scenario.slc
The first person to find it and tell me, gets a free

Attachment: scenario.slc
This has been downloaded 4 time(s).

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:15
  Old Post 23-08-2001 05:05 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Tired of ads?



1. You have no event handler, the if-code has to be "called" by an event. In this case you will want the beginning of the game. For the regard to evolve as the game goes on, you will also want to disable this so it doesnt fire every turn.
make the first line:

code:
HandleEvent(beginturn) 'startscen' pre { // insert code here DisableTrigger('startscen'); }


2. Player 0 is the barbarians. I don't know if this is what you want, but everyone hated them, and they dont do diplomacy, so you dont need those bits.

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:15
  Old Post 23-08-2001 05:15
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Also, do you have a string for ID_AG_REGARD_EVENT_NEG. You need something like

quote:


AG_REGARD_EVENT_NEG "They hate you"



in one of the string files. Scenario_str.txt should do.

wesleytheman is offline wesleytheman
Settler
Indiana, PA
Aug 2001
time: 00:15
  Old Post 23-08-2001 18:30 Visit wesleytheman's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Winner Support Apolyton, buy Call to Power 2

And IW wins the game! Thanks a lot!

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:15.
Apolyton Time is 00:15.
    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.0355 seconds (86.69% PHP - 13.31% MySQL) with 31 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