Hey folks,
I'm poking my head back in after a long while away from modding. I made some graphics for a couple of historical and a few playful civs that my buddy and I never finished making. I can't do code at all, but I can make a few pretty looking things here and there, and I do think at least...
Got some lesser-known Ancient Egyptian mods in the works, and we could use a boost for a unit called a Tuataua ship. Nobody knows what the real ones looked like, but a model based on this kind of sketch would work nicely. Thanks in advance, kind stranger
Is this at all what everyone's trying to get at?
GameEvents.PlayerDoTurn.Add(
function(iPlayer)
local fPercentage = 100; --just to make sure I notice if it works
local pPlayer = Players[iPlayer];
if (pPlayer:IsEverAlive()) then
if (pPlayer:GetCivilizationType() ==...
Erm... no dice. Could it be that "local iTotalNewScience = 0" is sabotaging "local iNewScience = otherPlayer:GetScience() * fPercentage" if "pCapital:SetNumRealBuilding(GameInfoTypes.BUILDING_FRIENDLY_SCIENCE, iTotalNewScience)" happens after the chunk that "local iNewScience =...
Following up - how would one go about giving a civ a science boost for the duration of a DoF? At the moment we have a dummy building that yields 1 science (BUILDING_FRIENDLY_SCIENCE), and the following Lua written:
GameEvents.PlayerDoTurn.Add(
function(iPlayer)
local fPercentage = 0.1...
Aha! I have learned how to post a new thread. Here is my spiel:
I'm new to modding, new to coding, and have overstuffed myself and burned my eyes on tutorials and guides. I've been troubleshooting this thing for the whole time that I've been working on it. At first the text strings came...
Hey all, this was at one time a comment on a different thread, because I didn't understand how to make a new thread and assumed that you had to have a certain number of posts to do that. I'm trying to make a mod to add Tarzan (leading the Mangani), and I'm struggling. Everybody gets a lil cred...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.