Importing the LeaderRelations to FfH

Opera

Deity
Joined
Sep 21, 2008
Messages
4,643
Hi there!

I tried to import your very interesting mod LeaderRelations to Fall From Heaven. I checked these files:
Code:
CvEnums.h
CvGlobals.cpp
CvGlobals.h
CvInfos.cpp
CvInfos.h
CvPlayer.cpp
CvPlayer.h
CvPlayerAI.cpp
I 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?
 
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.
 
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:
 
Back
Top Bottom