Yo my Sho Hoe's!
So after being frustrated at the lack of guides to add buildings I decided to figure it out myself.
Follow me with this if you will please:
Campaign_Save_Game -> Compressed_Data -> Campaign_Model -> World -> Regions_Array -> Now this is where you pick the region you want. They are listed as; Regions_Array - 0 to Regions_Array 66. Just expand one of the and you will open 'Region' and the name of the province will be the second line.
Expand the region line and look for 'Region_Slot_Manager' then go to 'Region_Slot_Array'. This is it folks. these 10 slot arrays are the buildings of the provinces. The specialty building will be the last building always. This provides insight since all 10 arrays exist regardless if building exist or not. This leads me to believe that the building slots are hard coded definitively.
And we continue...
having expanded the 'region_slot_array' go to 'region_slot', the to 'Buildings_manager' then open 'Buildings' and bingo you have it! now the two important variables are the first line and the 3rd line. The third line is the name of the building.
Now the first line is trickier. I have no idea what this number correlates to but it is necessary. Changing the name of the building wont work by itself. You need to change that number. For example, for adding the stable building, I change the name then I add the different number. How did I find this number? well I just looked through the other provinces till I found one that had the stables then I copied that number into my table and ta-da it worked.
The best part about this seems to be you don't even have to exit the game. just save the file then load it up in the game and its all done. So I would suggest experimenting and making note of the numbers of these buildings in a normal campaign if you want the more advanced buildings.
Hoped this helped especially since my MCAT is this Thursday and I should prolly be studying for that
Peace out Sho Hoe's
EDit: you can add as many specialty buildings as you want, but you will only be able to upgrade one. Also only one resource will show up on the map...even provinces without resource (like Iyo) will get a resource on the map (pretty neat actually) but only the one with the latest entry will be on the map. you can add building by simply duplicating each array and then changing the names and numbers of th ebuildings...I gave Iyo like 12 buildings but could only upgrade one specialty...I havent seen about the other normal buildings yet...
EDIT 2 : so i tried normal buildings...do not try, immediate CTD...so stick with just modding specials




Reply With Quote






