Results 1 to 7 of 7

Thread: Disabling supply traits

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ruckulf's Avatar Semisalis
    Join Date
    Aug 2009
    Location
    Sweden
    Posts
    470

    Default Disabling supply traits

    Can i disable the supply traits without reinstalling SS?
    If i can, how? Thank you.

  2. #2
    Domesticus
    Artifex

    Join Date
    Jul 2009
    Location
    The north
    Posts
    2,411

    Default Re: Disabling supply traits

    I've answered this already in 2 threads and by one Private Message. That last one has the most detailed instructions, so I quote it:

    Quote Originally Posted by Da Goofy
    Quote Originally Posted by Christian III
    I saw that you know how to remove the supply traits.
    I have latest RR/RC compilation and I would like to remove the army supply traits.
    Okay, here are the "instructions". I think that you must start a new campaign before this works, but I'm not 100% sure.

    1. Open your Desktop.
    2. Right-click your Stainless Steel shortcut and choose "open directory" or something like that.
    3. Open "Data" folder.
    4. Open "export_descr_character_traits" file down in the file list (they're in alphabetical order).
    5. Press Ctrl + F; this allows you to search words in the file.
    6. Type in "Trigger SupplyStart"
    7. It should look like this (red text is supply trait data):
    Spoiler Alert, click show to read: 

    ;===============================================================
    ;== TRIGGER DATA STARTS HERE ==
    ;===============================================================
    ;------------------------------------------
    Trigger SupplyStart
    WhenToTest CharacterTurnStart
    Condition IsGeneral
    and CharacterIsLocal
    and Trait Supplies < 1
    Affects Supplies 1 Chance 100
    ;give supplies at start of turn to all local gens
    ;rest of triggers only reduce in enemy land and only add in home settlement, not land.
    ;------------------------------------------
    Trigger Poor_Logistics
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and CharacterIsLocal
    and not EndedInSettlement
    and InEnemyLands
    and not Trait LogisticalSkill > 0
    and Trait Supplies = 5
    and Trait PoorLogistics < 1
    Affects PoorLogistics 1 Chance 100
    ;only adds this if currently does not have and allowed supplies to run out last turn
    ;------------------------------------------
    Trigger CapturedSupplies
    WhenToTest PostBattle
    Condition IsGeneral
    and CharacterIsLocal
    and WonBattle
    and PercentageEnemyKilled > 50
    and Trait Supplies > 1
    Affects SuppliesAdded 2 Chance 100
    Affects Supplies 1 Chance 100
    ;supplies won if 50% enemy killed after battle, plus 1/4 if room plus
    ;------------------------------------------
    Trigger CapturedSupplies2
    WhenToTest PostBattle
    Condition IsGeneral
    and CharacterIsLocal
    and WonBattle
    and PercentageEnemyKilled > 50
    and Trait Supplies > 1
    Affects SuppliesAdded 2 Chance 100
    Affects Supplies 1 Chance 100
    ;supplies won after a battle adds another 1/4 back to stock if room and 50% enemy killed.
    ;------------------------------------------
    Trigger EnemyCapturesSupplies
    WhenToTest PostBattle
    Condition IsGeneral
    and CharacterIsLocal
    and not WonBattle
    and PercentageOfArmyKilled > 50
    and Trait Supplies <= 4
    Affects Supplies 1 Chance 100
    ;supplies 1/4 lost if 50% army lost after a battle, 25%
    ;------------------------------------------
    Trigger EnemyCapturesSupplies2
    WhenToTest PostBattle
    Condition IsGeneral
    and CharacterIsLocal
    and not WonBattle
    and PercentageOfArmyKilled > 50
    and Trait Supplies <= 4
    Affects Supplies 1 Chance 50
    ;supplies 1/4 lost if 50% army lost after a battle, 50%
    ;------------------------------------------
    Trigger EnemyCapturesSupplies3
    WhenToTest PostBattle
    Condition IsGeneral
    and CharacterIsLocal
    and not WonBattle
    and PercentageOfArmyKilled > 50
    and Trait Supplies <= 4
    Affects Supplies 1 Chance 50
    ;supplies 1/4 lost if 50% army lost after a battle, 75%
    ;------------------------------------------
    Trigger EnemyCapturesSupplies4
    WhenToTest PostBattle
    Condition IsGeneral
    and CharacterIsLocal
    and not WonBattle
    and PercentageOfArmyKilled > 50
    and Trait Supplies <= 4
    Affects Supplies 1 Chance 50
    ;supplies 1/4 lost if 50% army lost after a battle, 100%
    ;------------------------------------------
    Trigger CountResetNewRegion1
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and CharacterIsLocal
    and TimeInRegion = 1
    and Trait TimeInField = 1
    Affects TIFReset 10 Chance 100
    Affects TimeInField 9 Chance 100
    ;reset TIF from values of 1-3 (4 resets itself) to Zero.
    ;If MOVED TO NEW REGION May need "timeinregion=0"
    ;------------------------------------------
    Trigger CountResetNewRegion2
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and CharacterIsLocal
    and TimeInRegion = 1
    and Trait TimeInField = 3
    Affects TIFReset 10 Chance 100
    Affects TimeInField 7 Chance 100
    ;reset TIF from values of 1-3 (4 resets itself) to Zero.
    ;If MOVED TO NEW REGION May need "timeinregion=0"
    ;------------------------------------------
    Trigger CountResetNewRegion3
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and CharacterIsLocal
    and TimeInRegion = 1
    and Trait TimeInField = 2
    Affects TIFReset 10 Chance 100
    Affects TimeInField 8 Chance 100
    ;reset TIF=2 in ownland then move to enemyland, else goes to 3 next turn.
    ;------------------------------------------
    Trigger CountResetAnyRegion4
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and CharacterIsLocal
    and Trait TimeInField = 4
    and not EndedInEnemyZOC
    Affects TIFReset 10 Chance 100
    Affects TimeInField 6 Chance 100
    ;reset TIF=4 because both enemy and home region army were set to 4 when they trigger
    ;their supply decrease.OLD, NEW Region Reset.ZOC triggers only on 1st contact
    ;------------------------------------------
    Trigger FieldCount
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and CharacterIsLocal
    and not AtSea
    and not EndedInSettlement
    and Trait TimeInField <= 3
    Affects TimeInField 1 Chance 100
    ;Can only be 1 to 4. Increments each turn. Tried changing < 4 to <= 3
    ;------------------------------------------
    Trigger FieldCount2
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and CharacterIsLocal
    and not AtSea
    and not EndedInSettlement
    and Trait TimeInField <= 3
    and EndedInEnemyZOC
    Affects TimeInField 1 Chance 100
    ;increases fieldcount to 4 when in Enemy ZOC. part2
    ;------------------------------------------
    Trigger FieldCount3
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and CharacterIsLocal
    and not AtSea
    and not EndedInSettlement
    and Trait TimeInField <= 3
    and EndedInEnemyZOC
    Affects TimeInField 1 Chance 100
    ;increases fieldcount to 4 when in Enemy ZOC. part3
    ;------------------------------------------
    Trigger FieldCount4
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and CharacterIsLocal
    and not AtSea
    and not EndedInSettlement
    and Trait TimeInField <= 3
    and EndedInEnemyZOC
    Affects TimeInField 1 Chance 100
    ; increases fieldcount to 4 when in Enemy ZOC. part3
    ;------------------------------------------
    Trigger SupplyGet
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and EndedInSettlement
    and PopulationOwnReligion > 50
    and CharacterIsLocal
    and Trait Supplies > 1
    Affects SuppliesAdded 2 Chance 100
    Affects Supplies 1 Chance 100
    ;In settlement, with own 50% religious land and with supplies reduced. Resupply 1/4
    ;------------------------------------------
    Trigger SupplyGet2
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and EndedInSettlement
    and PopulationOwnReligion > 50
    and CharacterIsLocal
    and Trait Supplies > 1
    Affects SuppliesAdded 2 Chance 100
    Affects Supplies 1 Chance 100
    ;In settlement, 50% own religion, supplies reduced. Resupply 1/4 if needed
    ;------------------------------------------
    Trigger SupplyShipReset
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and CharacterIsLocal
    and Trait SuppliedBySea > 0
    Affects SuppliedBySea -1 Chance 100
    ;keeps this trait set at 0 unless it fulfills trigger each turn
    ;------------------------------------------
    Trigger SupplyShip1
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and AtSea
    and CharacterIsLocal
    and Trait Supplies > 1
    Affects SuppliesAdded 2 Chance 100
    Affects Supplies 1 Chance 100
    Affects SuppliedBySea 1 Chance 100
    ;In a ship for 1 turn. Resupply 1/4
    ;------------------------------------------
    Trigger SupplyShip2
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and AtSea
    and CharacterIsLocal
    and Trait Supplies > 1
    and Trait PoorLogistics < 1
    Affects SuppliesAdded 2 Chance 100
    Affects Supplies 1 Chance 100
    ;In ship 1 turn. Resupply 1/4 if needed. Replenish 1/2 in total
    ;------------------------------------------
    Trigger TIFReset
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and EndedInSettlement
    and CharacterIsLocal
    and Trait TimeInField > 2
    Affects TIFReset 10 Chance 100
    Affects TimeInField 8 Chance 100
    ; In settlement. Chipaway 2x TIF if >2 then -2. Non religious settlement gets field time reset too but no resupply.
    ;------------------------------------------
    Trigger TIFReset2
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and EndedInSettlement
    and CharacterIsLocal
    and Trait TimeInField > 1
    Affects TIFReset 10 Chance 100
    Affects TimeInField 9 Chance 100
    ; In settlement. Chipaway 1x TIF if >1 then -1 should make all tif values to 1
    ;------------------------------------------
    Trigger TIFReset3
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and EndedInSettlement
    and CharacterIsLocal
    and Trait TimeInField = 1
    Affects TIFReset 10 Chance 100
    Affects TimeInField 9 Chance 100
    ;In settlement. Chipaway 1x TIF if >1 then -1 should make all tif values to 1
    ;------------------------------------------
    Trigger SupplyUsedEnemyZOC
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and CharacterIsLocal
    and not AtSea
    and not EndedInSettlement
    and InEnemyLands
    and Trait TimeInField = 4
    and Trait Supplies <= 4
    Affects Supplies 1 Chance 100
    ; due to being in Enemy ZOC. 1/4 Supplies used in enemy land. Enemy land uses 1/4 per 2 turns, but Timeinfield set to 4 to show 4th level
    ;------------------------------------------
    Trigger SupplyUsedEnemy1
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and CharacterIsLocal
    and not AtSea
    and not EndedInSettlement
    and InEnemyLands
    and Trait TimeInField = 2
    and Trait Supplies = 5
    Affects TimeInField 2 Chance 100
    ;1/4 Supplies used in enemy land. Enemy land uses 1/4 per 2 turns. Sets timein field to 4 if supply = out, therefore can be reduced no further.
    ;Timeinfield set to 4 to show 4th level.
    ;------------------------------------------
    Trigger SupplyUsedEnemy2
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and CharacterIsLocal
    and not AtSea
    and not EndedInSettlement
    and InEnemyLands
    and Trait TimeInField = 2
    and Trait Supplies <= 4
    Affects Supplies 1 Chance 100
    Affects TimeInField 2 Chance 100
    ; 1/4 Supplies used in enemy land. Enemy land uses 1/4 per 2 turns. Sets timein field to 4 if supplies not out and reduces supplies.
    ;Timeinfield set to 4 to show 4th level
    ;------------------------------------------
    Trigger SupplyUsedFriendly
    WhenToTest CharacterTurnEnd
    Condition IsGeneral
    and CharacterIsLocal
    and not AtSea
    and not EndedInSettlement
    and not InEnemyLands
    and Trait TimeInField = 4
    and Trait Supplies <= 4
    Affects Supplies 1 Chance 100
    ;1/4 Supplies used in friendly land. Uses 1/4 per 4 turns. Now TIF resets before count
    ;------------------------------------------
    Trigger Major_Victories_Count
    WhenToTest PostBattle
    Condition IsGeneral
    and WonBattle
    and BattleSuccess >= clear
    and PercentageEnemyKilled > 50
    and BattleOdds < 1
    Affects MVC 1 Chance 100
    ;------------------------------------------
    Trigger Turnsaway_Victories
    WhenToTest PostBattle
    Condition IsGeneral
    and WonBattle
    and BattleSuccess >= clear
    and PercentageEnemyKilled > 50
    and BattleOdds < 1
    and Trait Turnsaway > 1
    and CharacterIsLocal
    Affects Turnshome 40 Chance 100
    Affects Turnsaway 36 Chance 100
    ;improves/reduces turnsaway levels by 4 points on major victory

    8. Delete all the red text so that piece of the file looks like this:
    Spoiler Alert, click show to read: 

    ;===============================================================
    ;== TRIGGER DATA STARTS HERE ==
    ;===============================================================
    ;------------------------------------------
    Trigger Major_Victories_Count
    WhenToTest PostBattle
    Condition IsGeneral
    and WonBattle
    and BattleSuccess >= clear
    and PercentageEnemyKilled > 50
    and BattleOdds < 1
    Affects MVC 1 Chance 100
    ;------------------------------------------
    Trigger Turnsaway_Victories
    WhenToTest PostBattle
    Condition IsGeneral
    and WonBattle
    and BattleSuccess >= clear
    and PercentageEnemyKilled > 50
    and BattleOdds < 1
    and Trait Turnsaway > 1
    and CharacterIsLocal
    Affects Turnshome 40 Chance 100
    Affects Turnsaway 36 Chance 100
    ;improves/reduces turnsaway levels by 4 points on major victory

    8. Delete all the red text so that piece of the file looks like this:
    [/SPOILER]
    9. Save the file and you should be fine.

    I've never actually tested this and I'm not sure did I find all the supply entries, but PM me if this doesn't work so I can try to fix the problem.

    ~FinnKing
    These are the threads I mentioned:
    http://www.twcenter.net/forums/showt...ghlight=supply
    http://www.twcenter.net/forums/showt...ghlight=supply

  3. #3
    Ruckulf's Avatar Semisalis
    Join Date
    Aug 2009
    Location
    Sweden
    Posts
    470

    Default Re: Disabling supply traits

    Thank you very much for helping me! I'll try that.
    +rep to you

  4. #4
    Domesticus
    Artifex

    Join Date
    Jul 2009
    Location
    The north
    Posts
    2,411

    Default Re: Disabling supply traits

    Always nice to help people

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

    Default Re: Disabling supply traits

    Or you can just reinstall the 6.1 patch and select to not use the supply system

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

  6. #6

    Default Re: Disabling supply traits

    Quote Originally Posted by Caesar Clivus View Post
    Or you can just reinstall the 6.1 patch and select to not use the supply system
    But that won't work, when he's using 6.2, will it?

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

    Default Re: Disabling supply traits

    Quote Originally Posted by PerXX View Post
    But that won't work, when he's using 6.2, will it?
    No it wont. But he didnt specify what version he was using.

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

Posting Permissions

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