So I'm a total noob, is there any guide that would help me understand how to create lets say a new building for the empire that lets me recruit dwarf miners?
So I'm a total noob, is there any guide that would help me understand how to create lets say a new building for the empire that lets me recruit dwarf miners?
I'd recommend either downloading a mod that adds new buildings, and seeing how they did it.
Or downloading the Assembly Kit via Steam - Tools and clicking the Help - Search All and searching a particular building to see all the instances it appears and reverse engineering it.
Good luck, I don't have a clue how to do it so I can't help ya.
You'll probably need to add in a whole new "dwarf miner" unit specific to the Empire.
By comparison, adding the building should be simple enough. I think you only need an entry for the building itself, one or more entries for the building chain (ie if the building has multiple tiers), and whatever entries you want for the building's effects (non-hero recruitment is not an effect; unit recruitment is done by assigning the unit to the building or building chain).
I'll also echo Caligula's suggestion to poke around a mod which already achieves your target, particularly if it's limited in scope (ie a mod which adds just one new building, or just one new unit). And, the Global Search tool in DaVE is very powerful.
I'm wrong. It's probably about 5-6 tables you'll need to add entries to, and recruitment is indeed assigned by one of the building tables (building_units_allowed).
As for your real question, there's no guide I know of. Most modding guides focus on adding new units, and I can't say I've seen one written well enough for a new modder to readily follow.