Re: Converting a faction to a new one i.e. kalmar union
and finally for now
destroy_units Lithuania pagan_unit
what would be considered a pagan unit?...
this is the reference to units in the EDU with the custom attribute pagan_unit
ah. one last question a tad ot for this topic but on topic for my goal:
is there a way, when converting a faction to a new one, to have one new faction, but 4 color schemes to pick out of?
I guess with a huge amount of scripting (yes\no scripts) and four separate factions (only different in color scheme) it would be possible, personally I wouldn't bother because of the tremendous script and text work.
destroy_buildings lithuania temple_dievas true
destroy_buildings lithuania temple_dievas_castle true
destroy_buildings lithuania temple_perkunas true
destroy_buildings lithuania temple_perkunas_castle true
destroy_buildings lithuania temple_giltine true
destroy_buildings lithuania temple_giltine_castle true
what is dievas, perkunas, and giltine? settlements? is it checking for a temple in each, if they are a castle or not, and true for go ahead and destroy it? also, is temple the building line name?
temple_dievas and the similar entries are the way the buildings are defined in the EDB. lithuania is the faction that will be affected, all buildings of that name will be destroyed.
"true" means that the (reduced?) building costs are refunded - equivalent to demolishing buildings yourself
Last edited by Gigantus; August 09, 2010 at 01:40 AM.