Hydromancerx
C2C Modder
Yeah I am interested to see how if it cause ROM to be unbalanced or not. Hopefully it just adds some complexity and doesn't break it.
I won't mess with existing buildings in RoM because I don't know how to override them to begin with (unless someone could tell me how).
Also, what xml tag(s) would i look for to allow for certain buildings to add the food/commerce/health bonus's to the ones in the city vicinity?
Ah ok. So I'd need just one of the 'building infos.xml' for each building and the schema xml will work for each one right? I'll have to look at the folder structure to see how I want it arranged. Any thing else I should be aware of when 'creating' new buildings?It's way simpler than you think. Copy and paste the XML entry for the building in the base XML file over to your modular file and change anything you want there. The new modular values will be loaded overtop the base XML. I do it a bunch of times, look in Modules/Afforess/Required, I edit loads of RoM buildings. In fact, I showed everyone how to do that with units in a tutorial on the modmod forum, in a sticky now.
So I'd basically just create a copy and edit each one then?I created this example file for buildings, which shows you how to use every new tag I added. It comes with the most up to date schema to use for buildings too.
View attachment 237601
Ah ok. So I'd need just one of the 'building infos.xml' for each building and the schema xml will work for each one right? I'll have to look at the folder structure to see how I want it arranged. Any thing else I should be aware of when 'creating' new buildings?
So I'd basically just create a copy and edit each one then?
Ah I see what you mean. I just have one last question. I notice that there are sometimes repeated values of say something like iyield/icommerce/ietc. and some have 0 values but are repeated like this:If you need a really good example, look at how generalstaff and I added new buildings modularly. For each building, you need the buildinginfos to describe it's attributes, the the buildingclassinfos to determine if it is a wonder or regular building, the artdefinesbuilding, to referance the art files, (if any), and button, and the Gametext. I rarely start from scratch, I just copy and paste an existing module I've made, edit the name and the attributes, the art and the text, and viola, new buildings.
<iYield>5</iYield>
<iYield>0</iYield>
<iYield>0</iYield>
Ah I see what you mean. I just have one last question. I notice that there are sometimes repeated values of say something like iyield/icommerce/ietc. and some have 0 values but are repeated like this:
If I cut down on some of the unused values by just deleting them altogether when they aren't used, will it affect the building?Code:<iYield>5</iYield> <iYield>0</iYield> <iYield>0</iYield>
<iYield>0</iYield>
<iYield>0</iYield>
<iYield>7</iYield>
What did I forget? I'm lost, am I supposed to be doing something@TechXLtd, you forgot the Warriors of God mod I have converted to "A New Dawn".
Ok so whats the status of this? Its been too quiet.
If you "attempt" to build it, they will bug you till it's doneOk so whats the status of this? Its been too quiet.
Ah duct tape. I love the stuff. If you live where I live, you can never have enough of itShh, Silence is Golden (and Duct Tape is Platinum)
Shh, Silence is Golden (and Duct Tape is Platinum)
If you "attempt" to build it, they will bug you till it's done.
It will be ready when it's ready. I test all my stuff to be sure at almost all the bugs are out and to make sure everything is up to my comprehensive 128 point maintenance inspection![]()
If you "attempt" to build it, they will bug you till it's done.
It will be ready when it's ready. I test all my stuff to be sure at almost all the bugs are out and to make sure everything is up to my comprehensive 128 point maintenance inspection
Ah duct tape. I love the stuff. If you live where I live, you can never have enough of it![]()
PS Every Boy Scout should have duct tape in their backpack
Amen to that!![]()
I use to call it the "11th Essential" since it was missing from the Boy Scout's "10 Essentials".
For those not scouts here ya go.
http://en.wikipedia.org/wiki/Scout_Outdoor_Essentials
http://en.wikipedia.org/wiki/Ten_Essentials
Ah "zero" (0). From it all life and everything springs, and to it everything goesI call it the 0th Essential