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 > Editing Public Works/Infrastructure?
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:18
  Old Post 08-04-2002 08:20
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Editing Public Works/Infrastructure? Tired of ads?

I was wondering if there was any way, without the cheat option that is, to create in a scenario, to find public works in say ruins.
In risks.txt you can alter the percentages of either cities,settlers,gold,units,advances and chance of barbarians in ruins.


I was wondering if anyone had ever tried adding a line, a flag, saying that you found 500 PW or what have you?

Thanks in advance for any/all response!

And ifin you have another way, please speak up!


Yours In Civin

Troll

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

It needs some SLIC'ing, and it would have to replace an existing thing that you can get from a goodie hut, but I think it can be done. (So long as SLIC1 is up to scratch. It qould certainly work in CtP2...)

Firstly, open script.slc, and search for "found stuff". that will give you the messages that fire on opening goodie huts. Then find the one you want to replace, for example, message '83DiscoveredAncientTreasure'. Then between the lines Kill(); and } in that message block, add the lines:

code:
value[0] = random(500); SetPW(g.player, value[0] + g.player.publicworkslevel);

Then in info_str.txt (english/gamedata) find the lines DISCOVERED_ANCIENT_TREASURE "text" replace the 'text' with the message of your choice. Bear in mind: 1) You will get the gold anyway, it is hardcoded*, 2) the use of the "word" "{value[0]}" should make the actual value of PW you have received appear in the message.

* In fact, because you cannot remove the innate chances, merely add PW to one or more of them, you may wish to add it to the settler or city one, with a message such as "Nomads have joined your civ, bearing a peace offering of {value[0]} public works."

NB: I don't know whether SetPW is a SLIC1 function, and my knowledge of SLIC1 syntax is poor, I'm trying to learn it from TP's PowerSLICs while I type If that code doesn't work, I'd suggest asking Locutus if there is a SLIC1 equivalent...

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