I pretty much understand the relationship between Civilization, Personality, PersonalityTrait, and PersonalityTraits_Perks. I am able to get my sponsor to show up on game setup, icon, and help text (which explains its unique trait).
I have the following basic markup: In CivBEPersonality_My_Sponsor.xml:
<GameData>
<Personalities>
<Row>
<Type>PERSONALITY_MY_SPONSOR</Type>
<ScriptName>MySponsorPersonality</ScriptName>
<UniquePersonalityTrait>PERSONALITY_TRAIT_CHARACTER_CULTURE_A</UniquePersonalityTrait>
</Row>
</Personalities>
</GameData>
I'm simply using Franco-Iberia's personality as a template, only replacing the faction's name.
I'm keeping the UniquePersonalityTrait the same.
I also happened to create a script MySponsorPersonality.lua, and put the same exact code as what was in FrancoIberiaPersonality.lua.
local Personality = hmake CvPersonalityScript{};
----------------------------------------------------
-- Constants
----------------------------------------------------
local VARIABLE_TRAIT_OPTIONS = {
--TODO
};
----------------------------------------------------
-- Methods
----------------------------------------------------
function Personality.OnInit(playerType : number)
end
return Personality;
I don't think the above does anything, really. They all look identical for all sponsors.
I configured CivBEPersonality_My_Sponsor.xml to build OnModActivated and to UpdateDatabase, like we're supposed to.
I also included MySponsorPersonality.lua - as InGameUIAddin, and Import into VFS False.
The game loads, however, I'm losing a lot of graphic elements - all water is gone, I can't see units, I can't see artifacts.
Is there anything wrong with my setup?
As aside questions:
1. How do you open both ModBuddy and FireTuner at the same time?
2. What are those log files that everybody talks about in FireTuner that might explain anything that went wrong?
I have the following basic markup: In CivBEPersonality_My_Sponsor.xml:
Spoiler :
<GameData>
<Personalities>
<Row>
<Type>PERSONALITY_MY_SPONSOR</Type>
<ScriptName>MySponsorPersonality</ScriptName>
<UniquePersonalityTrait>PERSONALITY_TRAIT_CHARACTER_CULTURE_A</UniquePersonalityTrait>
</Row>
</Personalities>
</GameData>
I'm simply using Franco-Iberia's personality as a template, only replacing the faction's name.
I'm keeping the UniquePersonalityTrait the same.
I also happened to create a script MySponsorPersonality.lua, and put the same exact code as what was in FrancoIberiaPersonality.lua.
Spoiler :
local Personality = hmake CvPersonalityScript{};
----------------------------------------------------
-- Constants
----------------------------------------------------
local VARIABLE_TRAIT_OPTIONS = {
--TODO
};
----------------------------------------------------
-- Methods
----------------------------------------------------
function Personality.OnInit(playerType : number)
end
return Personality;
I don't think the above does anything, really. They all look identical for all sponsors.
I configured CivBEPersonality_My_Sponsor.xml to build OnModActivated and to UpdateDatabase, like we're supposed to.
I also included MySponsorPersonality.lua - as InGameUIAddin, and Import into VFS False.
The game loads, however, I'm losing a lot of graphic elements - all water is gone, I can't see units, I can't see artifacts.
Is there anything wrong with my setup?
As aside questions:
1. How do you open both ModBuddy and FireTuner at the same time?
2. What are those log files that everybody talks about in FireTuner that might explain anything that went wrong?