View Full Version : [REQ] Small Warlords SDK Change


Elhoim
Aug 11, 2006, 11:17 AM
Hi! I would like that someone that works with the SDK a lot would made a cvgamecoredll.dll of Warlords for me. I want to change a little line in CvTeam.cpp:

if (GET_TEAM(GET_PLAYER((PlayerTypes)iJ).getTeam()).A I_getAttitude(eTeam) >= ATTITUDE_PLEASED)
{
GET_PLAYER((PlayerTypes)iJ).AI_changeMemoryCount(( (PlayerTypes)iI), MEMORY_DECLARED_WAR_ON_FRIEND, 1);

I want to change ATTITUDE_PLEASED to ATTITUDE_FRIENDLY, so that when I attack a civ, only the REAL friends hate for that, not one that is +1 pleased.

Many Thanks!

Gunner
Aug 11, 2006, 03:27 PM
Is that the only change Elhoim? Is it just that you don't have a compiler or something? If thats the case then I should be able to do it tonight some time.

Elhoim
Aug 11, 2006, 04:10 PM
Thank you Gunner! I tried downloading all the programs and stuff, and got lost in the way. Besides it was a lot of hassle for one little line... Many thanks again and see you at the RFC forums! :D

Gunner
Aug 11, 2006, 07:00 PM
Ok here it is. I was a complete moron and forgot to do some important steps the first time I tried to build it. So tell me if you get any errors or something like that, but everything should be alright.

http://www.civfanatics.net/uploads12/CvGameCoreDLL1.zip

Elhoim
Aug 11, 2006, 09:42 PM
Many thanks! I´ll let you know how it went!