February 24, 2001, 14:40
|
#1
|
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?
|
|
|
|
February 25, 2001, 00:02
|
#2
|
Warlord
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.
|
|
|
|
February 25, 2001, 04:54
|
#3
|
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?
|
|
|
|
February 25, 2001, 16:20
|
#4
|
Prince
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.
|
|
|
|
March 4, 2001, 05:10
|
#5
|
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?
|
|
|
|
March 5, 2001, 01:09
|
#6
|
Prince
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.
|
|
|
|
March 5, 2001, 06:01
|
#7
|
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.
|
|
|
|
Posting 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
|
|
|
All times are GMT -4. The time now is 05:56.
|
|