-
December 02, 2013, 06:31 PM
#1
Laetus
Noob DB Building Recruitment
Okay, total noob with nothing but the file pack manager, here.
I would like to build a simple mod that makes building-->recruitment progressions for certain factions (*cough* *barbarians* *cough*) more sequential. For example, X building level 1 gives me a level 1 spearmen, level two gives a level two spearman, level 3 building level 3 spearman, lv.4 lvl 3 spearman +1 exp, etc.
Which database do I go to to modify unit output from buildings, and how should I go about changing it without breaking stuff?
Thanks.
-
December 02, 2013, 06:43 PM
#2
Re: Noob DB Building Recruitment
You want the "building_units_allowed" table, I'd explain in much greater detail but you'll be able to tell what it does instantly. Here's a quick run down.
For each record you have a building ID, a unit ID and an XP amount. (There are more fields but they are not important here)
So if as you put it building X to recruit spear units, your table would look like:
building ID, unit ID, experience
building_X_1, spearUnit_lvl1, 0
building_X_2, spearUnit_lvl2, 0
building_X_3, spearUnit_lvl3, 0
building_X_4, spearUnit_lvl3, 1
-
December 03, 2013, 06:36 PM
#3
Laetus
Re: Noob DB Building Recruitment
Thanks! Where do I go to change public order penalties?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules