Results 1 to 30 of 32

Thread: Night Battles and Imperial Campaign.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #12

    Default 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:

    &#172;--------------------

    {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

    &#172;--------------------

    that should be it
    Last edited by rs2k2; 12-29-2005 at 15:07.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO