CvGameCoreDLL.dll / SDK modding

need my speed

Rex Omnium Imperarium
Joined
Oct 3, 2009
Messages
2,497
Location
European Union (Magna Batavia)
Throughout the years (even made two topics about it on this forum), I've consistently been unsuccessful in doing anything with the SDK, so I figured I might as well ask others to do it.

My mod is based on RevolutionDCM, the source files of which, as well as the CvGameCoreDLL.dll, can be found attached to this post.

I would like the following XML options for CIV4BuildingInfos.xml (an example of what such a tag would make possible is between the brackets):

BonusCommerceModifiers (Wheat gives +10% culture and +25% espionage)
BonusCommerceChanges (Wheat gives +10 gold and +25 science)
BonusYieldChanges (Wheat gives +30 production)

BonusYieldModifiers (Wheat gives +10% food and +25% commerce) already exists, and is, as such, not necessary to be created.

BonusCommerceModifiers can be found here, but, because of my SDK failures, I can't use it with my mod.

I'm pretty sure mods such as Rise of Mankind and Caveman2Cosmos have the other two tags, so it should be possible.

So, yeah... It's obviously perfectly fine if nobody wants to go through a lot of effort just to do this. But hey, as a Dutch saying goes (well, paraphrased); not shooting is always missing. :p
 

Attachments

not shooting is always missing. :p
:ar15::run:
Now you really need your speed :satan:

I think your real problem is failing to compile a working DLL. You don't say how you fail, which would be the first step to correct that problem.

Any reasonable implementation would add an array of yield bonuses. That way when the bonus works for one type, it works for all with no further coding. However I haven't looked at the code for this specific feature and I don't intend to do so (at least not right now).
 
Back
Top Bottom