[SDK] Combat Engineers (New Promotions and Game Mechanics!)

cool mod combat engineers are a great idea, also what files are involved in adding a promotion...i know thats a modding question but what the heck

Lots of files actually to add a most effective promotion. You have to edit the promotion xml to add a promotion and its attribute. Then Edit the SDK to make the AI use the new promotion, and also to add help text in the Civilopedia and then add the help text to a text file xml.
 
I'm trying to merge this with my mod, but I am getting some compiling errors with cvunit.cpp. I can fix some errors and compile, but I need help on others. :confused:

Code:
1>------ Build started: Project: CvGameCoreDLL, Configuration: Release Win32 ------
1>Performing Makefile project actions
1> "C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\cl.exe" /nologo /MD /O2 /Oy /Oi /G7 /DNDEBUG /DFINAL_RELEASE /Fp"Release\CvGameCoreDLL.pch" /GR /Gy /W3 /EHsc /Gd /Gm- /DWIN32 /D_WINDOWS /D_USRDLL /DCVGAMECOREDLL_EXPORTS /Yu"CvGameCoreDLL.h" /IBoost-1.32.0/include /IPython24/include /I"C:\Program Files\Microsoft Visual C++ Toolkit 2003/include" /I"C:\Program Files\WindowsSDK/Include" /I"C:\Program Files\WindowsSDK/Include/mfc" /I"C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\CvGameCoreDLL\Boost-1.32.0/include" /I"C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\CvGameCoreDLL\Python24/include" /FoRelease\CvUnit.obj /c CvUnit.cpp
1>CvUnit.cpp
1>CvUnit.cpp(441) : error C2039: 'getEventReporterIFace' : is not a member of 'CvDLLUtilityIFaceBase'
1>        c:\Program Files\CvGameCoreDLL\CvDLLUtilityIFaceBase.h(43) : see declaration of 'CvDLLUtilityIFaceBase'
1>CvUnit.cpp(441) : error C2227: left of '->unitCreated' must point to class/struct/union
1>CvUnit.cpp(3558) : error C2065: 'pWorkingCity' : undeclared identifier
1>CvUnit.cpp(3619) : error C2227: left of '->updateYield' must point to class/struct/union
1>        type is ''unknown-type''
1>CvUnit.cpp(3619) : error C3861: 'pWorkingCity': identifier not found, even with argument-dependent lookup
1>NMAKE : warning U4010: 'Release\CvUnit.obj' : build failed; /K specified, continuing ...
1>NMAKE : warning U4011: 'Release\CvGameCoreDLL.dll' : not all dependents available; target not built
1>NMAKE : warning U4011: 'Release' : not all dependents available; target not built
1>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
1>Build log was saved at "file://c:\Program Files\CvGameCoreDLL\Release\BuildLog.htm"
1>CvGameCoreDLL - 6 error(s), 3 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I've attached the files in question in case they are necessary to look out.
 
getEventReporterIFace is a remnant from pre-BTS3.19 code. Use CvEventReporter::getInstance() instead (search for it in the code to see how to use it).
 
did anyone/is anyone able to bring this up to 3.19?

Yeah, good question:) If someone would have asked me about my Engineering mod I would have said... what mod? Almost totally forgot about this little gem. Is there anyone that has updated this mod. I can check into it this weekend perhaps... can't remmeber a thing about this so don't know what all it would take.
 
Back
Top Bottom