ENDLESS™ Legend is a turn-based 4X fantasy-strategy game, where you control every aspect of your civilization as you struggle to save your homeworld Auriga. Create your own Legend!
i am new at modding el and with the xml lenguage, i have some experience in C++ and java but never tryed xml.
I am trying to make a trait that allows a faction to instant destroy a conquered city and then gain some buffs from it, my question is as follows, ¿How can i put a condition to activate these buffs, just as the "Weapons of the enemy" trait does, when the faction captures and then destroy a city? In the Simulation[FactionTrait].xml the trait "Weapons of the enemy" have apparently no effect, the code is in blank.
Often when a trait or technology or something is blank it means that some code somewhere else checks to see if it is unlocked or not. For instance, with buildings and their unlocks, how it works is that you click on a city, and then it checks the list of technologies to show you which of the buildings are available to build. The code for on/off is under the building's definitions, not the technologies.
I'm not familiar with weapons of the enemy, but it might be that you need to look under the conquering code for the answer.
Try searching for name of the trait in all files. or, if I remember correctly, isn't there a way to get other stockpiles out of the weapons of the enemy one too? That might reference it.
You will need to use tools like MultiFind, making full text search. You search for a tech or improvement name, and see all files where the name is used. Giving an overview on "how it work", and eventualy see others names affiliate to search too.
Haether
Newcomer
Haether
Newcomer
100g2g ptsReport comment
Why do you report Haether?
Are you sure you want to block Haether ?
BlockCancelAre you sure you want to unblock Haether ?
UnblockCancelZenTractor
Mirror Chameleon
I make micro mods.
ZenTractor
Mirror Chameleon
27 400g2g ptsReport comment
Why do you report ZenTractor?
Are you sure you want to block ZenTractor ?
BlockCancelAre you sure you want to unblock ZenTractor ?
UnblockCancelEnchanteur
Senior
Enchanteur
Senior
24 700g2g ptsReport comment
Why do you report Enchanteur?
Are you sure you want to block Enchanteur ?
BlockCancelAre you sure you want to unblock Enchanteur ?
UnblockCancel