Page 1 of 3 123 LastLast
Results 1 to 20 of 41

Thread: Loot after battles

Hybrid View

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

    Default Loot after battles

    Hi,

    I would love to gain a good portion of loot after battles - depending on size of armies and their quality - this would help especially early on and small factions and would be a great motivation boost for fighting many battles ;-)

  2. #2

    Default Re: Loot after battles

    Quote Originally Posted by steelwarrior7 View Post
    Hi,

    I would love to gain a good portion of loot after battles - depending on size of armies and their quality - this would help especially early on and small factions and would be a great motivation boost for fighting many battles ;-)
    There is no such mechanism - and there is more than enough money anyway.

  3. #3

    Default Re: Loot after battles

    I thought there is a submod or so for RTW where one gets money for battles - I do not remember exactly where - it is more a motivation I believe then needing more money - except for very small factions there it could help - also defenses with high losses would be more motivating like for Rome the greek city ;-)

  4. #4
    dvk901's Avatar Consummatum est
    Patrician

    Join Date
    Mar 2006
    Location
    Michigan
    Posts
    20,984

    Default Re: Loot after battles

    There is a 'Looting' bonus given with the trait 'Despoiler' in RS2, but it is only given to Barbarians and Nomads, and it is only gained by enslaving or exterminating populations. There is, as far as I know, no other way to directly award money for a regular battle just out in the open. It would make sense, mind you...it's just that RTW offers no mechanism, as was mentioned.

    Creator of: "Ecce, Roma Surrectum....Behold, Rome Arises!"
    R.I.P. My Beloved Father

  5. #5
    Primo's Avatar Protector Domesticus
    Join Date
    Jul 2011
    Location
    Germany
    Posts
    4,007

    Default Re: Loot after battles

    Quote Originally Posted by LoGaL View Post
    Senate gifts? but that would involve creating a faction only for this..
    Impossible, even with a senate faction.

    Quote Originally Posted by dvk901 View Post
    There is, as far as I know, no other way to directly award money for a regular battle just out in the open. It would make sense, mind you...it's just that RTW offers no mechanism, as was mentioned.
    Well, you could award certain amounts of money if a faction wins a battle - the amount depending on the odds; it would have to be linked to the trait system, with a faction leader trait activating the money script.

    However, you can get 1:2 odds in a big battle with over 10000 men; or your generals bodyguards against a small rebel brigande. Using this method would give the same award for winning one of these two battles - highly unrealistic.

    Thats as close as it can get with RTW engine.

  6. #6
    Ferdiad's Avatar Patricius
    Join Date
    Feb 2010
    Location
    Ireland
    Posts
    28,041

    Default Re: Loot after battles

    Quote Originally Posted by dvk901 View Post
    There is a 'Looting' bonus given with the trait 'Despoiler' in RS2, but it is only given to Barbarians and Nomads, and it is only gained by enslaving or exterminating populations. There is, as far as I know, no other way to directly award money for a regular battle just out in the open. It would make sense, mind you...it's just that RTW offers no mechanism, as was mentioned.
    You could implement a looting script. Here is one from SS. No idea if the RTW engine can do it.
    Spoiler Alert, click show to read: 
    Code:
    ;============ G5 LOOTING SCRIPT COMPACT =================
    declare_counter small_army
    declare_counter medium_army
    declare_counter large_army
    declare_counter battle_no
    set_counter small_army 0
    set_counter medium_army 0
    set_counter large_army 0
    set_counter battle_no 0
    
    monitor_event BattleConflictPhaseCommenced FactionIsLocal
    
    	if I_BattleEnemyArmyNumberOfUnits < 9
    	and I_BattleEnemyArmyNumberOfUnits > 2
    		set_counter small_army 1
    	end_if
    
    	if I_BattleEnemyArmyNumberOfUnits > 8
    	and I_BattleEnemyArmyNumberOfUnits < 15
    		set_counter medium_army 1
    	end_if
    
    	if I_BattleEnemyArmyNumberOfUnits > 14
    		set_counter large_army 1
    	end_if
    
    	set_counter battle_no 1
    end_monitor
    
    monitor_event PostBattle FactionIsLocal
    	and WonBattle
    	and not I_ConflictType Naval
    	and I_CompareCounter battle_no = 1
    
    	if I_CompareCounter small_army = 1
    	and RandomPercent > 25
    		console_command add_money 50
    	end_if
    
    	if I_CompareCounter medium_army = 1
    	and RandomPercent > 25
    		console_command add_money 100
    	end_if
    
    	if I_CompareCounter large_army = 1
    	and RandomPercent > 25
    		console_command add_money 200
    	end_if
    
    ;		historic_event sack_ai
    
    	set_counter battle_no 0
    end_monitor
    
    monitor_event PostBattle FactionIsLocal
    	and not WonBattle
    	and not I_ConflictType Naval
    	and I_CompareCounter battle_no = 1
    
    	if RandomPercent > 90
    		console_command add_money -100
    	end_if
    
    	if RandomPercent > 55
    		console_command add_money -100
    	end_if
    
    	console_command add_money -100
    
    ;	historic_event sack_player
    
    	set_counter battle_no 0
    end_monitor

  7. #7

    Default Re: Loot after battles

    Senate gifts? but that would involve creating a faction only for this..

  8. #8
    Anthropoid's Avatar Tiro
    Join Date
    Apr 2012
    Location
    In the nether regions of the Puritan hinterlands
    Posts
    241

    Default Re: Loot after battles

    It is a shame it is not a possibility in the engine, cause going all the way back to the Iliad and the Odyssey if not before, taking the other guys gear has always been part of the deal after you kill 'em. Plus baggage trains . . . phew the amount of pillage that has been taken by victorious armies in the fields over the centuries. I wouldn't be surprised if it was astronomical.

    Course, another way to rationalize it not being in the game engine is this: your troops take it. Letting the troops keep spoils seems to have been a pretty regular thing and a way to motivate them to particularly terrible tasks.

  9. #9
    dvk901's Avatar Consummatum est
    Patrician

    Join Date
    Mar 2006
    Location
    Michigan
    Posts
    20,984

    Default Re: Loot after battles

    Interesting. I have no idea if it would work, but I'll have a look at it and see if there are comparable events that would make it work in RTW.
    Most of it looks like it would.

    Creator of: "Ecce, Roma Surrectum....Behold, Rome Arises!"
    R.I.P. My Beloved Father

  10. #10
    TheDarkKnight's Avatar Compliance will be rewarded
    Moderator Emeritus Content Emeritus Administrator Emeritus

    Join Date
    Oct 2010
    Location
    The good (not South) part of the USA
    Posts
    11,632
    Blog Entries
    12

    Default Re: Loot after battles

    I never noticed a looting script in SS...Is it always activated?

    It definitely makes sense...who would leave all that expensive armor/weapons behind unless they absolutely had to?
    Things I trust more than American conservatives:

    Drinks from Bill Cosby, Flint Michigan tap water, Plane rides from Al Qaeda, Anything on the menu at Chipotle, Medical procedures from Mengele

  11. #11
    Ferdiad's Avatar Patricius
    Join Date
    Feb 2010
    Location
    Ireland
    Posts
    28,041

    Default Re: Loot after battles

    Quote Originally Posted by Gen. Chris View Post
    I never noticed a looting script in SS...Is it always activated?

    It definitely makes sense...who would leave all that expensive armor/weapons behind unless they absolutely had to?
    Open the console after a battle. The amount varrys depending on the size of the battle.

  12. #12

    Default Re: Loot after battles

    I always get extra cash after battles in SS 6.4 - just check your money before and after a battle...

  13. #13

    Default Re: Loot after battles

    There is a mod for Eb that works quiet fine and can be adapted to RS:
    http://forums.totalwar.org/vb/showth...ory-for-EB-1-1

  14. #14

    Default Re: Loot after battles

    Quote Originally Posted by Guga View Post
    There is a mod for Eb that works quiet fine and can be adapted to RS:
    http://forums.totalwar.org/vb/showth...ory-for-EB-1-1
    I guess this means it's possible for RS? Whats the the odds that this will be included in RS 2.6?

  15. #15
    GRANTO's Avatar Domesticus
    Join Date
    Dec 2010
    Location
    glastonbury uk
    Posts
    2,201

    Default Re: Loot after battles

    it is in eb alexander ....messages pop up saying that your troops raided the enemy camp and the likes

  16. #16
    dvk901's Avatar Consummatum est
    Patrician

    Join Date
    Mar 2006
    Location
    Michigan
    Posts
    20,984

    Default Re: Loot after battles

    If someone would like to try something for me, they could add this to the script in their campaign under the 'Test' section at the end of the script:

    Spoiler Alert, click show to read: 
    Code:
    ;============ RS2 LOOTING SCRIPT =================
    declare_counter horse_army
    declare_counter infantry_army
    declare_counter settlement_army
    declare_counter battle_no
    set_counter horse_army 0
    set_counter infantry_army 0
    set_counter settlement_army 0
    set_counter battle_no 0
    
    monitor_event BattleConflictPhaseCommenced FactionIsLocal
    
    	if I_BattleEnemyArmyPercentageOfUnitCategory cavalry > 50.0
    	set_counter horse_army 1
    	end_if
    
    	if I_BattleEnemyArmyPercentageOfUnitCategory infantry > 50.0
    	set_counter infantry_army 1
    	end_if
    
    	if I_BattleAiDefendingSettlement
    	set_counter settlement_army 1
    	end_if
    
    	set_counter battle_no 1
    end_monitor
    
    monitor_event PostBattle FactionIsLocal
    	and WonBattle
    	and not I_ConflictType Naval
    	and I_CompareCounter battle_no = 1
    
    	if I_CompareCounter horse_army = 1
    	and RandomPercent > 25
    		console_command add_money 200
    	end_if
    
    	if I_CompareCounter infantry_army = 1
    	and RandomPercent > 25
    		console_command add_money 100
    	end_if
    
    	if I_CompareCounter settlement_army = 1
    	and RandomPercent > 25
    		console_command add_money 300
    	end_if
    
    	set_counter battle_no 0
    end_monitor
    
    monitor_event PostBattle FactionIsLocal
    	and not WonBattle
    	and not I_ConflictType Naval
    	and I_CompareCounter battle_no = 1
    
    	if RandomPercent > 90
    		console_command add_money -100
    	end_if
    
    	if RandomPercent > 55
    		console_command add_money -100
    	end_if
    
    	console_command add_money -100
    
    	set_counter battle_no 0
    end_monitor


    This is a very rudimentary version of the idea, because RTW doesn't support a way to identify the size of units. So instead, I've chosen to identify the type of arny your fought. It checks out with no errors, so it should work.

    Creator of: "Ecce, Roma Surrectum....Behold, Rome Arises!"
    R.I.P. My Beloved Father

  17. #17
    Primo's Avatar Protector Domesticus
    Join Date
    Jul 2011
    Location
    Germany
    Posts
    4,007

    Default Re: Loot after battles

    Quote Originally Posted by dvk901 View Post
    If someone would like to try something for me, they could add this to the script in their campaign under the 'Test' section at the end of the script:

    Spoiler Alert, click show to read: 
    Code:
    ;============ RS2 LOOTING SCRIPT =================
    declare_counter horse_army
    declare_counter infantry_army
    declare_counter settlement_army
    declare_counter battle_no
    set_counter horse_army 0
    set_counter infantry_army 0
    set_counter settlement_army 0
    set_counter battle_no 0
    
    monitor_event BattleConflictPhaseCommenced FactionIsLocal
    
        if I_BattleEnemyArmyPercentageOfUnitCategory cavalry > 50.0
        set_counter horse_army 1
        end_if
    
        if I_BattleEnemyArmyPercentageOfUnitCategory infantry > 50.0
        set_counter infantry_army 1
        end_if
    
        if I_BattleAiDefendingSettlement
        set_counter settlement_army 1
        end_if
    
        set_counter battle_no 1
    end_monitor
    
    monitor_event PostBattle FactionIsLocal
        and WonBattle
        and not I_ConflictType Naval
        and I_CompareCounter battle_no = 1
    
        if I_CompareCounter horse_army = 1
        and RandomPercent > 25
            console_command add_money 200
        end_if
    
        if I_CompareCounter infantry_army = 1
        and RandomPercent > 25
            console_command add_money 100
        end_if
    
        if I_CompareCounter settlement_army = 1
        and RandomPercent > 25
            console_command add_money 300
        end_if
    
        set_counter battle_no 0
    end_monitor
    
    monitor_event PostBattle FactionIsLocal
        and not WonBattle
        and not I_ConflictType Naval
        and I_CompareCounter battle_no = 1
    
        if RandomPercent > 90
            console_command add_money -100
        end_if
    
        if RandomPercent > 55
            console_command add_money -100
        end_if
    
        console_command add_money -100
    
        set_counter battle_no 0
    end_monitor


    This is a very rudimentary version of the idea, because RTW doesn't support a way to identify the size of units. So instead, I've chosen to identify the type of arny your fought. It checks out with no errors, so it should work.
    IŽll do it. Do I have to restart the campaign?

  18. #18
    dvk901's Avatar Consummatum est
    Patrician

    Join Date
    Mar 2006
    Location
    Michigan
    Posts
    20,984

    Default Re: Loot after battles

    Quote Originally Posted by Luke Vader View Post
    IŽll do it. Do I have to restart the campaign?
    I'm not sure, TBH. I don't have that much experience with scripting.

    Creator of: "Ecce, Roma Surrectum....Behold, Rome Arises!"
    R.I.P. My Beloved Father

  19. #19
    Visarion's Avatar Alexandros
    Artifex

    Join Date
    Dec 2009
    Location
    Europe
    Posts
    8,055

    Default Re: Loot after battles

    Quote Originally Posted by dvk901 View Post
    I'm not sure, TBH. I don't have that much experience with scripting.

  20. #20

    Default Re: Loot after battles

    Hey guys great thanks - yes it was EB now I remember ;-)

Page 1 of 3 123 LastLast

Posting Permissions

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