I theoretically should be able to do Lua for the Machu, if I have enough time.
local iCiv = GameInfoTypes.CIVILIZATION_SENSHI_MANCHU
local Banners = {
[1] = GameInfoTypes.PROMOTION_BANNER_1,
[2] = GameInfoTypes.PROMOTION_BANNER_2,
[3] = GameInfoTypes.PROMOTION_BANNER_3,
[4] = GameInfoTypes.PROMOTION_BANNER_4,
[5] = GameInfoTypes.PROMOTION_BANNER_5,
[6] = GameInfoTypes.PROMOTION_BANNER_6,
[7] = GameInfoTypes.PROMOTION_BANNER_7,
[8] = GameInfoTypes.PROMOTION_BANNER_8
}
function SetBanner(iPlayer, iUnit)
local pPlayer = Players[iPlayer]
if pPlayer:GetCivilizationType() == iCiv then
local pUnit = pPlayer:GetUnitByID(iUnit)
-- this would probably be the most logical place to put any further checks on units that shouldn't receive banners, e.g. if you don't want civilians getting them or something
for k,v in pairs(Banners) do -- Events.SerialEventUnitedCreated fires in various undesirable places such as embarkation, so we need to check for existing banners
if pUnit:IsHasPromotion(v) then
return
end
end
pUnit:SetHasPromotion(Banners[Game.Rand(1,#Banners)], true)
end
end
Events.SerialEventUnitCreated.Add(SetBanner)
Code:local iCiv = GameInfoTypes.CIVILIZATION_SENSHI_MANCHU local Banners = { [1] = GameInfoTypes.PROMOTION_BANNER_1, [2] = GameInfoTypes.PROMOTION_BANNER_2, [3] = GameInfoTypes.PROMOTION_BANNER_3, [4] = GameInfoTypes.PROMOTION_BANNER_4, [5] = GameInfoTypes.PROMOTION_BANNER_5, [6] = GameInfoTypes.PROMOTION_BANNER_6, [7] = GameInfoTypes.PROMOTION_BANNER_7, [8] = GameInfoTypes.PROMOTION_BANNER_8 } function SetBanner(iPlayer, iUnit) local pPlayer = Players[iPlayer] if pPlayer:GetCivilizationType() == iCiv then local pUnit = pPlayer:GetUnitByID(iUnit) -- this would probably be the most logical place to put any further checks on units that shouldn't receive banners, e.g. if you don't want civilians getting them or something for k,v in pairs(Banners) do -- Events.SerialEventUnitedCreated fires in various undesirable places such as embarkation, so we need to check for existing banners if pUnit:IsHasPromotion(v) then return end end pUnit:SetHasPromotion(Banners[Game.Rand(1,#Banners)], true) end end Events.SerialEventUnitCreated.Add(SetBanner)
A couple of things you might find useful. Loving your work so far!
Jurchens/Manchus
Dacia (sorry I kept you waiting, been super busy)
Senshi, are you planning a Dacia civ? So glad someone is planning this. We also need Illyria, maybe Lusitania, and Pontus for the foes of Rome.
Senshi, is there any reason not to use the Manchu icon and color scheme from the Firaxis scenario they're in?
I am somewhat interested in doing a Dacia largely due to Hiram's fantastic icon for them, but they're definitely not top priority. There are plenty of civs not on my shortlist that I'd like to do (Hawke's Australia, Tairona, heck, maybe even Las Vegas) but I'm somewhat tentative to confirm any civs unless I finish all my shortlisted ones, and depending on Civ 6's quality.
I also have basically no ideas for Dacia
If you like, I'm really interested in doing Dacia so if you want to work with me on it I would love to .
Perhaps, but it's really too early to tell.
Anyway, guys, here are some things I'd love to get done soon, in vague order of priority!
- Formalise Evenks and Nenets designs so I can focus on code:
- I like the Nenets design, but am open to suggestions
- I'm in desperate need of stuff for the Evenks, but am also fairly stubborn about the uniques (Reindeer Archer UU and Shevenchedek (shaman hut with the cool duck poles) UB/UI is what I really want)
- Get unit models! (This is hard)
- Find a flag promotion icon for the Banners
- Get people to do pedias for me
- Everything Manchu-related that I can't do which I've forgotten
- Get Evenks and Nenets art
Any status on the Tehuelche?
I'll get it done soon maybe hopefully
I know that feel.
Nah, I'm just lazy
Perhaps, but it's really too early to tell.
Anyway, guys, here are some things I'd love to get done soon, in vague order of priority!
- Formalise Evenks and Nenets designs so I can focus on code:
- I like the Nenets design, but am open to suggestions
- I'm in desperate need of stuff for the Evenks, but am also fairly stubborn about the uniques (Reindeer Archer UU and Shevenchedek (shaman hut with the cool duck poles) UB/UI is what I really want)
- Get unit models! (This is hard)
- Find a flag promotion icon for the Banners
- Get people to do pedias for me
- Everything Manchu-related that I can't do which I've forgotten
- Get Evenks and Nenets art
Senshi, Can you list the pedias you need?