Hello everyone. I'm a longtime lurker, but first time poster.
I have a few questions regarding corporation modding. First, is there a reference/tutorial for modding corporations? If there is, I can't seem to find it.
Failing the first, could someone help me understand the structure for corporations? I found the CIV4CorporationInfo.xml file. Most of the values seem pretty self-explanatory. I'm not entirely sure what is going on with the <CommercesProduced> and <YieldsProduced> though. I assume these give food, culture, etc. bonuses, but what is the order, and what unit of measure is the number? Also, what about things like happiness/health: is there a way for a corporation to add (fractional) amounts of health/unhealth or happiness/unhappiness per resource consumed?
Also, am I correct in thinking that, since founding a corporation is a matter of building its HQ, that the prereq techs in CIV4BuildingInfos.xml are the ones that are the real prereqs for the corporation in question? If so, does the order matter? (I see <PrereqTech> first, followed by <TechTypes> which contains multiple <PrereqTech>)
If it helps, my intentions are to simply change the currently existing corporations in terms of resources consumed and benefits provided (and probably name/civilopedia/graphics, but that can wait till later). I don't want to add extra corporations or anything fancy like that.
Thanks in advance
I have a few questions regarding corporation modding. First, is there a reference/tutorial for modding corporations? If there is, I can't seem to find it.
Failing the first, could someone help me understand the structure for corporations? I found the CIV4CorporationInfo.xml file. Most of the values seem pretty self-explanatory. I'm not entirely sure what is going on with the <CommercesProduced> and <YieldsProduced> though. I assume these give food, culture, etc. bonuses, but what is the order, and what unit of measure is the number? Also, what about things like happiness/health: is there a way for a corporation to add (fractional) amounts of health/unhealth or happiness/unhappiness per resource consumed?
Also, am I correct in thinking that, since founding a corporation is a matter of building its HQ, that the prereq techs in CIV4BuildingInfos.xml are the ones that are the real prereqs for the corporation in question? If so, does the order matter? (I see <PrereqTech> first, followed by <TechTypes> which contains multiple <PrereqTech>)
If it helps, my intentions are to simply change the currently existing corporations in terms of resources consumed and benefits provided (and probably name/civilopedia/graphics, but that can wait till later). I don't want to add extra corporations or anything fancy like that.
Thanks in advance
