Great General

Lasitus

Chieftain
Joined
Nov 7, 2001
Messages
40
Location
FL, USA
I would like to create a field general, instead of a desk jocky as the current mod does :-) Basically, the general would be generated in the same fashion, but would have to option to become a field general. The general would then give a stack attack bonus of say 10% and would be upgradable. My question on having this is the ability to effect all units in its square. I know the Real Fort mod does this. Also, the medic upgrade does this. I just can't see where the heal units in the square variable is created (the bool options under the medic promotion in xml.) Also, RealFort is an improvement, not a unit. Any ideas?
 
http://forums.civfanatics.com/showpost.php?p=3426988&postcount=40

If you at that to Snatif's mod it'll make the general give a 25% boost to all units on the same square as it. You'd have to remove some of Snatif's code if you want that to be it's only function. You'll be able to edit the XML files to change what exactly he does. Feel free to poke the script as much as you like - I'm not sure it's very efficient.
 
ok, figured it out. I made a General class. On move each unit gets a General I promotion if a general is present in the square. I will clean it up a bit and take away some of the abilities given by the current Great General Mod (otherwise it would be too good) I think I will make the general appear the same way, with a soldier specialist but it wont be able to build the academy. Any unit attacking from a general's square will get a bonus, but the general himself can't attack. If the general is alone he can be captured. :-) interesting aspect to the game, since it will be kindof a resource on the battlefield. Havn't decided if the general should be promoted or not. Would be neat to use the stars from strength as the only upgrade. eg a one star general, two star... etc
 
Back
Top Bottom