[REQ] Small Warlords SDK Change

Elhoim

Iron Tower Studio Dev
Joined
Nov 3, 2004
Messages
2,896
Location
San Isidro, Argentina.
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!
 
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
 
Many thanks! I´ll let you know how it went!
 
Back
Top Bottom