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 > Scenario Idea !
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
SMIFFGIG is offline SMIFFGIG
Prince
Great Britain
Jul 2002
time: 05:22
  Old Post 13-09-2002 00:15 Visit SMIFFGIG's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Scenario Idea ! Got spare money?

I have a really good idea for a scenrio, its sooo annoying its all in my head and everything whats going to happen how it will work what it will looklike etc. but i have no idea about how to do SLIC.

Coincidently Peter has just posted that SLIC guide thing so im without hesitation going to download that Are scenario events done through SLIC? that was the main question

and a couple of things, only answer these if you know them off the top of your head and dont spend a day or something finding out how, as it is my scenario after all

SLIC Questions
1.How do I make an event eg Reinforcements to appear at a certain point in the game or after a trigger.

2.How do I make it so AI only build units and they are units that I have specified

3.How do I make it so that when a city is captured it is 100% of the time destroyed

4.Can i make it so that a unit dies after a certain amount of movement

5.Can I specify what barbarians appear

6.Can I make it so city boarders are invisible?

7. Finally can I make it so that u have an ally that are there and u can see all there stuff etc but they never do anything build etc.

ill say again PLEASE DONT answer these questions if there gunna take u ages to find out or whatever. It is my scenario after all so I should be doing the work

cheers for the help and dont worry im gunna try real hard to learn some slic so I can stop asking questions all the darn time



Edit; Ok that SLIC tutorial has been there for like a year or something, stupid me never seen it before

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:22
Post  Old Post 13-09-2002 00:31 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

OK answering out of the head:

2. Just modify the AI build lists in the ..\default\aidata\ folder.

3. Just use this code:

code:
HandleEvent(CaptureCity)'KillCityOnCapture'pre{ Event:KillCity(city[0]); }


6. As far as I know this isn't possible.

SMIFFGIG is offline SMIFFGIG
Prince
Great Britain
Jul 2002
time: 05:22
  Old Post 13-09-2002 01:58 Visit SMIFFGIG's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Cheers Martin much appreciated


P.S I really hope I do get this scenario finished

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:22
  Old Post 13-09-2002 03:13 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Re: Scenario Idea ! Get a bigger avatar today!

You really seem to be getting the hang of the modmaking, SMIFFGIG's

quote:
Originally posted by SMIFFGIG's
1.How do I make an event eg Reinforcements to appear at a certain point in the game or after a trigger.

Determine when you want something to happen and what you to happen. Then write the code for it. The when part goes into the condition part of if-statements, the what goes into the execution part of it. Example: in turn 15, you want to give 3 Legions to player 2, near his capital (where you want something to happen would be a suitable 3rd question to ask). Then your code should look like this:

code:
HandleEvent(BeginTurn) 'LOQ_ReinforcementExample' post { if (player[0] == 2 && g.year == 15) { city[0] = player[0].capital; CreateUnit(2, UnitDB(UNIT_LEGION), city[0].location, 1); CreateUnit(2, UnitDB(UNIT_LEGION), city[0].location, 1); CreateUnit(2, UnitDB(UNIT_LEGION), city[0].location, 1); } }

This will check at the start of every turn (BeginTurn) if the currently active player is player 1 (player[0] == 1) AND (&&) if the current turn is turn 15 (g.year == 15). If this is both the case, it will create a Legion, owned by player 2, 1 square away from the capital, and it will do this 3 times. The only 'hard' (not really) part here is to find a suitable location. This can be any tile on the map, but depending on exactly what you want it may require some extra coding to store this location correctly (in this case: 'city[0] = player[0].capital').

quote:
4.Can i make it so that a unit dies after a certain amount of movement

That one's trickier but it's certainly possible. How to implement it depends on your meaning of 'movement'. A number of tiles, a number of turns, a number of movement points? You'll need to detect these and store them in a global variable. Then, everytime a unit moves, check if it has moved enough and if so, destroy it. It also depends a lot on whether you want this to go for one specific unit, one unit type, several unit types, all units, one civ, all civs, etc, etc. You'll need to flesh out/explain the idea a little better before any code can be written for this.

quote:
5.Can I specify what barbarians appear

If you disable the creation of Barbarian units and do it entirely through SLIC (ala the code from Q1 only slightly more complex (with randomness involved)), yes. Without SLIC, I'm not sure. You'd have to check out the text files in the default\gamedata folder.

quote:
6.Can I make it so city boarders are invisible?

No, not AFAIK.

quote:
7. Finally can I make it so that u have an ally that are there and u can see all there stuff etc but they never do anything build etc.

Not sure exactly how you want this implement. I can think of a few things (e.g. turn off the AI for this player, then they won't do anything) but since I'm not sure exactly what you want, it's hard to say much about it.

quote:
learn some slic

If you haven't found it already, make sure you check out my and Immortal Wombat's guides as well, not just Peter's.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:22.
Apolyton Time is 00:22.
    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.0342 seconds (85.99% PHP - 14.01% 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