Results 1 to 16 of 16

Thread: How to delete the running ability from infantry units?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ducenarius
    Join Date
    Aug 2010
    Location
    Poland --> Upper Silesia region (pl=Górny Śląsk).
    Posts
    920

    Icon5 How to delete the running ability from infantry units?

    Hello everyone,


    I wonder if it is possible to force the infantry only to march during land battle?


    Thanks in advance for any help!

    =====================================================================================================================
    Remember of the Alamo!

  2. #2

    Default Re: How to delete the running ability from infantry units?

    One solution, albeit inelegant, might be to set the running speeds the same as marching speeds in the battle entities table in db editor.

  3. #3
    Nosjack's Avatar Praepositus
    Join Date
    Dec 2010
    Location
    Deep in the bowels of the Forest Temple
    Posts
    5,207

    Default Re: How to delete the running ability from infantry units?

    Quote Originally Posted by ben5010 View Post
    One solution, albeit inelegant, might be to set the running speeds the same as marching speeds in the battle entities table in db editor.
    you would also have to change the fatigue affects since even though the units are technically "walking" the AI tells them to "run" and thus would tire faster

  4. #4
    Ducenarius
    Join Date
    Aug 2010
    Location
    Poland --> Upper Silesia region (pl=Górny Śląsk).
    Posts
    920

    Icon4 Re: How to delete the running ability from infantry units?

    Thanks for help nosjack202 and ben5010! +rep to both of you!
    Last edited by p.jakub88; December 20, 2010 at 08:45 AM.
    Remember of the Alamo!

  5. #5
    Ducenarius
    Join Date
    Aug 2010
    Location
    Poland --> Upper Silesia region (pl=Górny Śląsk).
    Posts
    920

    Icon5 Re: How to delete the running ability from infantry units?

    Quote Originally Posted by nosjack202 View Post
    you would also have to change the fatigue affects since even though the units are technically "walking" the AI tells them to "run" and thus would tire faster
    ============================================================================================================================

    Ok, could you tell me nosjack202 which particular line (or lines) in the kv_fatigue table i need to change?

    When i only changed the battle entities table (i have made a mod pack), the units could only walk --> but the icon and text description describes this activity as running.

    Thanks in advance!

    ============================================================================================================================
    Remember of the Alamo!

  6. #6
    Nosjack's Avatar Praepositus
    Join Date
    Dec 2010
    Location
    Deep in the bowels of the Forest Temple
    Posts
    5,207

    Default Re: How to delete the running ability from infantry units?

    I don't know of a way to completely delete the running ability, so I suggested (after Ben's suggestion) that you just change the fatigue affects so that even though the unit says that it is "running" it will be at a walking speed and will tire just as slowly as if it was just walking.

    If you look into the kv_fatigue_tables then you should find what you are looking for; the fatigue subtraction for walking should be 0, so if you just set the "running" to 0 then the units will tire at the same rate.

    It may take a few tries to get it right but that is what I think you have to do
    Last edited by Nosjack; December 20, 2010 at 09:32 AM.

  7. #7
    Ducenarius
    Join Date
    Aug 2010
    Location
    Poland --> Upper Silesia region (pl=Górny Śląsk).
    Posts
    920

    Icon4 Re: How to delete the running ability from infantry units?

    Quote Originally Posted by nosjack202 View Post
    I don't know of a way to completely delete the running ability, so I suggested (after P.jakub's suggestion) that you just change the fatigue affects so that even though the unit says that it is "running" it will be at a walking speed and will tire just as slowly as if it was just walking.

    If you look into the kv_fatigue_tables then you should find what you are looking for; the fatigue subtraction for walking should be 0, so if you just set the "running" to 0 then the units will tire at the same rate.

    It may take a few tries to get it right but that is what I think you have to do
    ==========================================================================================================================

    Thanks, i already found this line in kv_fatigue and i changed running value from 6 (vanilla) to 0 (the same as walking).

    The only problem is the animation of marching units in land battle (i' m talking only about infantry) --> the walking seems to be running in slow motion ( like Matrix..), so there is no smooth marching (a strange lag in unit movement).

    I think, that there should be more smoothness in unit movements --> anyone knows how to fix that animation bug?

    Thanks in advance!

    ==========================================================================================================================
    Remember of the Alamo!

  8. #8

    Default Re: How to delete the running ability from infantry units?

    There is a variable in unit stats land that an disbale running: " Is slow moving". Set it to true and your units will no longer run.

  9. #9
    Ducenarius
    Join Date
    Aug 2010
    Location
    Poland --> Upper Silesia region (pl=Górny Śląsk).
    Posts
    920

    Icon4 Re: How to delete the running ability from infantry units?

    Quote Originally Posted by Yarkis View Post
    There is a variable in unit stats land that an disbale running: " Is slow moving". Set it to true and your units will no longer run.
    I already know this variable in unit stats land, but it seems that it has no effect in battle .

    I changed from "False" to "True" and i saved as a movie pack type (mod .pack type doesn't work for this db table, it isn't loaded by game ).

    I' m afraid, that this is hardcoded (so it is not possible to remove the running ability from i.e infantry).

    Thanks for the reply anyway.

    =======================================================================================================================
    Last edited by p.jakub88; December 22, 2010 at 03:20 PM.
    Remember of the Alamo!

Posting Permissions

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