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 > Civilization: Call To Power > CtP-General/Help/Strategy > Can you...
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
12.Sep: `CTP CHALLENGE LADDER` - SEPTEMBER UPDATE
09.Sep: EARLY BUILD SPRITE EDITOR
02.Aug: `SUPERLEAGUE` SIGN-UP
CivGroups
Apolyton Storywriters' Guild (56): Not a Member - Join

bottom of page
  - CIVILIZATION: CALL TO POWER @ GAMESTOP $9.99 - CIVILIZATION: CALL TO POWER @ AMAZON $9.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Kalius is offline Kalius
Emperor
Kriegsgewitter
Aug 2002
time: 16:28
  Old Post 26-05-2003 11:16
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Can you... Help yourself to an AD-FREE life

1) change the Units available to a civ, and make it available to just 1 civ only (like the UUs in Civ III)
2) Rather than colours for the unit shield icon, have a .gif or .tga?
3) How do you script events in text?
4) How do you script events in units? (e.g. a new unit appearing out of nowhere)

This may be far-sighted, but I'd like to know my boundaries for the Imperialism scenario

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:28
  Old Post 26-05-2003 14:12 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Got spare money?

1) This is not trivial, but it should be possible - you have to create a tech unique to each civ (or whoever is to be able to build the unit) which the unit requires and somehow ensure that this tech is not spread around the other civs (which should be possible, but i don't remember how offhand).

You also might try to make the units government-specific, and restrict the civ to some specific government.

2) I've no idea, but I don't think so.

3 & 4) Both use SLIC - see docs here on Apolyton or on Locutus's website.

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:28
  Old Post 26-05-2003 18:15 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

1) As John says, create a unique advance for every civ, and make sure this civ can't be researched (e.g. give this advance itself as prerequisite). Then use the scenario editor or SLIC to give this advance to the proper civ. Now you only need to make sure these advances aren't traded, which might be tricky. Might be best to just disabled advance-trading altogether.

2) AFAIK not possible.

3/4) If you have no programming experience, it could be tricky getting started, but don't hesitate to ask for help. It's been a while since I last coded SLIC1, but I'll try to help if you want. Next to the sources John mentioned, also look at existing SLIC code. Learn-by-example is the best way to go with SLIC.

I'm not sure what you mean by 'events in text', but I assume it is having a textbox pop up with a certain event? If so, here's a simple example:

code:
trigger 'Example1' when (g.player == 1 && g.year == 10) { Message(g.player, 'ExampleMessage1'); } messagebox 'ExampleMessage1' { Title(ID_INVASION_TITLE); Text(ID_INVASION); Show(); }


Where in turn 10 (g.year == 10), the human player (g.player == 1; usually the human is player 1) gets a message warning him that Poland is being invaded by the Germans or whatever (yes, I know, wrong scenario). The above code should be put in a *.slc file in default\gamedata, while the strings INVASION_TITLE and INVASION (without the ID_ prefix) should be placed in a file in english\gamedata.

To make create a unit in turn 10, just replace Message(g.player, 'ExampleMessage1'); with e.g. CreateUnit(1, UnitType("UNIT_TANK"), MyCity.location, 0);. That would create a human (player 1) tank in MyCity (assuming you defined MyCity somewhere else).

Of course, what you put in between the braces {} of the trigger is entirely up to you. You can limit it to simply calling a message or creating a unit (as above) or you can create monsters of hundreds of lines of code with a lot of conditions, loops, functions, etc. You could set up entire invasions, terraform the entire map, set up an entire text-box dialog or internal data structure, etc, etc (see for some examples the 'SetupRandomMap' trigger in my Flatmap code or the 'DiscoveryDisseminates' trigger in the MedMod -- but don't be intimidated by them too much ).

If you have more specific request for help, let me know. It would probably be best to start a new thread for it in the Creation forum.

Last edited by Locutus on 26-05-2003 at 18:29

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:28
Post  Old Post 26-05-2003 23:01 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Lose 30 kilos (of popups)

The shield icon is a *.rim file and can be replaced, but that would be a global replacement, so there won't be different icons for this civ and that civ.

-Martin

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:28.
Apolyton Time is 00:28.
    top of page
Rate This Thread:
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.0407 seconds (83.66% PHP - 16.34% MySQL) with 44 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