Thread Tools
Old February 24, 2001, 14:40   #1
Steph
Chieftain
 
Local Time: 09:56
Local Date: October 31, 2010
Join Date: Dec 2000
Location: Mazamet, France
Posts: 32
Help with EnableAdvance for units
I have added all the units to my mod (I have about 150 units), and made a new tech tree.
At first, I thought I will use two advances to enable some units. This way, Atomic bomb would require only fission, nuke fission and rocketry, ballistic subs fission and submarine warfare, etc.
I am currently implemting my tehc tree in the game. And it doesn't work! If if use several EnableAdvance lines in my units.txt file, the game loads fine, but only one of the avdance is taken into account.
Any idea?
Steph is offline  
Old February 25, 2001, 00:02   #2
XMon
Warlord
 
XMon's Avatar
 
Local Time: 04:56
Local Date: October 31, 2010
Join Date: Sep 2000
Location: Tampa, Florida
Posts: 117
To do that you will probably have to create new advances. Make up one new advance which will enable the "ballistic sub" and have the pre-requisites for that advance be 1) fission and 2) submarine warfare. I believe that advances can require two pre-requisite advances but, apparently, units cannot.
XMon is offline  
Old February 25, 2001, 04:54   #3
Steph
Chieftain
 
Local Time: 09:56
Local Date: October 31, 2010
Join Date: Dec 2000
Location: Mazamet, France
Posts: 32
That's what I thought... But if I use this method, I will have a LOT of techs. I already have about 200. Is there a limit?
Steph is offline  
Old February 25, 2001, 16:20   #4
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 10:56
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
There is no limit to techs or units. Wonders and buildings are limited to 64 I think.
Immortal Wombat is offline  
Old March 4, 2001, 05:10   #5
Steph
Chieftain
 
Local Time: 09:56
Local Date: October 31, 2010
Join Date: Dec 2000
Location: Mazamet, France
Posts: 32
I'm not sure about the no limit for units. I think sprites are limited to 200, thus limiting the nb of units (except if youn use the same sprites)

I know using to advances as prerequesite for a unit can't be done with the unit.txt file only. Can it be done with SLIC?
Like unit is buildable only if player has a given tech?
Steph is offline  
Old March 5, 2001, 01:09   #6
OmniGod
Civilization IV CreatorsCiv4 SP Democracy Game
Prince
 
OmniGod's Avatar
 
Local Time: 04:56
Local Date: October 31, 2010
Join Date: Dec 1999
Location: Welland, ON
Posts: 751
Some people have gone ahead and made it so that it is possible only to build a unit if there are proper buildings in the city... so I can't see why checking for a tech would be any different... not that I'm strong in slic coding.
OmniGod is offline  
Old March 5, 2001, 06:01   #7
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 03:56
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
From what I can tell, the multiple preqs for units works, it is just that the unit becomes available if you have "any" of the preqs, rather than all of them, as you think it would.
WesW is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:56.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team