Problems with SDK

[WTN]Manhattan

Chieftain
Joined
May 13, 2004
Messages
83
Location
Munich, Germany
First of all, I know this might be a completely newbie question, so sorry for that.

I want to integrate a mod component to my Mod (Warlords) from Dale's MOD Code Factory (the Missile part for tactical nukes). I'm using MS Visual C++ 2005 Express Edition like suggested in this thread: http://forums.civfanatics.com/showthread.php?t=196283 (no problems here, I passed the tutorial without any difficulties and compiled the source code). I downloaded Dale's Mod components and copied them over the original files from my mod. I changed the XML as discribed by Dale (this should be alright, I compared my entries with the ones in Dale's complete Combat Mod. I tried to set "true" in the Dales CvDefines.h. I made the followimg entries:

#define DCMMissiles GC.getGameINLINE(true).isOption(GAMEOPTION_DCM_MISSILES) // Dale - Missiles: turn this concept on

Then I saved it and re-compiled it by pressing Build - Build Solution (at least I hope that's how to re-compile it, like I said before, I'm a complete newbie with SDK). Then I copied the CvGameCoreDLL.dll to my Assett folder. When I tried to start my mod, there were a million error messages. Has anyone any idear what could be the problem. Maybe I didn't set the "true" in the CvDefines.h correctly? Or I didn't re-compile the right way? For any help I would be VERY thankful.
 
What kind of error messages do you get?
Problems with the dll normally lead to a complete crash of the game.
Error messages occur if you have python or xml problems.

Matze
 
I made a small mistake in an xml, that's why the errors occure. No more errors now. However, the Mod Component doesn't seem to work. Did I make the right changes in SDK? Or maybe the component is not for Warlords 2.08 ...?
 
Back
Top Bottom