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 > Call To Power II > CtP2-Creation/AI/Mods/Scenarios > Old Question, maybe
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
GarLunarfang is offline GarLunarfang
Settler

Jan 2004
time: 05:33
  Old Post 07-01-2004 23:10
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Old Question, maybe Support Apolyton

This has probably been asked to death, or at elast asked before.

I'd like to make more units like the eco ranger, that require a wonder before they can be built, can this be done? ....or is it a hard coded effect? which files (guesses welcome) would need to be edited to accomplish this?

MrBaggins is offline MrBaggins
King

May 1999
time: 05:33
  Old Post 07-01-2004 23:28
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Nope. IIRC basically a hard coded effect:

I.E.

the "EnableParkRangers" flag in Wonder.txt

It might be nice to have a slightly different way of doing this:

EnableBuildClassGlobal value

for Wonders and Feats (and allow it to be changed thru SLIC too)

EnableBuildClassLocal value

for City Improvements (and allow it to be changed thru SLIC too)

and

BuildClass value

for Wonders, City improvements, Tile Improvements and Units

GarLunarfang is offline GarLunarfang
Settler

Jan 2004
time: 05:33
  Old Post 07-01-2004 23:29
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Was afraid of that, thanks anyway

MrBaggins is offline MrBaggins
King

May 1999
time: 05:33
  Old Post 07-01-2004 23:33
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton buy from Amazon

No problem.

and I wouldn't worry too much about it... these type of things are relatively simple to fix.

As its mostly the modders involved in the CTP2 Source Project, the things to do with modding flexibility (where they make sense) should get solved.

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:33
  Old Post 08-01-2004 22:34 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Remove this text

There is a way around it via slic which is easy to right all you have to do is to Wright a small amount of code that basically gives a civ with that wonder accesses to that tech

code:
HandleEvent(CityBeginTurn) 'grantadforwonder' post { if(CityHasWonder(city[0], WonderDB(WONDER_EMPIRE_STATE_BUILDING))) { GrantAdvance(CITY[0].owner, AdvanceDB(ADVANCE_AGRICULTURE)); } }


Here I have made it for you all you have to do is make a dummy advance that needs itself for research to start (look at subnural adds).

Then make that unit only build able with the discovery of that advance.

then stick this in scenario.slc then change agriculture for the advance and empire STATE BUILDING for you wonder

Pc sorry I could not test it but it should work

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:33
  Old Post 09-01-2004 05:13 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Browse Apolyton AD-FREE

Or save time and grant the advance on the CreateWonder event.

code:
HandleEvent(CreateWonder) 'grantadforwonder' post { if(value[0] == WonderDB(WONDER_XYZ)){ GrantAdvance(city[0].owner, AdvanceDB(ADVANCE_XYZ)); } }


Or use mod_CanCityBuildUnit to detect the wonder, and not bother with a dummy advance.

edit/ Damn I'm rusty.

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:33
  Old Post 09-01-2004 15:35 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Tired of ads?

me too

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