Results 1 to 7 of 7

Thread: question with script

Hybrid View

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

    Default question with script

    i added few lines to script, to change the battle model of leaders and heirs ( of the mod of faction leaders of barser) but doesn't work
    someone can tell me why?
    there is the lines of script
    Spoiler Alert, click show to read: 
    monitor_event BecomesFactionLeader FactionType lithuania
    change_battle_model lithuania leader pagan_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType norway
    change_battle_model norway leader norwegian_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType cumans
    change_battle_model cumans leader pagan_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType knights_templar
    change_battle_model knights_templar leader Crusader_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType jerusalem
    change_battle_model jerusalem leader Crusader_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType aragon
    change_battle_model aragon leader Iberian_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType kievan_rus
    change_battle_model kievan_rus leader Russian_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType hungary
    change_battle_model hungary leader french_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType poland
    change_battle_model poland leader french_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType portugal
    change_battle_model portugal leader Iberian_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType denmark
    change_battle_model denmark leader french_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType russia
    change_battle_model russia leader Russian_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType scotland
    change_battle_model scotland leader french_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType sicily
    change_battle_model sicily leader Italian_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType venice
    change_battle_model venice leader Italian_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType hre
    change_battle_model hre leader hre_general
    end_monitor
    monitor_event BecomesFactionLeader FactionType france
    change_battle_model france leader french_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType teutonic_order
    change_battle_model teutonic_order leader teutonic_grand_master2
    end_monitor
    monitor_event BecomesFactionLeader FactionType ireland
    change_battle_model ireland leader Irish_King
    end_monitor
    monitor_event BecomesFactionLeader FactionType spain
    change_battle_model spain leader spanish_viceroy
    end_monitor
    monitor_event BecomesFactionLeader FactionType england
    change_battle_model england leader edward
    end_monitor
    monitor_event BecomesFactionLeader FactionType turks
    change_battle_model turks leader sultan_nur_eldin
    end_monitor
    monitor_event BecomesFactionLeader FactionType egypt
    change_battle_model egypt leader sultan_saladin
    end_monitor
    monitor_event BecomesFactionLeader FactionType kwarezm
    change_battle_model kwarezm leader Eastern_General
    end_monitor
    monitor_event BecomesFactionLeader FactionType moors
    change_battle_model moors leader Eastern_General
    end_monitor
    monitor_event BecomesFactionLeader FactionType milan
    change_battle_model milan leader welsh_king
    end_monitor
    monitor_event BecomesFactionLeader FactionType england
    and I_EventCounter world_is_round = 1
    change_battle_model england leader spanish_capn
    end_monitor
    monitor_event BecomesFactionLeader FactionType france
    and I_EventCounter world_is_round = 1
    change_battle_model france leader spanish_capn
    end_monitor
    monitor_event BecomesFactionLeader FactionType spain
    and I_EventCounter world_is_round = 1
    change_battle_model spain leader spanish_capn
    end_monitor
    monitor_event BecomesFactionLeader FactionType denmark
    and I_EventCounter world_is_round = 1
    change_battle_model denmark leader spanish_capn
    end_monitor
    monitor_event BecomesFactionLeader FactionType aragon
    and I_EventCounter world_is_round = 1
    change_battle_model aragon leader spanish_capn
    end_monitor
    monitor_event BecomesFactionLeader FactionType hre
    and I_EventCounter world_is_round = 1
    change_battle_model hre leader spanish_capn
    end_monitor
    monitor_event BecomesFactionLeader FactionType scotland
    and I_EventCounter world_is_round = 1
    change_battle_model scotland leader spanish_capn
    end_monitor
    monitor_event BecomesFactionLeader FactionType norway
    and I_EventCounter world_is_round = 1
    change_battle_model norway leader spanish_capn
    end_monitor
    monitor_event BecomesFactionLeader FactionType poland
    and I_EventCounter world_is_round = 1
    change_battle_model poland leader spanish_capn
    end_monitor
    monitor_event BecomesFactionLeader FactionType hungary
    and I_EventCounter world_is_round = 1
    change_battle_model hungary leader spanish_capn
    end_monitor
    monitor_event BecomesFactionLeader FactionType venice
    and I_EventCounter world_is_round = 1
    change_battle_model venice leader spanish_capn
    end_monitor
    monitor_event BecomesFactionLeader FactionType milan
    and I_EventCounter world_is_round = 1
    change_battle_model milan leader spanish_capn
    end_monitor
    monitor_event BecomesFactionLeader FactionType sicily
    and I_EventCounter world_is_round = 1
    change_battle_model sicily leader spanish_capn
    end_monitor
    monitor_event BecomesFactionLeader FactionType ireland
    and I_EventCounter world_is_round = 1
    change_battle_model ireland leader spanish_capn2
    end_monitor
    monitor_event BecomesFactionLeader FactionType portugal
    and I_EventCounter world_is_round = 1
    change_battle_model portugal leader spanish_capn2
    end_monitor


    ;----------------Faction heir model-----------

    monitor_event BecomesFactionLeader FactionType norway
    change_battle_model norway heir principe
    end_monitor
    monitor_event BecomesFactionLeader FactionType england
    change_battle_model england heir principe
    end_monitor
    monitor_event BecomesFactionLeader FactionType denmark
    change_battle_model denmark heir principe
    end_monitor
    monitor_event BecomesFactionLeader FactionType france
    change_battle_model france heir principe
    end_monitor
    monitor_event BecomesFactionLeader FactionType hre
    change_battle_model hre heir principe
    end_monitor
    monitor_event BecomesFactionLeader FactionType hungary
    change_battle_model hungary heir principe
    end_monitor
    monitor_event BecomesFactionLeader FactionType poland
    change_battle_model poland heir principe
    end_monitor
    monitor_event BecomesFactionLeader FactionType jerusalem
    change_battle_model jerusalem heir principe
    end_monitor
    monitor_event BecomesFactionLeader FactionType scotland
    change_battle_model scotland heir principe
    end_monitor

    i have ss6.4
    sorry for my bad english
    Last edited by Cuauhtemoc; March 30, 2011 at 04:01 PM.

  2. #2
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: question with script

    Do you mean it doesn't work as in the battle models wont change, or that it causes a CTD?

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  3. #3

    Default Re: question with script

    Quote Originally Posted by Caesar Clivus View Post
    Do you mean it doesn't work as in the battle models wont change, or that it causes a CTD?
    the models wont change in the battle

  4. #4
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: question with script

    Did you start a new campaign? Changes to the script aren't savegame compatible.

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  5. #5

    Default Re: question with script

    I started a new campaign but does not change the model

  6. #6
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: question with script

    Just to make sure, you've waited for the faction leader to change?

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  7. #7

    Default Re: question with script

    what you mean is if i wait to anyone of king and prince dies? yes, even i kill my king to see if changes the model to next king but not, either the new heir
    you mean that?
    but I will continue testing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •