Hi all
First post on Civ Fanatics. I'm new to modding and have released a few Warhammer Fantasy-themed civs, which you may have seen over the last few days. I know my way around XML and all but have definitely realised it only goes so far.
I want to amend the UA of one of my released civs and need a hand using Lua to do it. Basically, the UA I want is:
"All units gain +XX% combat strength when fighting Civilisations that have declared war on you at any time during the game."
I've managed to (sort of) get a Lua test script hooked in to my mod, but don't really know where to start with writing code to achieve the above. If anyone could point me in the right direction I'd be very grateful. If anyone actually wants to write me this code, I'd be even more grateful, and would of course give you credits in the mod.
Thanks in advance for any help. Looking forward to joining the community.
- RSJ
First post on Civ Fanatics. I'm new to modding and have released a few Warhammer Fantasy-themed civs, which you may have seen over the last few days. I know my way around XML and all but have definitely realised it only goes so far.
I want to amend the UA of one of my released civs and need a hand using Lua to do it. Basically, the UA I want is:
"All units gain +XX% combat strength when fighting Civilisations that have declared war on you at any time during the game."
I've managed to (sort of) get a Lua test script hooked in to my mod, but don't really know where to start with writing code to achieve the above. If anyone could point me in the right direction I'd be very grateful. If anyone actually wants to write me this code, I'd be even more grateful, and would of course give you credits in the mod.
Thanks in advance for any help. Looking forward to joining the community.

- RSJ