Results 1 to 18 of 18

Thread: Increasing Charge Time out?

Hybrid View

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

    Default Increasing Charge Time out?

    Is it possible to increase charge time out? I'm modding battle_entities so that units would take a charge stance and have increased speed. (note that when charge stance is taken, the animation changes to the units running, ergo faster movement speed)

    I've done these, and have met an impasse. It seems that charge has a time out of 10 seconds. What happens is the men abruptly stops, some roll and tip over themselves as well, which is quite comical.

    Is there a way to increase this charge timeout?

    Also, as a side question, the manager behavior junctions have numbers. Does a bigger number for say, Expansion behavior mean that the AI will want to expand more?
    Last edited by GnaReffotsirk; May 01, 2011 at 09:42 PM.

  2. #2
    Condottiere SOG's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Oregon, USA
    Posts
    2,274

    Default Re: Increasing Charge Time out?

    kv_rules

    manager behavior junctions? where?
    Last edited by Condottiere SOG; May 03, 2011 at 03:47 PM.
    Erasmo
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601)
    System Manufacturer: ASUSTeK Computer Inc.
    System Model: G73Sw
    Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz
    Memory: 12288MB RAM
    Available OS Memory: 12266MB RAM
    Page File: 2634MB used, 21881MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode

  3. #3

    Default Re: Increasing Charge Time out?

    Hi, thanks for the reply.

    Kv_rules entry that says "Charge_Cool_down_time"?

    I meant the campaign_ai_manager_behaviour_junctions_tables.

    Edit:

    Charge_cool_down_time inside kv_rules doesn't work. I've set it to 150 and 600 but units would still stop after 10 seconds charging. Also, units tend to fall in line when charging, any ideas how to fix?
    Last edited by GnaReffotsirk; May 04, 2011 at 03:41 AM.

  4. #4
    Condottiere SOG's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Oregon, USA
    Posts
    2,274

    Default Re: Increasing Charge Time out?

    seems to work for me...i will test it specifically.
    Erasmo
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601)
    System Manufacturer: ASUSTeK Computer Inc.
    System Model: G73Sw
    Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz
    Memory: 12288MB RAM
    Available OS Memory: 12266MB RAM
    Page File: 2634MB used, 21881MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode

  5. #5
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default Re: Increasing Charge Time out?

    Adding new entries to _kv_rules will have no effect as all the entries are specifically tied into the game code. New entries won't be tied in so won't have any effect.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  6. #6
    Condottiere SOG's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Oregon, USA
    Posts
    2,274

    Default Re: Increasing Charge Time out?

    interesting...are we do to receive mod tools to adjust these features or are we still...waiting? I, personally, would like to be able to manipulate the BAI. Thank you for your response, Lusted.
    Erasmo
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601)
    System Manufacturer: ASUSTeK Computer Inc.
    System Model: G73Sw
    Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz
    Memory: 12288MB RAM
    Available OS Memory: 12266MB RAM
    Page File: 2634MB used, 21881MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode

  7. #7

    Default Re: Increasing Charge Time out?

    Actually, we're not adding new entries into the kv_rules. The row "charge_cool_down_time" exists. It says 10 by default, which should be 10 seconds right? What pack type are you using Condottiere? Movie, mod?

  8. #8
    Condottiere SOG's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Oregon, USA
    Posts
    2,274

    Default Re: Increasing Charge Time out?

    Last edited by Condottiere SOG; May 05, 2011 at 02:46 PM. Reason: delete entry please
    Erasmo
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601)
    System Manufacturer: ASUSTeK Computer Inc.
    System Model: G73Sw
    Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz
    Memory: 12288MB RAM
    Available OS Memory: 12266MB RAM
    Page File: 2634MB used, 21881MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode

  9. #9
    Condottiere SOG's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Oregon, USA
    Posts
    2,274

    Default Re: Increasing Charge Time out?

    yes, movie mod format...it seems to work for me...tested two battles today. One small(at least five units on one side) and a skirmish(less than 5 units per side). hh

    medium battle(at least 10 units on one side)
    large battle(over 10 units on one side)
    huge battle(full stack on a side)

    try all these...

    edit - EXPANSION_BEHAVIOUR covers expanding to new territories(conquering - Ashikaga factions does not have a entry for this.
    Last edited by Condottiere SOG; May 05, 2011 at 02:47 PM.
    Erasmo
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601)
    System Manufacturer: ASUSTeK Computer Inc.
    System Model: G73Sw
    Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz
    Memory: 12288MB RAM
    Available OS Memory: 12266MB RAM
    Page File: 2634MB used, 21881MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode

  10. #10

    Default Re: Increasing Charge Time out?

    I still can't get it to work. My pack type is "MOD". Changed it to 11000 and still it was a Shameful Display.



    btw, is there a difference between the two pack types MOD and Movie?
    Last edited by GnaReffotsirk; May 05, 2011 at 03:41 PM.

  11. #11
    Condottiere SOG's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Oregon, USA
    Posts
    2,274

    Default Re: Increasing Charge Time out?

    Things work for me in the movie format. Mod never seemed to work...except for Empire. PFM has a lot of issues that need correcting...but thankfully we have it. I liked vanilla(a first!!!) but it played out like a video game and not like that epic mod that I have now. As for battles when I played vanilla...they seemed liked 'skirmishes that ended to quickly'...Japanese medieval warfare never ended that way unless you were a master tactician. Now if I do not plan well I will get stuck in a mired melee when can go on for hours...the SP AI seems to want to counter moves more and takes initiative to destroy my forces. It will drawn me in at times before I realize I have been duped into an ambush or a crossfire or a melee trap. I loose often on 'normal' settings. It is so upsetting to know that the computer outmaneuvered me. It drives me and makes me fight. I am so happy for this version of TW. I play everyday for hours at times and think about when I am at other tasks. Work gives me ideas...and I mod them in.
    Last edited by Condottiere SOG; May 05, 2011 at 03:52 PM.
    Erasmo
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601)
    System Manufacturer: ASUSTeK Computer Inc.
    System Model: G73Sw
    Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz
    Memory: 12288MB RAM
    Available OS Memory: 12266MB RAM
    Page File: 2634MB used, 21881MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode

  12. #12
    Kabeloko's Avatar Biarchus
    Join Date
    Oct 2010
    Location
    Brazil - São Paulo
    Posts
    612

    Default Re: Increasing Charge Time out?

    i dont know about charge time, but if u decrease the dist they charge, maybe they will work properly...
    go on the export_descr_unit file and look for stat_charge_dist and give it a try...
    im not sure, but in SS6.4 units seem to get very close before they charge(infantry at least), wich is really useful as they dont break formation and impale each other, stay behind and other ridiculous scenes...
    Spoiler Alert, click show to read: 

  13. #13

    Default Re: Increasing Charge Time out?

    True. Anyway, thanks much. I'll just leave this for now since using the Movie format seem to cause shogun 2 to freeze for me.

  14. #14
    Condottiere SOG's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Oregon, USA
    Posts
    2,274

    Default Re: Increasing Charge Time out?

    in this format that file would be called 'battle_entities'.

    kang_13, what kind of system do you have?..it shouldn't be a problem.
    Last edited by Condottiere SOG; May 05, 2011 at 04:02 PM.
    Erasmo
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601)
    System Manufacturer: ASUSTeK Computer Inc.
    System Model: G73Sw
    Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz
    Memory: 12288MB RAM
    Available OS Memory: 12266MB RAM
    Page File: 2634MB used, 21881MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode

  15. #15

    Default Re: Increasing Charge Time out?

    Yeah, I changed the distance to begin charge at 150, charge stance 140, pick target 140. Having the cooldown at 150, then 300, then 600, then 11000 and they still stop at mid charge. The charge speed is 5.8.

    It looks beautiful if both opposing units charge towards each other, as they slightly separate due the acceleration, and clash making some units go deep into the lines. However, if another unit takes a defensive stance (or idle) the charging unit will stop mid charge, then tip-toe forward in a ready stance. It looks funny at least.

    edit: Here's my system, running 32-bit Win7
    Quad core 6600
    Radeon 3750
    4 gig ddr2 800 ram

    Been able to run the pack in movie type, but still to no avail. This is strange indeed. Also the crash happened when the clash happened.
    Last edited by GnaReffotsirk; May 05, 2011 at 04:09 PM.

  16. #16
    Condottiere SOG's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Oregon, USA
    Posts
    2,274

    Default Re: Increasing Charge Time out?

    keep the pick target high...drop the other two

    cavalry begin charge at 45, infantry at 18
    stance at 150% that distance.

    ...you will notice that when a unit finishes with a unit(or some other action) it will immediately go to the nearest enemy(if not in guard mode)...a big help. Discovered this in ETW. Cavalry sweeps the field and infantry lends support.

    I have even seen broken units(AI's and mine) begin the return to the fray...my timeouts are all set at 60. If my general rallies, all rallied broken units will pick a target. Sometimes it is my last desperate act to insure victory...both armies near tatters, if the enemy army is stronger, it insures my general an honorable death and commits my force to destroy the enemy so that my other armies can dispense with the opponent more easily.

    unfortunately...this does not cause units to act on their own when the distance was closed, from idle stance(yet?)...or the numerous buttons that must be pushed to make a unit do its job. I wish these units would act more independently and and generals would opt their influences as needed with out player prompt. So that I may sit back and watch my general earn his stars...I feel like I cheat when I have to help. I remember in Med2 when I could pick one unit and let the rest of the army do its thing. I miss those days. These features in Shogun 2 are the closest I have seen to that.

    In ETW, I gave my artillery units grapeshot/shell and those units seemed to use the rounds to optimal effect when needed as I could not program in the right buttons. I wish I could give units the special abilities to use without buttons, set their rules of engagement(pick target) and let them cut to work.
    Last edited by Condottiere SOG; May 05, 2011 at 04:35 PM.
    Erasmo
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601)
    System Manufacturer: ASUSTeK Computer Inc.
    System Model: G73Sw
    Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz
    Memory: 12288MB RAM
    Available OS Memory: 12266MB RAM
    Page File: 2634MB used, 21881MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode

  17. #17

    Default Re: Increasing Charge Time out?

    That's cool. Will add them in.

    Added to credits!

  18. #18
    Condottiere SOG's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Oregon, USA
    Posts
    2,274

    Default Re: Increasing Charge Time out?

    my thanks, GnaReffotsirk
    Last edited by Condottiere SOG; May 06, 2011 at 12:36 PM.
    Erasmo
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601)
    System Manufacturer: ASUSTeK Computer Inc.
    System Model: G73Sw
    Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz
    Memory: 12288MB RAM
    Available OS Memory: 12266MB RAM
    Page File: 2634MB used, 21881MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode

Posting Permissions

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