How to Mod Population Cap?

Hello Modders!

I’m a beginner modder and want to know how to make Tuning Pack mods that make the unlimited pop cap.
What i already know it’s how to make villager cost 0,1.

So any of you know how? seems can’t find the strings to edit the pop cap.

Thankyou

https://wiki.aoemods.com/wiki/Population_Cap

attributes-army-races
Roman’s vehicle pop means Prelate
Mongol’s vehicle pop means sheep

or just create a gamemode, and in the scar script put this

function Mod_OnInit()
	for i, player in pairs(PLAYERS) do
		
		-- Set player starting Ages to Imperial
		-- Ages are mapped to: Dark Age = 1, Feudal Age = 2, Castle Age = 3, Imperial Age = 4
		Player_SetCurrentAge(player.id, 1)
		
		-- Set player starting resources
		-- RT stands for Resource Type
		Player_SetResource(player.id, RT_Food, 1000)		
		Player_SetResource(player.id, RT_Wood, 50)
		Player_SetResource(player.id, RT_Gold, 0)
		Player_SetResource(player.id, RT_Stone, 0)
		
		-- Set starting population cap to 200
		Player_SetMaxPopulation(player.id, CT_Personnel, 200)
		
	end
end

my bad the last line should be:

Player_SetMaxCapPopulation(player.id, CT_Personnel, _mod.var_max_pop)

can you share the “villager cost 0.1” to all? would love to add it to my friend’s tuning :smiley:

do I replace the Player_SetMaxPopulation(player.id, CT_Personnel, 200) with Player_SetMaxCapPopulation(player.id, CT_Personnel, _mod.var_max_pop) or i just have to add _mod.var_max_pop at the end of 200?