I would like to create this: units on camps gain XP's every turns. A little bit, like 1-3. Any thoughts ? Seen this in a mod already ?
Thank you so much LeeS, incredibly useful again :-)
Thanks LeeS, another very helpful post. I can code my way through basic LUA, http://steamcommunity.com/sharedfiles/filedetails/?id=893261596 I can...
Hi all, I would like to get a table of all techs that are ingame. Not only already researched, but all techs. I guess it involves...
Now that I am a little more familiarized with LUA thanks to Gedemon, LeeS, and a few nice others, I am going to seriously start this project. Wish...
:D Love feminism :lol: And welcome Vincour. That's from a newcomer, so take it with a grain of salt :-)
Ok, case solved, thanks again :-)
I can't find the WorldBuilderPlacement file, could you point me to it please ?
This is great, thank you, adding you to my credit list :)
Actually, I am using TurnEnd in my script. Whatever. I do have an "issue", is that healing of a unit is applied before the TurnEnd sequence...
Thanks a lot. Do you know if those effects can be called through LUA ?
Hi all, I would like to improve my mod, and give a little random chance that a unit, while moving, will create a road. Are you aware of a way to...
cromcrom submitted a new resource: Passable mountains and static and moving attrition - Moving and static attrition + passable mountains This...
This mod will damage moving units, according to crossed terrains types. Static units will also be damaged. Sometimes, a catastrophe will happen,...
I started playing civ games with the first one. I am a self taught modder/coder, and modded "many" other games: Legend of grimrock 1 an 2, NWN2,...
Released on Steam. Here is the lua code: function damageAndDestroyUnit(pPlayer,iUnit,minDam,maxDam) local tKillUnits = {} local pPlayerToCheck...
Thank you so much for this great Tut, you make this world a better place. Cheers :-)
function damageAndDestroyUnit(pPlayer,iUnit,minDam,maxDam) local tKillUnits = {} local pPlayerToCheck = Players[pPlayer] local pUnits =...
Ok, thanks a lot. I will then look into this when the time comes. Now for the best part: the system I aim :) Base attrition: moving unit lose...
Yes, thanks for helping me sorting that out. function PlayerUnitMoved(iPlayer, iUnitID, iX, iY) if iPlayer == 0 then print("The Unit's...
Separate names with a comma.