Tried everything to get it to work including the compatibility line but as of now nothings worked despite it auto enabling now and not giving me warnings for incompatibility, guy who made the mod straight up abandoned it
I think to make it work for the Maori I need to take out the water in this condition only for them: (adjacentPlot ~= nil) and not (adjacentPlot:IsWater() or adjacentPlot:IsImpassable()) then. But I need to know how to treat the special case of the maori civilization.
Hello, Does anyone has an idea on how I can add unique units like the eagle warrior or the gaesatae instead of warriors when the correct civilizations are chosen? I think the only other civ of interest is the cree with the Okihtcitaw. .
Can say that this is not working for me. Have all DLC. Inserted the line that gunde99 stated. <Properties> <CompatibleVersions>2.0</CompatibleVersions> <Name>Mynex's More Units - Single Player</Name Installed to root directory of game in "Mods" folder. Tried with this mod in it's own folder as well as without the folder. Does not show under additional content. It was last updated in 2016. I see recent comments with no reply from author. So this mod should be considered abandoned. gunde99; if you have any additional info that would get it to work. I and others would appreciate it. Thanks Edit; Update: I can no longer say I'm smarter than a 5th grader. I put the mod in root directory of game instead of putting in documents. It now works, thanks to gunde99. You do need to insert that line as I posted above. Mine is now working in game.
How to add warriors? EDIT: Ok, it was easy. Open the Data/*.lua file; add at the top:?local numWarriors = 1 local iWarrior = GameInfo.Units["UNIT_WARRIOR"].Index -------------set unit Add below: if numWarriors > 0 then for i = 1, numWarriors do for direction = 1, DirectionTypes.NUM_DIRECTION_TYPES - 1, 1 do adjacentPlot = Map.GetAdjacentPlot(lastPlot:GetX(), lastPlot:GetY(), direction); if (adjacentPlot ~= nil) and not (adjacentPlot:IsWater() or adjacentPlot:IsImpassable()) then break end end pUnit4 = playerUnits:Create(iWarrior, lastPlot:GetX(), lastPlot:GetY()) lastPlot = Map.GetPlot(pUnit:GetX(), pUnit:GetY()); end endAnd that's it.
BTW the mod works on latest version, just need to add the <CompatibleVersion> thing that other people said afore me.
44 comments
(adjacentPlot ~= nil) and not (adjacentPlot:IsWater() or adjacentPlot:IsImpassable()) then.
But I need to know how to treat the special case of the maori civilization.
Does anyone has an idea on how I can add unique units like the eagle warrior or the gaesatae instead of warriors when the correct civilizations are chosen? I think the only other civ of interest is the cree with the Okihtcitaw.
.
EDIT: Never mind, it is working, even though it said not compatible with my version, it still works, i had to enable it myself though.
<Properties>
<CompatibleVersions>2.0</CompatibleVersions>
<Name>Mynex's More Units - Single Player</Name
Installed to root directory of game in "Mods" folder. Tried with this mod in it's own folder as well as without the folder. Does not show under additional content.
It was last updated in 2016. I see recent comments with no reply from author. So this mod should be considered abandoned.
gunde99; if you have any additional info that would get it to work. I and others would appreciate it. Thanks
Edit; Update: I can no longer say I'm smarter than a 5th grader. I put the mod in root directory of game instead of putting in documents. It now works, thanks to gunde99. You do need to insert that line as I posted above. Mine is now working in game.
EDIT: Ok, it was easy.
Open the Data/*.lua file; add at the top:
?local numWarriors = 1
Add below:local iWarrior = GameInfo.Units["UNIT_WARRIOR"].Index -------------set unit
if numWarriors > 0 then
And that's it.for i = 1, numWarriors do
for direction = 1, DirectionTypes.NUM_DIRECTION_TYPES - 1, 1 do
adjacentPlot = Map.GetAdjacentPlot(lastPlot:GetX(), lastPlot:GetY(), direction);
if (adjacentPlot ~= nil) and not (adjacentPlot:IsWater() or adjacentPlot:IsImpassable()) then
break
end
end
pUnit4 = playerUnits:Create(iWarrior, lastPlot:GetX(), lastPlot:GetY())
lastPlot = Map.GetPlot(pUnit:GetX(), pUnit:GetY());
end
end
BTW the mod works on latest version, just need to add the <CompatibleVersion> thing that other people said afore me.
Mynex wrote that You don't have to do anything, but I get those from the start.
Tried to delete the tech and gold lines by myself but then the mod doesn't work.