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-Creation > Starting setups available, help on changes?
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

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
Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:19
  Old Post 22-05-2002 03:13
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Starting setups available, help on changes? Support Apolyton or Terrorists Win

I am looking at the DiffDb.txt, I am starting Diety (God) mode I believe, and I see where i can change starting gold for both me and AI, and the point I am trying to clarify/change if possible is this, >>>>>>>>>

I am trying to make it where i can start a game with "X" amount of settlers and make them UNBUILDABLE apart from the ruins..(Risks.txt..love this little jewelmine!! )..ok...I see where the ai has (2) units to start with and a chance for human to start with an extra settler, but is it possibel to make a line in the text to start with "X" units, (units being settlers)?

I remember someone once responded I could make a trigger..but..er..um.. ifin you get the picture, i aint the brightest bulb in the room or the shiniest apple on the tree, but, I am looking for someway to make it so that maybe ai and me each start with maybe 25 cities/settlers then only ruins are available or even war .

If anyone plays me online, thats my textbook trademark, EXCLUSIONS of bpoth Stealth and Settlers from game, except ruins.
Anyone have any feedback, let the hair go with the hide, and kick it to the curb, let the fur fly and lets have at it, Im game for any ideas!


Troll

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:19
  Old Post 22-05-2002 04:02 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton buy from Amazon

Hmm, my CtP1 SLIC coding is very rusty but this should be easy so let's give it a try:

code:
trigger 'LOQ_MoreSettlers' when (g.player > 0) { if (g.year == 0) { i = 0; SetUnitByIndex(1, g.player, 0); while (i < 23) { CreateUnit(g.player, UnitType("UNIT_SETTLER"), unit.1.location, 1); i = i + 1; } } else { DisableTrigger('LOQ_MoreSettlers'); } }


Put this in script.slc or scenario.slc and see if it works. Assuming DiffBD.txt is set in such a fashion that all players get 2 units, this code will make sure all players get 25 settlers (to make it a different number, just change 23 to the number you want minus 2 (to correct for the 2 settlers from DiffDB).

Last edited by Locutus on 24-05-2002 at 01:39

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:19
  Old Post 22-05-2002 04:04 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Civilization 2

you don't need to define integers in SLIC1?

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:19
  Old Post 22-05-2002 04:18 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
Remove this text

Nope. And it doesn't know for loops, does built-in variables differently and has an even more incomprehensible triggering system than CtP2

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:19
  Old Post 23-05-2002 18:50 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Enter the AD-FREE zone

This particular feature is part of Keygen's PBEM Mod Lite - from his scenario.slc I copy (with some major modifications):

code:
Trigger 'StartUp' when (unit.beginturn && (g.year == 0)) { ExtractLocation(unit.location, StartLocation); While (i < 3) { CreateUnit(g.player,UnitType("UNIT_SETTLER"),StartLocation,0); i = i + 1; } i = 0; }

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:19
  Old Post 24-05-2002 01:37 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Browse Apolyton AD-FREE

D'oh! I forgot the i = i + 1 part for my code (fixed now)

Other than that, it is (should be) different code to accomplish exactly the same thing. One thing though: there can only be 9 units per tile, so if you want more than 9 settlers, they don't all fit in one tile, that's why I gave createunit a 1 as argument rather than a 0, that will create settlers 1 tile from the starting position, wherever it's legal.

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:19
  Old Post 24-05-2002 02:04 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton

I think you might run in to trouble passing unit.1.location to the function, but perhaps not.

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:19
  Old Post 24-05-2002 02:52 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Lose 30 kilos (of popups)

I'm pretty sure that should work, but I'll test...

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:19
  Old Post 24-05-2002 02:59 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Put an end to popups!

Tested it. My code at least works like a charm (didn't bother to test Keygen's code, I'm sure it works as well).

Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:19
  Old Post 24-05-2002 03:11
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton or Terrorists Win

Ok.. help me please, I can find almost any file within the CTP folder, but WHERE do you place these codes?

Help me..plullease!!

Troll

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:19
  Old Post 24-05-2002 03:17 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Increase Your PM Length

As I stated in the first post in this thread, in either scenario.slc or script.slc (ctp_data\default\gamedata\ )

Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:19
  Old Post 24-05-2002 03:24
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

quote:
Originally posted by Locutus
As I stated in the first post in this thread, in either scenario.slc or script.slc (ctp_data\default\gamedata\ )


Ok..I have another question, whenever i go to that file it requests I pick a program to open it with..do you..um..have any suggestions??????


Thanks

Troll

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:19
  Old Post 24-05-2002 03:27 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Any text editor will do fine. NotePad, EditPlus, UltraEdit, whatever...

Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:19
  Old Post 24-05-2002 03:31
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

quote:
Originally posted by Locutus
Any text editor will do fine. NotePad, EditPlus, UltraEdit, whatever...


Sa-Weet!

U hooked me up with EditPlus earlier this week!


Off to "challenge" myself....

Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:19
  Old Post 24-05-2002 03:37
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Ok..thanks for the insight, now there are in script.slc 3147 lines and in scenario.slc a brief description..

Questions please?

#1 Is there anywhere I need special to add one of those?

#2 If I placed in scenario.slc would I simply add that to my scenario file and it would read it?

Or do i need to add to both?

Thanks, I smell some possibilities and I am also seeing in BOLD print the signature for Immortal Wombat from Mike Breitkreutz, Firaxis

Troll

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:19
  Old Post 24-05-2002 03:43 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Enter the AD-FREE zone

1) At the bottom of the file will do fine. Generally anywhere in between existing triggers/messageboxes is okay. The file structure of SLIC files is something like this:

code:
trigger { stuff } trigger { more stuff } messagebox { yet more stuff } alertbox { stuff-'r-us } trigger { stuff it }


where it says 'stuff' (or a variation on it) there is actual code, you shoudn't mess with that unless you know what you're doing. Outside those { stuff } blocks, you can insert all the code you want...

2) Yes.

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