G&K legions

tweedie77

Chieftain
Joined
Oct 21, 2010
Messages
18
I use the legions mod with G&K CIVUP GEM and the unit stacking works just fine but the custom promotions that come with legions just don't anymore. In the data log it says that shock promotion duplicate not allowed. I really don't want to mess stuff up so I thought I would ask first. Anyone know how to get it to work? or maybe a custom promotions mod that work ? I would really love some kind of blank custom promotions templet or something like that that we all could make our own but its just a thought lol. Custom promotions to either replace the existing or add onto existing either way. I liked how legions added more choices when a unit leveled kind of miss it lol. Well if anyone has any ideas let me know thanks.

While I am here asking... does anyone know where to change the code so that when choose a tech button shows up I cant left click instead of right? I have a really bad habit of left clicking and that tech tree pops up every time lol. I just want to switch them around if that's possible? Thanks again.
 
Oh I see; this adds new promotions to the game? It probably uses a name similar to a promotion added in civup. If you could copy the line from the database.log you mentioned, that might help identify the duplicate promotion.

Also... when the "choose tech" button appears, I think you can click the large :c5science: notification icon to bring up the tech panel instead of the tech tree.
 
The legions mod allows units to stack and the extra promotions are just a bonus. The promotions won't show up but the stacking works just fine. Here is the original mod attached. The error says that the shock promotion duplication isn't allowed and it wont show up in the game.
 

Attachments

I think this is because of the way that mod did its update statements. I don't believe the format they used works:
Code:
<Update>
	<Where type="PROMOTION_SHOCK_1"/>
	<Set OpenAttack="0"/>
	<Set OpenDefense="0"/>
	<Set AttackMod="10"/>
	<Set DefenseMod="10"/>
</Update>

Try changing that stuff to:
Code:
<GameData>
	<UnitPromotions>
		<Update>
			<Where Type="PROMOTION_SHOCK_1"/>
			<Set OpenAttack="0"
				 OpenDefense="0"
				 AttackMod="10"
				 DefenseMod="10"/>
		</Update>
		<Update>
			<Where Type="PROMOTION_SHOCK_2"/>
			<Set OpenAttack="0"
				 OpenDefense="0"
				 AttackMod="10"
				 DefenseMod="10"/>
		</Update>
		<Update>
			<Where Type="PROMOTION_SHOCK_3"/>
			<Set OpenAttack="0"
				 OpenDefense="0"
				 AttackMod="10"
				 DefenseMod="10"/>
		</Update>
	</UnitPromotions>
</GameData>
 
That would fail too cuz type isn't capitalized properly
 
Back
Top Bottom