-
Night Battles and Imperial Campaign.
Ok, i have BI, 1.5-1.6 and since i love night battles in BI i was wondering if there could be a mod that could add night battles to the Imperial Campaign, at least let me know if its possible
if this is mentioned in another topic, please let me know~:)
-
Re: Night Battles and Imperial Campaign.
I had night battles enabled in XGM, but I think they were killed by the 1.5/1.6 patch (i.e. you can't enable them for the Imperial Campaign now).
-
Re: Night Battles and Imperial Campaign.
I managed to get night battles working again, so you could try the latest version of XGM.
-
Re: Night Battles and Imperial Campaign.
Any easy way of explaining how to enable Night Battles in the Imperial Campaign. Is it a simple enough job?
-
Re: Night Battles and Imperial Campaign.
its a trait called diet_of_carrots (not kiddin!!!!! no seriously!) or something similar in the BI traits but there has to be something other than that....
-
Re: Night Battles and Imperial Campaign.
So does anyone except DimeBagHo knows how to mod in night battles in the imperial campaign, both for V1.3 and V1.5 of RTW.
I have looked at XGM descr_strat.txt files and they have the night_battles_enabled line in it, but i believe that in V1.5 you need an additional line, bi_options or something. I am still playing with a mod which hasnt updated for V1.5 (Enhancement Pack) so would like to know how does one get night battles in V1.3 which can't have the bi_options line in either of the descr_strat files (BI or RTW in V1.3/V1.4).
I believe DimeBagHo is off on holiday or something as he hasn't responded to his XGM thread at TWC either. So if anyone else knows, specially with regard to V1.3, it will be much appreciated.
Thanks
-
Re: Night Battles and Imperial Campaign.
You need the "options bi" line for 1.5, and I think the night_battles_enabled line for 1.3
Then you need to copy the traits and triggers from bi for NightBattleCapable to add NightBattle to your generals, and that's it.
If you want, you can also put some night battle event images into the UI folder but that's not absolutely necessary.
-
Re: Night Battles and Imperial Campaign.
Quote:
Originally Posted by alpaca
You need the "options bi" line for 1.5, and I think the night_battles_enabled line for 1.3
Then you need to copy the traits and triggers from bi for NightBattleCapable to add NightBattle to your generals, and that's it.
If you want, you can also put some night battle event images into the UI folder but that's not absolutely necessary.
Thanks for the help alpaca. Could you kindly elaborate on "copy the traits and triggers from bi for NightBattleCapable to add NightBattle to your generals". Like for example which .txt file and where do i move the relevent text to?!
Thanks.
EDIT: I just checked the export_descr_character_trait.txt files in both the RTW data folder and the BI data folder. They both have these line added:
;------------------------------------------
Trait NightBattleCapable
Characters family
NoGoingBackLevel 1
AntiTraits Noctophobia
Level Night_Fighter
Description Night_Fighter_desc
EffectsDescription Night_Fighter_effects_desc
Threshold 6
Effect NightBattle 1
The Mod I am using (Enhancement pack) must have included these lines in the RTW train file as well, and I also have the night_battles-enabled in my descr_strat.txt file. Yet, the night battles are not available, not even the greyed out box when your commander is not capable of night battles....
-
Re: Night Battles and Imperial Campaign.
Hmm, unfortunately I don't have 1.3 to test, so I don't really know what you have to do. In 1.5, adding the "options bi" line enables it.
I thought in 1.3 "night_battles_enabled" should do the same.
Maybe you can try to give a character the NightBattleCapable trait in desc_strat and see if that changes anything.
Also check if you have the triggers called "diet_of_carrots1" and "diet_of_carrots2" in your export_descr_character_traits.txt
-
Re: Night Battles and Imperial Campaign.
Quote:
Originally Posted by alpaca
Hmm, unfortunately I don't have 1.3 to test, so I don't really know what you have to do. In 1.5, adding the "options bi" line enables it.
I thought in 1.3 "night_battles_enabled" should do the same.
Maybe you can try to give a character the NightBattleCapable trait in desc_strat and see if that changes anything.
Also check if you have the triggers called "diet_of_carrots1" and "diet_of_carrots2" in your export_descr_character_traits.txt
I checked the export_descr_character_traits.txt file and it doesn't seem to have the "diet_of_carrots_1" and "diet_of_carrots_2" triggers. The BI export_descr_character_traits.txt file does have the above two triggers.
Should I try copy pasting these triggers? and I am not sure how to give a character the NightBattleCapable trait in desc_strat.txt file.
Thanks.
-
Re: Night Battles and Imperial Campaign.
Hmm just copy the trigger to any point in the trigger section of your original file. Then start a game with a faction that has a general with at least 4 stars and see if he has the "Night Fighter" trait, if he doesn't, end a turn and check again.
Then tell me what you got ;)
-
Re: Night Battles and Imperial Campaign.
well i got it to work but with a lot of trial and error..and i forgot to backup so it really scared me but...
export_desc_character_trait:
add to trait section:
;------------------------------------------
Trait NightBattleCapable
Characters family
NoGoingBackLevel 1
AntiTraits Noctophobia
Level Night_Fighter
Description Night_Fighter_desc
EffectsDescription Night_Fighter_effects_desc
Threshold 6
Effect NightBattle 1
add to trigger section:
;------------------------------------------
;--Night Battle----------------------------
;------------------------------------------
;------------------------------------------
Trigger diet_of_carrots_1
WhenToTest CharacterTurnStart
Condition Trait NightBattleCapable = 0
and IsGeneral
and Attribute Command >= 5
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 >= 0.5
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 >= 0.5
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 BattleOdds < 1.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 BattleOdds < 1.5
and IsNightBattle
Affects Noctophobia 1 Chance 66
export_desc_VnV_enum:
add to end:
Night_Fighter
Night_Fighter_desc
Night_Fighter_effects_desc
desc_strat:
; Custom campaign script generated by Romans Campaign Map Editor
campaign imperial_campaign
options bi
playable
romans_julii
romans_brutii
romans_scipii
egypt
seleucid
carthage
parthia
gauls
germans
britons
greek_cities
macedon
pontus
armenia
dacia
numidia
scythia
spain
thrace
end
unlockable
end
nonplayable
romans_senate
slave
end
start_date -270 summer
end_date 14 summer
night_battles_enabled
brigand_spawn_value 10
pirate_spawn_value 28
(rest the same)
data\text\export_vnv.txt:
¬--------------------
{Night_Fighter} Night Fighter
{Night_Fighter_desc}
This trait allows a general to fight a battle at night.
{Night_Fighter_effects_desc}
+1 Command when fighting at night
¬--------------------
that should be it
-
Re: Night Battles and Imperial Campaign.
True, I forgot the text descriptions...
Glad to hear that it works, though, I was afraid for a moment that it wouldn't.
-
Re: Night Battles and Imperial Campaign.
Thanks guys, i'll try it out right now.
EDIT:
@rs2k2
Did you get the torches working. I had earlier managed to get the night battles working in V1.5 with simply adding BI_option in the descr_strat.txt along with a few more trigers in the export_descr_Character_traits.txt, but the torches were missing from the units in the battle.
Anyhow, I'll try your above procedure and should find out for myself.
EDIT 2:
These can also be added under Traits.
;------------------------------------------
Trait Noctophobia
Characters family
NoGoingBackLevel 4
AntiTraits Noctophilia, NightBattleCapable
Level Alone_in_the_Dark
Description Alone_in_the_Dark_desc
EffectsDescription Alone_in_the_Dark_effects_desc
Threshold 2
Effect NightBattle -1
Level Night_Terrors
Description Night_Terrors_desc
EffectsDescription Night_Terrors_effects_desc
Threshold 3
Effect NightBattle -2
Effect PersonalSecurity 1
Level Noctophobic
Description Noctophobic_desc
EffectsDescription Noctophobic_effects_desc
Threshold 6
Effect NightBattle -3
Effect PersonalSecurity 2
;------------------------------------------
Trait Noctophilia
Characters family
NoGoingBackLevel 4
AntiTraits Noctophobia
Level Likes_the_Dark
Description Likes_the_Dark_desc
EffectsDescription Likes_the_Dark_effects_desc
Threshold 2
Effect NightBattle 1
Level Night_Owl
Description Night_Owl_desc
EffectsDescription Night_Owl_effects_desc
Threshold 3
Effect NightBattle 2
Level Noctophilic
Description Noctophilic_desc
EffectsDescription Noctophilic_effects_desc
GainMessage Noctophilic_gain_desc
Threshold 6
Effect NightBattle 3
-
Re: Night Battles and Imperial Campaign.
They are already in, they just can't be triggered without the diet_of_carrots or some other way of giving them.
-
Re: Night Battles and Imperial Campaign.
Followed the instructions, but sorry, doesn't work with V1.3. I think rs2k2 is using V1.5 as he has used 'options bi' in descr_strat. When i use this line in V1.3 it doesnt allow an Imperial Campaign to start, but does allow it to be loaded from a save, and yet the Night battles are missing. I have the trait given to one of the generals from the start, yet the option never appears in the V1.3 campiagn. I tried the same thing with V1.5 and it worked fine (though without torches).
Here are the pics from my V1.3 Scythian campaign test.
http://www.thefreeimagehosting.com/U...449090RTW1.jpg
http://www.thefreeimagehosting.com/U...886591RTW2.jpg
-
Re: Night Battles and Imperial Campaign.
Quote:
Originally Posted by sik1977
Thanks guys, i'll try it out right now.
EDIT:
@rs2k2
Did you get the torches working. I had earlier managed to get the night battles working in V1.5 with simply adding BI_option in the descr_strat.txt along with a few more trigers in the export_descr_Character_traits.txt, but the torches were missing from the units in the battle.
Anyhow, I'll try your above procedure and should find out for myself.
There weren't any torches, don't know how to get that in. And I am using 1.5
I basically looked at the Extended Greek Mod and found the things that were different. You'll have to look at the 1.3 version of the mod, sorry.
Maybe try removing the options bi line? From what I heard the only difference was that options bi was added to desc_strat
-
Re: Night Battles and Imperial Campaign.
hmm, maby once someone gets this working someone should make a mini mod to allow night battles
-
Re: Night Battles and Imperial Campaign.
Quote:
Originally Posted by rs2k2
There weren't any torches, don't know how to get that in. And I am using 1.5
I basically looked at the Extended Greek Mod and found the things that were different. You'll have to look at the 1.3 version of the mod, sorry.
Maybe try removing the options bi line? From what I heard the only difference was that options bi was added to desc_strat
I did try that, but to no avail. I suppose we need DimeBagHo to fill in the gaps for us, and he seems to be off these days. I posted this question at his XGM Mod thread at TWC but there is no reply to date.
I simply hope either someone else with the requisite know-how helps us out with V1.3 (and maybe how to add torches, as I believe DimeBagHo managed in his XGM mod), or (more on the selfish side) Borsook releases his long awaited update (RTW Enhancement Pack + MM) for V1.5 which is suppose to have the night battles activated/implemented fully.
Thanks for all the help rs2k2 and alpaca.
-
Re: Night Battles and Imperial Campaign.
I got a few replies in another thread at TWC. I am posting the relevent posts hereunder, please note that the instructions seem to work with V1.5 only and I still am not sure what's missing for V1.3.
Quote:
Originally Posted by DimeBagHo
Zarax: Not exactly back - but I do have a (crappy and expensive) dial-up connection here.
Sik: Here goes (from memory, so some details might be wong, left out, etc).
1. Torches: You need a copy of BI. Take a look in bi/data/models_units/. You should find a folder called attachments. Copy the whole thing into the corresponding location in your main data folder.
2. Traits: Take a look at the BI traits files. Transfer all the traits, triggers, etc., relating to night battles to your rtw VnV files. (I won't try to explain trait modding here, but you can just use the VnV files from XGM if you want to).
3. descr_strat.txt - You need to add the "options bi" and "enable night battles" lines. Take a look at the strat file that comes with BI 1.6 for an example.
I think that's it, but you might want to copy all the lighting files from BI as well, otherwise the RTW lighting looks a little weird.
This is the other post, but is not very clear (to me atleast):
Quote:
Originally Posted by Centuri0n
Thanks DimeBagHo, I got it to work as you can see...
http://www.twcenter.net/forums/showp...&postcount=471 :)
I edited the descr_strat.txt and replaced (or added) the following files from your XGM:
models/textures/#lensflare.tga.dds lensflare.tga.dds
models_effects/torch4.CAS
models_effects/textures/#fireball_corona.tga.dds rao_torch01.tga.dds Torch.tga.dds
models_engine/heavy_onager_spotfx.CAS heavy_onager_torches.CAS heliopolis_spotfx.CAS middle_tower_spotfx.CAS
models_engine/textures/siege_torch.tga.dds
text/export_VnVs.txt
ui/all files relating to night battles (too many to list)
descr_battle_map_lighting_and_fog_control.txt
descr_daytypes.txt (the size of this file REALLY increased in your XGM, how come?)
descr_effects.txt
descr_effects_engine_torch.txt
descr_effects_torch_fire.txt
descr_skydome.txt
descr_solar_system.txt
export_descr_character_traits.txt
export_descr_VnVs_enums.txt
Anyway, that's it. I'm not sure all these changes were necessary so please let me know if I made any mistakes.
DimeBagHo hasn't yet confirmed if all the above changes are needed. If someone has any additional info, or how to get the night battles running in both V1.3 and v1.5, please do post.
-
Re: Night Battles and Imperial Campaign.
they have night battles in 1.0 but I've never done them because the stupid game keeps saying my commander can't lead night battles
-
Re: Night Battles and Imperial Campaign.
Quote:
Originally Posted by Lanemerkel1
they have night battles in 1.0 but I've never done them because the stupid game keeps saying my commander can't lead night battles
V1.0?? of what??
-
Re: Night Battles and Imperial Campaign.
Quote:
Originally Posted by sik1977
V1.0?? of what??
RTW
-
Re: Night Battles and Imperial Campaign.
So this is Important.
Has someone got Night battles in the campaign using the 1.5 patch? not 1.6 BI. Its important to know if you can add options_bi without having BI and just the downloaded patch 1.5
Let me know.
Lt
-
Re: Night Battles and Imperial Campaign.
Nevermind it WORKS IN 1.5!
-
Re: Night Battles and Imperial Campaign.
Quote:
Originally Posted by Lanemerkel1
RTW
I see. I suppose its the missing Traits and Triggers in the export_descr_charater_trait.txt file (as discussed above in detail).
Lt1956, do u have any idea from the above discussion as to why the night battles are not being enabled with 1.3 despite taking all the steps as one would take for 1.5 night battle activation except the line 'options bi' cannot be placed in the descr_strat.txt in V1.3.
Thanks.
-
Re: Night Battles and Imperial Campaign.
For v1.3 i belive you need the line: night_battles_enabled in descr_strat
-
Re: Night Battles and Imperial Campaign.
Quote:
Originally Posted by Lusted
For v1.3 i belive you need the line: night_battles_enabled in descr_strat
Yes I have that line ofcourse. If you see the above posts in the thread and the pics I posted, you would see all that was tried.
I suppose only DimeBagHo has the correct answer, and he is still on vacation. He posts sometimes at TWC but thats rare.
I am actually stuck at V1.3 because of Borsooks RTWBI Enhancement Pack which has not yet been updated for V1.5 and for some unknown reason Borsook has gone missing from TWC completely for three weeks now after announcing the latest update to be released in a couple of days. Hope he is alright. Borsook did partially implement the night battles by adding the night battles enabled line in descr_strat and putting most of the triggers and traits etc. in the relevent files. But night battles werent fully working and he said they will be in V1.5. I have managed to get the night battles running in V1.5 but V1.3 has been a no go despite all efforts on my part.
-
Re: Night Battles and Imperial Campaign.
Just a note for everyone who has night battles working now. The options bi line does more than just enable night battles. It also changes the way unit descriptions are handled. Without the bi options the first paragraph of the description (everything up to the first /n/n) is ignored. With bi options the whole description is displayed (i.e. including the old capabilities and "code fix" stuff). You also get the sparkly effect when units gain experience. There may be other effects that I haven't noticed yet.
-
Re: Night Battles and Imperial Campaign.
I did notice the description change which is minor, says good at hiding in forest etc. But on the sparkle effect I have not seen it? I just played a battle in campaign and let a unit get another flag or chevron and I seen no sparkles?
I am using 1.5 patch and while its not the vanilla Its SPQR 6.0 its still using the BI options and no sparkles thank goodness. I hated them in BI.
Lt