Johanobesus
Chieftain
- Joined
- May 4, 2007
- Messages
- 17
Is there a hard coded limit to the number of resources a corporation can use? If not, how can the limit be increased?
I tried to add extra resources in CIV4CorporationInfo.xml. This leads to a bug: "more siblings than memory allocated in CIV4CorporationInfo.xml::read", related to the expression, "(inumsibs <=GC.getnum_corporation_prereq_bonuses())" in civinfos.cpp.
I tracked down the line in civinfos.cpp, but I have no idea what any of that means, or how to edit it to allow more resources, or if anything should be edited in this file.
I have searched, but only one person has asked about adding more resources for corporations, and he got no answer. In fact there wasn't much on modding corporations at all. If anyone can help, I would be very grateful.
I tried to add extra resources in CIV4CorporationInfo.xml. This leads to a bug: "more siblings than memory allocated in CIV4CorporationInfo.xml::read", related to the expression, "(inumsibs <=GC.getnum_corporation_prereq_bonuses())" in civinfos.cpp.
I tracked down the line in civinfos.cpp, but I have no idea what any of that means, or how to edit it to allow more resources, or if anything should be edited in this file.
I have searched, but only one person has asked about adding more resources for corporations, and he got no answer. In fact there wasn't much on modding corporations at all. If anyone can help, I would be very grateful.