|
Author
|
|
Topic: Help with EnableAdvance for units |  |
|
Steph Settler Mazamet, France Dec 2000
|
 |
posted February 24, 2001 13:40
 |
 |
 |  |
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? |
XMon Chieftain Tampa, Florida Sep 2000
|
 |
posted February 24, 2001 23:02
 |
 |
 |  |
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. |
Steph Settler Mazamet, France Dec 2000
|
 |
posted February 25, 2001 03:54
 |
 |
 |  |
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? |
Immortal Wombat Warlord UK Dec 2000
|
 |
posted February 25, 2001 15:20
 |
 |
 |  |
There is no limit to techs or units. Wonders and buildings are limited to 64 I think. |
Steph Settler Mazamet, France Dec 2000
|
 |
posted March 04, 2001 04:10
 |
 |
 |  |
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? |
OmniGod ACS CtP2 Database Manager Philadelphia, PA, USA --> Really Canadian Dec 1999
|
 |
posted March 05, 2001 00:09
 |
 |
 |  |
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. |
WesW apolyton.net/wes Huntsville, Al., USA b.02-15-99
|
 |
posted March 05, 2001 05:01
  |
 |
 |  |
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. |