Page 3 of 18 FirstFirst 12345678910111213 ... LastLast
Results 41 to 60 of 360

Thread: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

Hybrid View

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

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    update v1.21 up
    added your fixes gsthoed

  2. #2

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    Sorry guys, fixed and uploaded

  3. #3

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    There is another thread for reporting bugs on SS6.4, if is not a bug caused by the bugfix itself or a bad fix then don't post it here.
    This is just a way of keeping things organized.
    anyway will look at it
    Last edited by Melooo182; June 13, 2014 at 06:42 PM.

  4. #4

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    Inspired and based on the "Text Improvement Project" submod for the v6.3, I had modified the main export_ancillaries.txt files for my setup. The attached file contains a version of those files which is combatible to the bugfix compilation v1.21. Several spelling errors, errors in some typos and, mainly, incorrect effects descriptions are fixed. I hope I'll post something similar for the export_vnvs.txt files soon.

    Comparing the new files to the old ones, I believe that the vast majority of changes need no explanation. However, I feel I have to say something about some changes:
    a) I removed the ancillaries of dearmad_her type for mystras, because they are obsolete.
    b) Kutaisi instead of Batumi in dearmad_her ancillaries for that region (which, by the way, I think it should be renamed to Lazica or Lazica and Abkhazia). Actually, why it was Batumi to begin with?
    c) I replaced Exarch with Eparch for crown_byzantium and odearmad_constantinople ancillaries. As for the city, the title Eparch of Constantinople did exist (http://en.wikipedia.org/wiki/Eparch_...Constantinople); the exarch, as ruler of a distant province, is quite inappropriate. Furthermore, the exarch was an inferior rank to the king, so it is an improper title for the crown_byzantium. Eparch, as a ruler of a province and if we have in mind that the region required to own to acquire the crown_byzantium anciilary is only a fraction of the territory once was "roman", fits better.
    d) Although I felt it was right to do so, I didn't rename the ancillary adultress to adulteress, for combatibility reasons.
    Attached Files Attached Files

  5. #5

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    Similarly to my previous attempt for the ancillaries, instead of reporting tons of bad descriptions of traits or effects of traits, I adjusted the relevant files I had for my own setup in order to comply with the export_descr_character_traits.txt file of the bugfix compilation v1.21.

    This time, along with the export_vnvs.txts, I edited the EDCT file too. Renaming was performed only to levels of traits; so, there is no need to worry for compatibility issues.
    Of course, the changes in EDCT were not meant for bug-fixing; it was just a way "to keep things tidy". I include a complete change-log for the EDCT (along with some notes for some other changes in export_vnvs.txts) in the "SomeNotes" attachement, just in case someone rejects these but wants to keep all the other.
    Attached Files Attached Files

  6. #6

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    Included those text fix for v1.25, albeit with restored British spelling and original misspelled internal names as those chages would probably cause problems with the SMM and submods

    Also made further tweaks where I felt a rephrasing/rewording was needed.

    thanks for doing this.

  7. #7

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    You 're the man, keep on

  8. #8

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    Its like the version ''6.402'' ?

  9. #9

  10. #10

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    When I extract this to my ss 6.4 mods folder it wiped my campaign script clean. like its completely empty..?

    EDIT:
    nevermind i figured that part out, but now after running the setup with only the ai option selected, and again chosing my options, it will not allow me to play. ill chose a faction and press start and it takes me back to the menu screen. any fixes for this?
    Last edited by Banquo; July 06, 2014 at 08:46 PM.

  11. #11
    Campidoctor
    Join Date
    Jan 2005
    Location
    AEnima City, USA
    Posts
    1,645

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    Would this full compilation be compatible with BGRV?
    http://www.twcenter.net/forums/showt...ptional-Extras

  12. #12

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    I don't know but is quite probable that BGRV will overwrite some of the fixes, try it out and share results.

    ...ill chose a faction and press start and it takes me back to the menu screen. any fixes for this?
    that seems like some error in descr_strat.txt, anyone else getting this?

    @Banquo:BTW which era is that?

  13. #13

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    Will all of these fixes and added content be part of Titanium when it comes out?

  14. #14

  15. #15

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    sweeeeeeeeet!

  16. #16

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    This fix is about the repeating "Faction Destroyed" message, along with repeating new faction leader messages for destroyed factions in "vanilla" SS6.4.
    Example of the bug: http://www.twcenter.net/forums/showt...tium-destroyed

    Theory: I suspected that this bug is due to "No Heir Reinforcement" section in campaign_script, which under some conditions spawns family members for AI factions at slave_faction TurnStarts which instantly become FLs, even if this AI faction has been destroyed during the same turn.

    Testing methology: I moddified descr_strat of early campaign, so as to Kwarezms had only one family member. Additionally, in a skeleton campaign_script I use for testing purposes and which does not iclude "No Heir Reinforcement" nor "Death of Leaders" sections, I added the section below, which is similar to what SS6.4 campaign_script looks like regarding Kwarezms and along with a script killing this last FL of Kwarezms during England's first turn. In each iteration, I was starting a (single-player) campaign -with me controlling fatimids- and I was playing for some turns.

    Spoiler Alert, click show to read: 
    Code:
    ;--- No Heir Reinforcement
    declare_counter heir_kwarezm
    monitor_event FactionTurnStart FactionType slave
    
        if I_IsFactionAIControlled kwarezm
        and I_NumberOfHeirs kwarezm < 4
        and I_CompareCounter heir_kwarezm < 3
    ;    and I_FactionLeaderAttribute kwarezm Command < 1000
    
            spawn_army
                faction kwarezm
                character    random_name, named character, age 20, x 449, y 93, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    ME Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_kwarezm 1
        end_if
    
    end_monitor
    
    monitor_event BecomesFactionLeader FactionType kwarezm
        and not FactionIsLocal
        and not Trait FactionRegent >= 1
    
        historic_event kwarezm_king_event
    
    end_monitor
    
    monitor_event BecomesFactionLeader FactionType kwarezm
        and not FactionIsLocal
        and Trait FactionRegent >= 1
    
        historic_event kwarezm_regent_event
    
    end_monitor
    
    ; kill last kwarezm FL in England's turn
    monitor_event FactionTurnStart FactionType england
    
         kill_character kwarezm4leader
         log heir_test
    terminate_monitor
    end_monitor
    
    monitor_event FactionTurnStart FactionType slave
    
        if I_FactionLeaderAttribute kwarezm Command < 1000
        log nope_they_re_alive
        end_if
    end_monitor


    Results: I ran some pre-tests just without the "No Heir Reinforcement" part and there were no issues. Then I added that part and I performed the test for 4 or 5 times; results were all the same.
    On Turn 2, two "Faction Destroyed" and one "new faction leader" messages for Kwarezms were poped up.
    One "Faction Destroyed" and one "new faction leader" messages for Kwarezms were keeping poping up for some subsequent turns. Update: Specifically, it is for up to 3 turns, because of counter's "heir_kwarezm" function.
    "nope_they_re_alive" was logged for every turn of slave faction.

    I removed the semicolon in first monitor (the green part) and rerun the test for some times. On Turn 2, one "Faction Destroyed" message and no "new faction leader" messages for Kwarezms were poped up. No relevant messages in subsequent turns; therefore I consider this bug fixed.

    Credits to Withwnar for this tutorial (http://www.twcenter.net/forums/showt...cluding-hordes)
    Last edited by gsthoed; July 27, 2014 at 05:44 PM. Reason: Update

  17. #17

  18. #18

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    And here are the scripts for the "No Heir Reinforcement" fix:
    Early campaign:
    Spoiler Alert, click show to read: 
    Code:
    ;--------- No Heir Reinforcement ---------
    declare_counter heir_aragon
    declare_counter heir_byzantium
    declare_counter heir_cumans
    declare_counter heir_denmark
    declare_counter heir_egypt
    declare_counter heir_england
    declare_counter heir_france
    declare_counter heir_hre
    declare_counter heir_hungary
    declare_counter heir_jerusalem
    declare_counter heir_kievan_rus
    declare_counter heir_kwarezm
    declare_counter heir_lithuania
    declare_counter heir_milan
    declare_counter heir_mongols
    declare_counter heir_moors
    declare_counter heir_norway
    declare_counter heir_papal_states
    declare_counter heir_poland
    declare_counter heir_portugal
    declare_counter heir_russia
    declare_counter heir_scotland
    declare_counter heir_sicily
    declare_counter heir_spain
    declare_counter heir_teutonic_order
    declare_counter heir_timurids
    declare_counter heir_turks
    declare_counter heir_venice
    
    monitor_event FactionTurnStart FactionType slave
    
        if I_IsFactionAIControlled england
        and I_NumberOfHeirs england < 4
        and I_CompareCounter heir_england < 3
        and I_FactionLeaderAttribute england Command < 1000
            spawn_army
                faction england
                character    random_name, named character, age 20, x 83, y 220, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_england 1
        end_if
    
        if I_IsFactionAIControlled scotland
        and I_NumberOfHeirs scotland < 4
        and I_CompareCounter heir_scotland < 3
        and I_FactionLeaderAttribute scotland Command < 1000
            spawn_army
                faction scotland
                character    random_name, named character, age 20, x 53, y 253, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_scotland 1
        end_if
    
        if I_IsFactionAIControlled denmark
        and I_NumberOfHeirs denmark < 4
        and I_CompareCounter heir_denmark < 3
        and I_FactionLeaderAttribute denmark Command < 1000
            spawn_army
                faction denmark
                character    random_name, named character, age 20, x 146, y 253, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_denmark 1
        end_if
    
        if I_IsFactionAIControlled norway
        and I_NumberOfHeirs norway < 4
        and I_CompareCounter heir_norway < 3
        and I_FactionLeaderAttribute norway Command < 1000
            spawn_army
                faction norway
                character    random_name, named character, age 20, x 114, y 280, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_norway 1
        end_if
    
        if I_IsFactionAIControlled france
        and I_NumberOfHeirs france < 4
        and I_CompareCounter heir_france < 3
        and I_FactionLeaderAttribute france Command < 1000
            spawn_army
                faction france
                character    random_name, named character, age 20, x 92, y 202, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_france 1
        end_if
    
        if I_IsFactionAIControlled hre
        and I_NumberOfHeirs hre < 4
        and I_CompareCounter heir_hre < 3
        and I_FactionLeaderAttribute hre Command < 1000
            spawn_army
                faction hre
                character    random_name, named character, age 20, x 143, y 207, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_hre 1
        end_if
    
        if I_IsFactionAIControlled milan
        and I_NumberOfHeirs milan < 4
        and I_CompareCounter heir_milan < 3
        and I_FactionLeaderAttribute milan Command < 1000
            spawn_army
                faction milan
                character    random_name, named character, age 20, x 137, y 168, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    SE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_milan 1
        end_if
    
        if I_IsFactionAIControlled aragon
        and I_NumberOfHeirs aragon < 4
        and I_CompareCounter heir_aragon < 3
        and I_FactionLeaderAttribute aragon Command < 1000
            spawn_army
                faction aragon
                character    random_name, named character, age 20, x 83, y 150, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    SE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_aragon 1
        end_if
    
        if I_IsFactionAIControlled spain
        and I_NumberOfHeirs spain < 4
        and I_CompareCounter heir_spain < 3
        and I_FactionLeaderAttribute spain Command < 1000
            spawn_army
                faction spain
                character    random_name, named character, age 20, x 32, y 148, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    SE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_spain 1
        end_if
    
        if I_IsFactionAIControlled portugal
        and I_NumberOfHeirs portugal < 4
        and I_CompareCounter heir_portugal < 3
        and I_FactionLeaderAttribute portugal Command < 1000
            spawn_army
                faction portugal
                character    random_name, named character, age 20, x 17, y 123, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    SE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_portugal 1
        end_if
    
        if I_IsFactionAIControlled venice
        and I_NumberOfHeirs venice < 4
        and I_CompareCounter heir_venice < 3
        and I_FactionLeaderAttribute venice Command < 1000
            spawn_army
                faction venice
                character    random_name, named character, age 20, x 161, y 173, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    SE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_venice 1
        end_if
    
        if I_IsFactionAIControlled sicily
        and I_NumberOfHeirs sicily < 4
        and I_CompareCounter heir_sicily < 3
        and I_FactionLeaderAttribute sicily Command < 1000
            spawn_army
                faction sicily
                character    random_name, named character, age 20, x 177, y 114, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    SE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_sicily 1
        end_if
    
        if I_IsFactionAIControlled poland
        and I_NumberOfHeirs poland < 4
        and I_CompareCounter heir_poland < 3
        and I_FactionLeaderAttribute poland Command < 1000
            spawn_army
                faction poland
                character    random_name, named character, age 20, x 222, y 213, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_poland 1
        end_if
    
        if I_IsFactionAIControlled hungary
        and I_NumberOfHeirs hungary < 4
        and I_CompareCounter heir_hungary < 3
        and I_FactionLeaderAttribute hungary Command < 1000
            spawn_army
                faction hungary
                character    random_name, named character, age 20, x 206, y 179, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_hungary 1
        end_if
    
        if I_IsFactionAIControlled kievan_rus
        and I_NumberOfHeirs kievan_rus < 4
        and I_CompareCounter heir_kievan_rus < 3
        and I_FactionLeaderAttribute kievan_rus Command < 1000
            spawn_army
                faction kievan_rus
                character    random_name, named character, age 20, x 292, y 214, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    EE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_kievan_rus 1
        end_if
    
        if I_IsFactionAIControlled russia
        and I_NumberOfHeirs russia < 4
        and I_CompareCounter heir_russia < 3
        and I_FactionLeaderAttribute russia Command < 1000
            spawn_army
                faction russia
                character    random_name, named character, age 20, x 301, y 275, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    EE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_russia 1
        end_if
    
        if I_IsFactionAIControlled byzantium
        and I_NumberOfHeirs byzantium < 4
        and I_CompareCounter heir_byzantium < 3
        and I_FactionLeaderAttribute byzantium Command < 1000
            spawn_army
                faction byzantium
                character    random_name, named character, age 20, x 278, y 148, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    Greek Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_byzantium 1
        end_if
    
        if I_IsFactionAIControlled lithuania
        and I_NumberOfHeirs lithuania < 4
        and I_CompareCounter heir_lithuania < 3
        and I_FactionLeaderAttribute lithuania Command < 1000
            spawn_army
                faction lithuania
                character    random_name, named character, age 20, x 262, y 240, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    Lith Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_lithuania 1
        end_if
    
        if I_IsFactionAIControlled teutonic_order
        and I_NumberOfHeirs teutonic_order < 4
        and I_CompareCounter heir_teutonic_order < 3
    ;    and I_EventCounter inquisition > 0
        and I_FactionLeaderAttribute teutonic_order Command < 1000
            spawn_army
                faction teutonic_order
                character    random_name, named character, age 20, x 232, y 237, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    TO Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_teutonic_order 1
        end_if
    
        if I_IsFactionAIControlled jerusalem
        and I_NumberOfHeirs jerusalem < 4
        and I_CompareCounter heir_jerusalem < 3
        and I_FactionLeaderAttribute jerusalem Command < 1000
            spawn_army
                faction jerusalem
                character    random_name, named character, age 20, x 329, y 78, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_jerusalem 1
        end_if
    
        if I_IsFactionAIControlled turks
        and I_NumberOfHeirs turks < 4
        and I_CompareCounter heir_turks < 3
        and I_FactionLeaderAttribute turks Command < 1000
            spawn_army
                faction turks
                character    random_name, named character, age 20, x 339, y 133, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    ME Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_turks 1
        end_if
    
        if I_IsFactionAIControlled egypt
        and I_NumberOfHeirs egypt < 4
        and I_CompareCounter heir_egypt < 3
        and I_FactionLeaderAttribute egypt Command < 1000
            spawn_army
                faction egypt
                character    random_name, named character, age 20, x 309, y 60, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    ME Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_egypt 1
        end_if
    
        if I_IsFactionAIControlled moors
        and I_NumberOfHeirs moors < 4
        and I_CompareCounter heir_moors < 3
        and I_FactionLeaderAttribute moors Command < 1000
            spawn_army
                faction moors
                character    random_name, named character, age 20, x 40, y 113, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    ME Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_moors 1
        end_if
    
        if I_IsFactionAIControlled kwarezm
        and I_NumberOfHeirs kwarezm < 4
        and I_CompareCounter heir_kwarezm < 3
        and I_FactionLeaderAttribute kwarezm Command < 1000
            spawn_army
                faction kwarezm
                character    random_name, named character, age 20, x 449, y 93, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    ME Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_kwarezm 1
        end_if
    
        if I_IsFactionAIControlled cumans
        and I_NumberOfHeirs cumans < 4
        and I_CompareCounter heir_cumans < 3
        and I_FactionLeaderAttribute cumans Command < 1000
            spawn_army
                faction cumans
                character    random_name, named character, age 20, x 440, y 250, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    Cuman Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_cumans 1
        end_if
    
        if I_IsFactionAIControlled mongols
        and I_NumberOfHeirs mongols < 4
        and I_CompareCounter heir_mongols < 3
    ;    and I_EventCounter mongols_invasion > 0
        and I_FactionLeaderAttribute mongols Command < 1000
            spawn_army
                faction mongols
                character    random_name, named character, age 20, x 502, y 160, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    Keshikten Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_mongols 1
        end_if
    
        if I_IsFactionAIControlled timurids
        and I_NumberOfHeirs timurids < 4
        and I_CompareCounter heir_timurids < 3
    ;    and I_EventCounter timurids_invasion > 0
        and I_FactionLeaderAttribute timurids Command < 1000
            spawn_army
                faction timurids
                character    random_name, named character, age 20, x 502, y 161, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    Keshikten Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_timurids 1
        end_if
    
    end_monitor


    Late campaign:
    Spoiler Alert, click show to read: 
    Code:
    ;--- No Heir Reinforcement
    declare_counter heir_aragon
    declare_counter heir_byzantium
    declare_counter heir_cumans
    declare_counter heir_denmark
    declare_counter heir_egypt
    declare_counter heir_england
    declare_counter heir_france
    declare_counter heir_hre
    declare_counter heir_hungary
    declare_counter heir_jerusalem
    declare_counter heir_kievan_rus
    declare_counter heir_kwarezm
    declare_counter heir_lithuania
    declare_counter heir_milan
    declare_counter heir_mongols
    declare_counter heir_moors
    declare_counter heir_norway
    declare_counter heir_papal_states
    declare_counter heir_poland
    declare_counter heir_portugal
    declare_counter heir_russia
    declare_counter heir_scotland
    declare_counter heir_sicily
    declare_counter heir_spain
    declare_counter heir_teutonic_order
    declare_counter heir_timurids
    declare_counter heir_turks
    declare_counter heir_venice
    
    monitor_event FactionTurnStart FactionType slave
    
        if I_IsFactionAIControlled england
        and I_NumberOfHeirs england < 4
        and I_CompareCounter heir_england < 3
        and I_FactionLeaderAttribute england Command < 1000
            spawn_army
                faction england
                character    random_name, named character, age 20, x 83, y 220, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_england 1
        end_if
    
        if I_IsFactionAIControlled scotland
        and I_NumberOfHeirs scotland < 4
        and I_CompareCounter heir_scotland < 3
        and I_FactionLeaderAttribute scotland Command < 1000
            spawn_army
                faction scotland
                character    random_name, named character, age 20, x 53, y 253, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_scotland 1
        end_if
    
        if I_IsFactionAIControlled denmark
        and I_NumberOfHeirs denmark < 4
        and I_CompareCounter heir_denmark < 3
        and I_FactionLeaderAttribute denmark Command < 1000
            spawn_army
                faction denmark
                character    random_name, named character, age 20, x 146, y 253, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_denmark 1
        end_if
    
        if I_IsFactionAIControlled norway
        and I_NumberOfHeirs norway < 4
        and I_CompareCounter heir_norway < 3
        and I_FactionLeaderAttribute norway Command < 1000
            spawn_army
                faction norway
                character    random_name, named character, age 20, x 114, y 280, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_norway 1
        end_if
    
        if I_IsFactionAIControlled france
        and I_NumberOfHeirs france < 4
        and I_CompareCounter heir_france < 3
        and I_FactionLeaderAttribute france Command < 1000
            spawn_army
                faction france
                character    random_name, named character, age 20, x 92, y 202, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_france 1
        end_if
    
        if I_IsFactionAIControlled hre
        and I_NumberOfHeirs hre < 4
        and I_CompareCounter heir_hre < 3
        and I_FactionLeaderAttribute hre Command < 1000
            spawn_army
                faction hre
                character    random_name, named character, age 20, x 143, y 207, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_hre 1
        end_if
    
        if I_IsFactionAIControlled milan
        and I_NumberOfHeirs milan < 4
        and I_CompareCounter heir_milan < 3
        and I_FactionLeaderAttribute milan Command < 1000
            spawn_army
                faction milan
                character    random_name, named character, age 20, x 137, y 168, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    SE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_milan 1
        end_if
    
        if I_IsFactionAIControlled aragon
        and I_NumberOfHeirs aragon < 4
        and I_CompareCounter heir_aragon < 3
        and I_FactionLeaderAttribute aragon Command < 1000
            spawn_army
                faction aragon
                character    random_name, named character, age 20, x 83, y 150, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    SE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_aragon 1
        end_if
    
        if I_IsFactionAIControlled spain
        and I_NumberOfHeirs spain < 4
        and I_CompareCounter heir_spain < 3
        and I_FactionLeaderAttribute spain Command < 1000
            spawn_army
                faction spain
                character    random_name, named character, age 20, x 32, y 148, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    SE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_spain 1
        end_if
    
        if I_IsFactionAIControlled portugal
        and I_NumberOfHeirs portugal < 4
        and I_CompareCounter heir_portugal < 3
        and I_FactionLeaderAttribute portugal Command < 1000
            spawn_army
                faction portugal
                character    random_name, named character, age 20, x 17, y 123, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    SE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_portugal 1
        end_if
    
        if I_IsFactionAIControlled venice
        and I_NumberOfHeirs venice < 4
        and I_CompareCounter heir_venice < 3
        and I_FactionLeaderAttribute venice Command < 1000
            spawn_army
                faction venice
                character    random_name, named character, age 20, x 161, y 173, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    SE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_venice 1
        end_if
    
        if I_IsFactionAIControlled sicily
        and I_NumberOfHeirs sicily < 4
        and I_CompareCounter heir_sicily < 3
        and I_FactionLeaderAttribute sicily Command < 1000
            spawn_army
                faction sicily
                character    random_name, named character, age 20, x 177, y 114, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    SE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_sicily 1
        end_if
    
        if I_IsFactionAIControlled poland
        and I_NumberOfHeirs poland < 4
        and I_CompareCounter heir_poland < 3
        and I_FactionLeaderAttribute poland Command < 1000
            spawn_army
                faction poland
                character    random_name, named character, age 20, x 222, y 213, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_poland 1
        end_if
    
        if I_IsFactionAIControlled hungary
        and I_NumberOfHeirs hungary < 4
        and I_CompareCounter heir_hungary < 3
        and I_FactionLeaderAttribute hungary Command < 1000
            spawn_army
                faction hungary
                character    random_name, named character, age 20, x 206, y 179, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_hungary 1
        end_if
    
        if I_IsFactionAIControlled kievan_rus
        and I_NumberOfHeirs kievan_rus < 4
        and I_CompareCounter heir_kievan_rus < 3
        and I_FactionLeaderAttribute kievan_rus Command < 1000
            spawn_army
                faction kievan_rus
                character    random_name, named character, age 20, x 292, y 214, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    EE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_kievan_rus 1
        end_if
    
        if I_IsFactionAIControlled russia
        and I_NumberOfHeirs russia < 4
        and I_CompareCounter heir_russia < 3
        and I_FactionLeaderAttribute russia Command < 1000
            spawn_army
                faction russia
                character    random_name, named character, age 20, x 301, y 275, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    EE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_russia 1
        end_if
    
        if I_IsFactionAIControlled byzantium
        and I_NumberOfHeirs byzantium < 4
        and I_CompareCounter heir_byzantium < 3
        and I_FactionLeaderAttribute byzantium Command < 1000
            spawn_army
                faction byzantium
                character    random_name, named character, age 20, x 278, y 148, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    Greek Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_byzantium 1
        end_if
    
        if I_IsFactionAIControlled lithuania
        and I_NumberOfHeirs lithuania < 4
        and I_CompareCounter heir_lithuania < 3
        and I_FactionLeaderAttribute lithuania Command < 1000
            spawn_army
                faction lithuania
                character    random_name, named character, age 20, x 262, y 240, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    Lith Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_lithuania 1
        end_if
    
        if I_IsFactionAIControlled teutonic_order
        and I_NumberOfHeirs teutonic_order < 4
        and I_CompareCounter heir_teutonic_order < 3
        and I_FactionLeaderAttribute teutonic_order Command < 1000
            spawn_army
                faction teutonic_order
                character    random_name, named character, age 20, x 232, y 237, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    TO Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_teutonic_order 1
        end_if
    
        if I_IsFactionAIControlled jerusalem
        and I_NumberOfHeirs jerusalem < 4
        and I_CompareCounter heir_jerusalem < 3
        and I_FactionLeaderAttribute jerusalem Command < 1000
            spawn_army
                faction jerusalem
                character    random_name, named character, age 20, x 329, y 78, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    NE Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_jerusalem 1
        end_if
    
        if I_IsFactionAIControlled turks
        and I_NumberOfHeirs turks < 4
        and I_CompareCounter heir_turks < 3
        and I_FactionLeaderAttribute turks Command < 1000
            spawn_army
                faction turks
                character    random_name, named character, age 20, x 339, y 133, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    ME Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_turks 1
        end_if
    
        if I_IsFactionAIControlled egypt
        and I_NumberOfHeirs egypt < 4
        and I_CompareCounter heir_egypt < 3
        and I_FactionLeaderAttribute egypt Command < 1000
            spawn_army
                faction egypt
                character    random_name, named character, age 20, x 309, y 60, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    ME Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_egypt 1
        end_if
    
        if I_IsFactionAIControlled moors
        and I_NumberOfHeirs moors < 4
        and I_CompareCounter heir_moors < 3
        and I_FactionLeaderAttribute moors Command < 1000
            spawn_army
                faction moors
                character    random_name, named character, age 20, x 40, y 113, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    ME Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_moors 1
        end_if
    
        if I_IsFactionAIControlled kwarezm
        and I_NumberOfHeirs kwarezm < 4
        and I_CompareCounter heir_kwarezm < 3
        and I_FactionLeaderAttribute kwarezm Command < 1000
            spawn_army
                faction kwarezm
                character    random_name, named character, age 20, x 449, y 93, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    ME Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_kwarezm 1
        end_if
    
        if I_IsFactionAIControlled cumans
        and I_NumberOfHeirs cumans < 4
        and I_CompareCounter heir_cumans < 3
        and I_FactionLeaderAttribute cumans Command < 1000
            spawn_army
                faction cumans
                character    random_name, named character, age 20, x 440, y 250, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    Cuman Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_cumans 1
        end_if
    
        if I_IsFactionAIControlled mongols
        and I_NumberOfHeirs mongols < 4
        and I_CompareCounter heir_mongols < 3
        and I_FactionLeaderAttribute mongols Command < 1000
            spawn_army
                faction mongols
                character    random_name, named character, age 20, x 502, y 160, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    Keshikten Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_mongols 1
        end_if
    
        if I_IsFactionAIControlled timurids
        and I_NumberOfHeirs timurids < 4
        and I_CompareCounter heir_timurids < 3
    ;    and I_EventCounter timurids_invasion > 0
        and I_FactionLeaderAttribute timurids Command < 1000
            spawn_army
                faction timurids
                character    random_name, named character, age 20, x 502, y 161, family
                traits MilitaryInclination 2 , Military_Edu 2 , NaturalMilitarySkill 2 , GoodCommander 1 , Loyal 2 , ReligionStarter 1
                unit    Keshikten Bodyguard        exp 2 armour 0 weapon_lvl 0
            end
            inc_counter heir_timurids 1
        end_if
    
    end_monitor

  19. #19

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    v1.25 is live
    includes campaign script customization in a 7z inside the "campaign" folder

  20. #20
    Fishers of Men's Avatar Laetus
    Join Date
    May 2014
    Location
    Fishers, IN USA
    Posts
    8

    Default Re: Bug Fixes for SS6.4- DO NOT POST ANY BUGS IN HERE

    Thank you for all your work. What a difference this makes!

Posting Permissions

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