Results 1 to 28 of 28

Thread: Casualty Healing/Recovery rates...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Not at all like my Avatar Member gamerdude873's Avatar
    Join Date
    Jun 2008
    Location
    USA, California
    Posts
    89

    Default Casualty Healing/Recovery rates...

    Hi

    I was wondering if there was anything I could do to to modify the rate at which casualties recover. I'm sick of having a bunch of guys dieing and having only a handful get better. I know with doctors and stuff you can boost that rate, but i want to increase the basic rate. Is this possible? Or is it hard coded in the AI?

    (BTW I play Europa Barbarorum, and my RTW vanilla version is 1.5 becuase of that. I don't have Barbarian Invasion, if any of that is important.)

    Plz respond and ty
    Suppose you were an idiot. Suppose you were a member of Congress. But I repeat myself. - Mark Twain

    I may be drunk Miss, but you're ugly. In the morning I'll be sober, and you'll still be ugly. -Winston Churchill

  2. #2
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Casualty Healing/Recovery rates...

    Sorry I'm pretty sure that's hard coded, so all you could do is adjust leaders traits / ancillaries, so you have more characters with a positive BattleSurgery effect.

    Welcome to the forum
    Not used mods before? Looking for something small and fun?!
    Download the:

  3. #3
    Bassist, God and Modder Member Thor the Bassist's Avatar
    Join Date
    Jan 2008
    Location
    Yorkshire, England
    Posts
    213

    Default Re: Casualty Healing/Recovery rates...

    It may be possible with scripting though I dont know how to script at all?

    Building for the Future of METW

  4. #4
    Member Member Horseman's Avatar
    Join Date
    Jan 2008
    Location
    Bristol, UK
    Posts
    159

    Default Re: Casualty Healing/Recovery rates...

    You could always add a trait (hidden maybe) that gives a boast and make it 100% chance at birth so that all family members get it.

    This of course wont help captain led armies

  5. #5
    Not at all like my Avatar Member gamerdude873's Avatar
    Join Date
    Jun 2008
    Location
    USA, California
    Posts
    89

    Default Re: Casualty Healing/Recovery rates...

    Most of my armies aren't lead by captains anyways. How would you add a trait like that? I have experience modding, but it's not extensive and i've never personally modded RTW.
    Suppose you were an idiot. Suppose you were a member of Congress. But I repeat myself. - Mark Twain

    I may be drunk Miss, but you're ugly. In the morning I'll be sober, and you'll still be ugly. -Winston Churchill

  6. #6

    Default Re: Casualty Healing/Recovery rates...

    You can't do it with scripting - the replenish_units command needs a general's name as a parameter.

    A trait with a high Effect BattleSurgery value seems like the easiest solution. For example, something like this...

    In export_descr_character_traits, add:
    Code:
    Trait HealingTouch
    	Characters family
    
    	Level HealingTouchLevel1
    		Description HealingTouch1_desc
    		EffectsDescription HealingTouch1_effects_desc
    		Threshold 1
    
    		Effect BattleSurgery 50
    
    	Level HealingTouchLevel2
    		Description HealingTouch2_desc
    		EffectsDescription HealingTouch2_effects_desc
    		Threshold 5
    
    		Effect BattleSurgery 60
    
    	Level HealingTouchLevel3
    		Description HealingTouch3_desc
    		EffectsDescription HealingTouch3_effects_desc
    		Threshold 10
    
    		Effect BattleSurgery 70
    Then, in the triggers section, add (fixed):
    Code:
    Trigger HealingTouchTrigger
        WhenToTest PostBattle
    
        Condition isGeneral
                and CharacterIsLocal
                and WonBattle
                
        Affects HealingTouch 1 Chance 100
    In text\export_VnVs.txt, add (fixed):
    Code:
    {HealingTouch1}Healing Touch 1
    {HealingTouch1_desc}	Healing Touch, level 1
    {HealingTouch1_effects_desc}	Heals 50% of casualties
    {HealingTouch1}Healing Touch 2
    {HealingTouch2_desc}	Healing Touch, level 2
    {HealingTouch2_effects_desc}	Heals 60% of casualties
    {HealingTouch1}Healing Touch 3
    {HealingTouch3_desc}	Healing Touch, level 3
    {HealingTouch3_effects_desc}	Heals 70% of casualties
    Sorry, I always have a ton of bugs when I write code off the top of my head, without checking syntax :)
    Last edited by HouseOfHam; 06-14-2008 at 15:29.
    RTR VII Developer

  7. #7

    Default Re: Casualty Healing/Recovery rates...

    On a releated note, there seems to be a significant difference depending on whether the casualties were a result of missile fire or melee. Anybody has solid data on that?

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  8. #8

    Default Re: Casualty Healing/Recovery rates...

    No solid data, just observations. In general, it seems like wounds inflicted by missile weapons are easier to heal. It might have something to do with the amount of damage produced by the attack. Actually, that makes sense, since most units armed with missile weapons have lower damage.
    RTR VII Developer

  9. #9

    Default Re: Casualty Healing/Recovery rates...

    Not sure, even against peasants, wounds will not heal easily, while they do against "elite" archers. Where's a CA Dev when you need one...

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  10. #10
    Not at all like my Avatar Member gamerdude873's Avatar
    Join Date
    Jun 2008
    Location
    USA, California
    Posts
    89

    Default Re: Casualty Healing/Recovery rates...

    Thanks for the help i've been a little busy the past few days... so i'll try it out now
    Suppose you were an idiot. Suppose you were a member of Congress. But I repeat myself. - Mark Twain

    I may be drunk Miss, but you're ugly. In the morning I'll be sober, and you'll still be ugly. -Winston Churchill

  11. #11
    Not at all like my Avatar Member gamerdude873's Avatar
    Join Date
    Jun 2008
    Location
    USA, California
    Posts
    89

    Default Re: Casualty Healing/Recovery rates...

    BTW what does "CharacterIsLocal" trigger do? THe rest is self explanantory but does this mean that he has to be in your territory?
    Suppose you were an idiot. Suppose you were a member of Congress. But I repeat myself. - Mark Twain

    I may be drunk Miss, but you're ugly. In the morning I'll be sober, and you'll still be ugly. -Winston Churchill

  12. #12

    Default Re: Casualty Healing/Recovery rates...

    Quote Originally Posted by gamerdude873 View Post
    BTW what does "CharacterIsLocal" trigger do? THe rest is self explanantory but does this mean that he has to be in your territory?
    Belongs to the faction controlled by the player - the same also applies to all other conditions containing the word Local
    RTR VII Developer

  13. #13
    Not at all like my Avatar Member gamerdude873's Avatar
    Join Date
    Jun 2008
    Location
    USA, California
    Posts
    89

    Default Re: Casualty Healing/Recovery rates...

    Ahhh that helps.

    Oh and I tried to modify the Character trait, and now the game crashes when i load the save. And i loaded multiple saved games, so i know it's not just my game. I'll keep playin with it, but are there any ideas in the meantime about the topic or better yet, how to fix the crash?
    Suppose you were an idiot. Suppose you were a member of Congress. But I repeat myself. - Mark Twain

    I may be drunk Miss, but you're ugly. In the morning I'll be sober, and you'll still be ugly. -Winston Churchill

  14. #14
    Not at all like my Avatar Member gamerdude873's Avatar
    Join Date
    Jun 2008
    Location
    USA, California
    Posts
    89

    Default Re: Casualty Healing/Recovery rates...

    Wait do i need to use a special editor for this, cause i just cut an pasted. I don't have a ton of experience with this stuff so bear with me...

    If i do then that might explain the crash.
    Suppose you were an idiot. Suppose you were a member of Congress. But I repeat myself. - Mark Twain

    I may be drunk Miss, but you're ugly. In the morning I'll be sober, and you'll still be ugly. -Winston Churchill

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