Results 1 to 4 of 4

Thread: Editing the distance for siege weapons crew engage melee

  1. #1
    leo.civil.uefs's Avatar É nóis que vôa bruxão!
    Join Date
    Sep 2010
    Location
    Brazil
    Posts
    3,135

    Default Editing the distance for siege weapons crew engage melee

    is there a way how to edit the distance from the enemy in wich the crew of a siege weapon turn to melee stance and stop using the siege weapon?

    the siege weapon will fire normally until the enemy gets close enough, then the crew will stop using the siege weapon and get into melee fight stance. as if waiting for the imminent attack.

    this "close enough" is the distance I need to edit since I want the crew keep firing even if the enemies are very close

    in my experience playing TATW the crew of a siege weapon will stop using the engine once the enemies get close enough. the problem is that this "enough" is still far, I would like to make the crew keep using the siege weapon until the enemies get VERY close to them

  2. #2
    z3n's Avatar State of Mind
    took an arrow to the knee

    Join Date
    Aug 2011
    Posts
    4,640

    Default Re: Editing the distance for siege weapons crew engage melee

    If anywhere it would be in the battle_config file. Maybe some random other file, but battle_config controls most things like that. I checked briefly but couldn't see a value that does what you want, but maybe you will find another you would like to change (there's a few about siege equipment there).
    The AI Workshop Creator
    Europa Barbaroum II AI/Game Mechanics Developer
    The Northern Crusades Lead Developer
    Classical Age Total War Retired Lead Developer
    Rome: Total Realism Animation Developer
    RTW Workshop Assistance MTW2 AI Tutorial & Assistance
    Broken Crescent Submod (M2TW)/IB VGR Submod (BI)/Animation (RTW/BI/ALX)/TATW PCP Submod (M2TW)/TATW DaC Submod (M2TW)/DeI Submod (TWR2)/SS6.4 Northern European UI Mod (M2TW)

  3. #3
    leo.civil.uefs's Avatar É nóis que vôa bruxão!
    Join Date
    Sep 2010
    Location
    Brazil
    Posts
    3,135

    Default Re: Editing the distance for siege weapons crew engage melee

    in battle_config.xml there is entries like this:

    Code:
    <skirmish>
          <infantry>
            <default>
              <!-- ignore targets at a distance greater than the maximum range times this scale factor -->
              <max-range-scale>4.0</max-range-scale>
              <!-- must skirmish if within this range -->
              <min-range>30</min-range>
              <!-- stop at this distance if the enemy is blocking the path -->
              <min-stopping-range>45</min-stopping-range>
              <!-- time to react to being intercepted -->
              <collision-reaction-time>1</collision-reaction-time>
              <!-- retreat buffer time -->
              <retreat-time>1</retreat-time>
              <!-- don't skirmish until attackers are within this fraction of the missile range -->
              <range-factor>
                <moving>1.1</moving>
                <shooting>0.80</shooting>
              </range-factor>
            </default>
            <gunpowder>
    there is only <infantry> and <cavalry>
    I tried editing these values for infantry. got no result
    tried all values but this one seemed specially promising 👇

    Code:
    <!-- don't skirmish until attackers are within this fraction of the missile range -->
              <range-factor>
                <moving>1.1</moving>
                <shooting>0.80</shooting>
              </range-factor>
    still no result
    tried creating a <siege> section in the file (my unit is category siege)
    but still nothing changed

  4. #4
    z3n's Avatar State of Mind
    took an arrow to the knee

    Join Date
    Aug 2011
    Posts
    4,640

    Default Re: Editing the distance for siege weapons crew engage melee

    Look under <movement>
    The AI Workshop Creator
    Europa Barbaroum II AI/Game Mechanics Developer
    The Northern Crusades Lead Developer
    Classical Age Total War Retired Lead Developer
    Rome: Total Realism Animation Developer
    RTW Workshop Assistance MTW2 AI Tutorial & Assistance
    Broken Crescent Submod (M2TW)/IB VGR Submod (BI)/Animation (RTW/BI/ALX)/TATW PCP Submod (M2TW)/TATW DaC Submod (M2TW)/DeI Submod (TWR2)/SS6.4 Northern European UI Mod (M2TW)

Posting Permissions

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