Hey,
2-Questions:
where i can find the file in the patch.pack file, where i can unlock the factions
for the custom battle?
And where is the file for the factions in the campaign, to unlock them too?
I hope someone can help me^^
Greetz,
Malak![]()
Hey,
2-Questions:
where i can find the file in the patch.pack file, where i can unlock the factions
for the custom battle?
And where is the file for the factions in the campaign, to unlock them too?
I hope someone can help me^^
Greetz,
Malak![]()
Here is a good place to start as i have my own on pages 9 & 10 and the first page has a good faction unlocker for custom battle: http://www.twcenter.net/forums/showthread.php?t=234011
Campaign is here: http://www.twcenter.net/forums/showthread.php?t=234251
Last edited by ToonTotalWar; March 27, 2009 at 06:56 PM.
i know these files, but i want to do it by myself.
Cause i'm interested in creating a Mod wich doesn't include each "unlockable" faction.
Please give me an answer, what ive too do to unlock these factions by myself!^^
![]()
Last edited by Malak410; March 28, 2009 at 05:30 AM.
The factions for campaign are in the starpos.esf wich is still hard to mod.
For custom battle that's in the faction db, with 2 entries early and late availability either on true or false.
MrThib, thanks for the info, but could you be more specific?
startpos.esf --> CAMPAIGN_ENV/CAMPAIGN_MODEL/WORLD/FACTION_ARRAY/FACTION (the one I'd like to modify) --> and which data do I have to modify?
faction_id - int
faction_db_name - uft16
faction_display_name - utf16
unknown - Boolean
unknown - Boolean
Is Major Faction? - Boolean
unknown - Binary Data
Official Religion - utf16
unknown - Boolean
capitol_region_id - Int
capitol_region_id - Int
unknown - Boolean
Is Emergent? - Boolean
unknown -Uint
unknown - Binary Data
unknown - int
unknown - int
Main AI mode - utf16 (FULL or MAINTAINANCE)
AI Personality - utf16
protector faction_id - int
I have not tried yet to deal with the starpos...
But from looking at it, I think you should follow the tutorial about emergant factions. I don't think it's CAMPAIGN_ENV/CAMPAIGN_MODEL/WORLD/FACTION_ARRAY/FACTION
but more CAMPAIGN_PREOPEN_MAP_INFO/CAMPAIGN_PLAYER_SETUP/PLAYER_ARRAY/
then you find your faction and slect one PLAYER_SETUP (not inside it with victory condition etc...), you should see that:
for non playable faction change the second boolean to true must do the trick.france
false
true
false
I'm not really used to this through or even have I tested it....
There are a couple of bolean values, visible in the ESF editor that are set to true for major/playable factions, but false for minors. These values show up on either side of the official religion identifier. What's odd is, setting those values to true for a faction your editing causes ETW to crash. I don't know what they do but the game sure doesn't like it when you fiddle with them.
Under the Patronage of Valus the Indefatigable.