I had this CTD problem after I altered some of the files to enable night battles etc. The cause was a missing 'a' in the noctophiliac trait. Starting a campaign leads to a rebuild of the map.rwm, which involves parsing the EDU etc files. If you made a mistake at altering a file, you will get a CTD.Originally Posted by MerlinusCDXX
My standard procedure to use EB and BI is (the character ' only shows the beginning and end of a file or folder name):
1. copy the whole 'Rome - Total war' folder (including subfolders) to a folder named 'EB11'
2. install EB11 to this new 'EB11' folder and add all fixes
3. copy the whole 'EB11' folder to a folder named 'EB11 mod'
4. afterwards only files in the 'EB11 mod' are changed by me
5. Make a copy of the folder 'EB11 mod\eb\data\world\maps\campaign\imperial_campaign
and rename that copy to: 'barbarian_invasion' (you should now have two folders in the 'campaign' folder called 'imperial_campaign' and 'barbarian_invasion')
6. Make a copy of the file 'EB11 mod\eb\data\text\imperial_campaign_regions_and_ settlement_names.txt
and rename that copy to 'barbarian_invasion_regions_and_settlement_names.txt'
7. Edit the file 'EBV11 mod\EB\Data\world\maps\campaign\barbarian_invasion\descr_strat.txt' by using notepad++ or a similar text editor. (DO NOT use Wordpad. There have problems been reported when using wordpad or even the standard windows notepad.)
at the beginning of the file change
'campaign imperial_campaign'
into
'campaign barbarian_invasion'
8. Delete the file 'EB11 mod\eb\data\world\maps\base\map.rwm'
9. Make a shortcut with a targetline '"EB11 mod\RomeTW-BI.exe" -mod:eb -show_err' (eg: "D:\Program Files (x86)\The Creative Assembly\EBV11 mod\RomeTW-BI.exe" -mod:eb -show_err
10. edit the file 'EBV11 mod\EB\Data\text\campaign_descriptions.txt
replace all 'IMPERIAL_CAMPAIGN_' with 'BARBARIAN_INVASION_'
11. You will use this shortcut to start EB. EB will then use the engine of BI but nothing more (no night battles etc)
12. to enable night battles and the traits for it:
a. Edit the file 'EBV11 mod\EB\Data\world\maps\campaign\barbarian_invasion\descr_strat.txt'
change the line ';options bi' to 'options +prebattle_night_battle_tickbox'
change the line ';night_battles_enabled' to 'night_battles_enabled'
this gives 4star generals or better the ability to fight during the night
b. edit file 'EB11 mod\EB\Data\export_descr_VnVs_enums.txt'
look for:
Noctophilic
Noctophilic_desc
Noctophilic_effects_desc
Noctophilic_gain_desc
and replace with:
Noctophiliac
Noctophiliac_desc
Noctophiliac_effects_desc
Noctophiliac_gain_desc
and add the following lines immediately before or after the above lines:
Night_Fighter
Night_Fighter_desc
Night_Fighter_effects_desc
c. edit the file 'EB11 mod/eb/data/export_descr_character_traits.txt'
look for ';NIGHT FIGHTING SECTION'
beginning with this line are the triggers for the nightfighting traits
change:
;Trigger diet_of_carrots_1
; WhenToTest CharacterTurnStart
;
; Condition Trait NightBattleCapable = 0
; and IsGeneral
; and Attribute Command >= 4
;
; Affects NightBattleCapable 6 Chance 100
;
;;------------------------------------------
;Trigger diet_of_carrots_2
; WhenToTest PostBattle
;
; Condition IsGeneral
; and Attribute Command >= 1
; and IsNightBattle
; and Trait NightBattleCapable = 0
; and WonBattle
;
; Affects NightBattleCapable 6 Chance 100
;
;;------------------------------------------
;Trigger night_battle_crushing_victory_attacker
; WhenToTest PostBattle
;
; Condition WasAttacker
; and IsGeneral
; and WonBattle
; and BattleSuccess >= clear
; and BattleOdds < 2
; and IsNightBattle
;
; Affects Noctophilia 1 Chance 100
;
;;------------------------------------------
;Trigger night_battle_crushing_victory_defender
; WhenToTest PostBattle
;
; Condition not WasAttacker
; and IsGeneral
; and WonBattle
; and BattleSuccess >= clear
; and BattleOdds < 2
; and IsNightBattle
;
; Affects Noctophilia 1 Chance 100
;
;;------------------------------------------
;Trigger night_battle_crushing_loss_attacker
; WhenToTest PostBattle
;
; Condition WasAttacker
; and IsGeneral
; and not WonBattle
; and BattleSuccess >= clear
; and BattleOdds >= 0.5
; and IsNightBattle
;
; Affects Noctophobia 1 Chance 66
;
;;------------------------------------------
;Trigger night_battle_crushing_loss_defender
; WhenToTest PostBattle
;
; Condition not WasAttacker
; and IsGeneral
; and not WonBattle
; and BattleSuccess >= clear
; and BattleOdds >= 0.5
; and IsNightBattle
;
; Affects Noctophobia 1 Chance 66
by deleting the leading ';' to:
Trigger diet_of_carrots_1
WhenToTest CharacterTurnStart
Condition Trait NightBattleCapable = 0
and IsGeneral
and Attribute Command >= 4
Affects NightBattleCapable 6 Chance 100
;------------------------------------------
Trigger diet_of_carrots_2
WhenToTest PostBattle
Condition IsGeneral
and Attribute Command >= 1
and IsNightBattle
and Trait NightBattleCapable = 0
and WonBattle
Affects NightBattleCapable 6 Chance 100
;------------------------------------------
Trigger night_battle_crushing_victory_attacker
WhenToTest PostBattle
Condition WasAttacker
and IsGeneral
and WonBattle
and BattleSuccess >= clear
and BattleOdds < 2
and IsNightBattle
Affects Noctophilia 1 Chance 100
;------------------------------------------
Trigger night_battle_crushing_victory_defender
WhenToTest PostBattle
Condition not WasAttacker
and IsGeneral
and WonBattle
and BattleSuccess >= clear
and BattleOdds < 2
and IsNightBattle
Affects Noctophilia 1 Chance 100
;------------------------------------------
Trigger night_battle_crushing_loss_attacker
WhenToTest PostBattle
Condition WasAttacker
and IsGeneral
and not WonBattle
and BattleSuccess >= clear
and BattleOdds >= 0.5
and IsNightBattle
Affects Noctophobia 1 Chance 66
;------------------------------------------
Trigger night_battle_crushing_loss_defender
WhenToTest PostBattle
Condition not WasAttacker
and IsGeneral
and not WonBattle
and BattleSuccess >= clear
and BattleOdds >= 0.5
and IsNightBattle
Affects Noctophobia 1 Chance 66
13. I never bothered with adding shiltrom, swimming, shieldwall etc. since this would result in massive changes in the EDU file
Bookmarks