View Full Version : Importing the LeaderRelations to FfH


Opera
May 27, 2009, 06:46 AM
Hi there!

I tried to import your very interesting mod LeaderRelations to Fall From Heaven. I checked these files:CvEnums.h
CvGlobals.cpp
CvGlobals.h
CvInfos.cpp
CvInfos.h
CvPlayer.cpp
CvPlayer.h
CvPlayerAI.cppI imported the relevant content to the same files of FfH sources. I then proceeded to import the XML file and the schema file. It doesn't seem to work; I set up a leader to have -20 to another and tested, expecting Furious, but got just Annoyed. So, I think it doesn't work.

Is there some things I could have overlooked? Some things I should know?

stmartin
Jul 20, 2009, 08:20 PM
One thing comes to my mind: the game didn't read the new LeaderRelation XML correctly. I want you to do a search in HoTK's whole SDK, looking for the keyword 'leaderRelation', you'll find that keyword in some files not listed above, such as CvXMLUtilitySet.cpp, or some similar filename like that.

Hope this could help and happy modding.

Opera
Aug 03, 2009, 05:33 PM
Thanks for the answer, even if a bit late :p
I already figured out what it was, although I can't remember. I guess I overlooked some changes at first. It was my first time modding the SDK, so...
But it's fine now :goodjob: