Results 1 to 7 of 7

Thread: Max variables for units stats

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Xorte-Renshe's Avatar Civis
    Join Date
    Jan 2011
    Location
    Newcastle, England
    Posts
    159

    Default Max variables for units stats

    In the (new) PFM, we can see and change the various stats in the unit_stats_land like armour type (leather or plate), melee skill, defense skill, et cetera...
    What are the max variables you can set the skills at?

    For example, I want to create a supersoldier unit (using the Katana Hero) with only two soldiers in the unit. Its vanilla melee skill is 25, its charge bonus is 28, and its defense skill is 10. I want to crank these up as high as possible (and have some epic two-on-two hero battles and twelve-on-two hundred battles, like in that "13 Assassins" movie, in the custom battle mode.)


    Also, what is the highest you can set the morale to? I want to allow every unit to have massive morale.


    [edit] So, after trying to change some stats randomly (setting the number of troops to 2, giving them 50 melee skill and defense, and 40 charge bonus plus a few other small things), the only thing that really changed was the troop number (to 30, instead of 2). There's no way that 30 is the minimum troop number, since there are units with 12 troops in them.

    What is the problem here? ///_o
    Last edited by Xorte-Renshe; April 07, 2011 at 12:35 AM.

  2. #2

    Default Re: Max variables for units stats

    wrong hex value? campaign multiplier issue? maybe you need to edit the starpos?
    btw, u can raise all the stats in unit_stat_land to max and they'll still get mowed down by cavalry charges.
    hero units starts with like 40 morale and routing is already almost impossible for them. so doubling it might work?

  3. #3
    Xorte-Renshe's Avatar Civis
    Join Date
    Jan 2011
    Location
    Newcastle, England
    Posts
    159

    Default Re: Max variables for units stats

    Quote Originally Posted by newguy View Post
    wrong hex value? campaign multiplier issue? maybe you need to edit the starpos?
    btw, u can raise all the stats in unit_stat_land to max and they'll still get mowed down by cavalry charges.
    hero units starts with like 40 morale and routing is already almost impossible for them. so doubling it might work?
    It doesn't deal with hex. The PFM allows direct changes (luckily). ///_^
    Also, there are different variables for the single player and multiplayer Katana Hero units.
    And it could be that I have to edit another additional file. That's a good point! ///_o

    I wouldn't have cavalry in a custom battle, so that's no problem, lol.

    And the morale for the hero unit isn't the problem. Every other unit routs so easily when up against them. I want to prevent that.

  4. #4

    Default Re: Max variables for units stats

    the pfm is still in beta with issues still being worked on so your problem might be in that.

    if you want every unit to have enough morale to not rout, just set them all to double the amount of hero units. that should make up for their way inferior stats and leave them with enough morale to keep fighting after being decimated by hero units in the first charge.

  5. #5
    Xorte-Renshe's Avatar Civis
    Join Date
    Jan 2011
    Location
    Newcastle, England
    Posts
    159

    Default Re: Max variables for units stats

    Quote Originally Posted by newguy View Post
    the pfm is still in beta with issues still being worked on so your problem might be in that.
    I assume it must be that (unless, like mentioned, I have to edit other files). No matter what I changed it to (tried variables from 35+ for the various skills), the only thing I was ever able to change was the number of soldiers per unit (and the minimum was still 30, for some reason.)
    It could be due to the unit-size settings, and I haven't yet tested to see if, after lowering unit sizes, the number I recently set (13) would take effect. Hopefully I'll be able to test that soon. It will be unfortunate if that is the case, as I want to have few people fight massive amounts of people.

  6. #6

    Default Re: Max variables for units stats

    if you're changing unit values directly with PFM, i wouldn't bet on definite results since it's called a beta for a reason.

    much easier to just extract the db and change the variables with a hex editor
    pretty sure you might've seen this tutorial before
    http://www.twcenter.net/forums/showthread.php?t=433637

    and your thing about number of troops. i mentioned campaign multiplier before right? i meant the unit multiplier not multiplayer. in the preference script the campaign unit decides how many troops get will be assigned per unit.

    1 = 100% = 200 yari ashigaru = ultra size
    .75 = 75% =150 yari ashigaru = large
    and so on...

    if you want to have few vs many, you might want to change the multiplier. it is possible to set the multiplier to 2 and i've heard of ppl using 5+ to get thousands of ashigaru per unit.

    so i'm speculating here but maybe you can set the hero units to have 30 troops max then set multiplier to .1 for just 3 soldiers per unit? that would also change other troops to have same proportions though
    so ashigaru would only have 20 soldiers....

    or if the issue with 30 minimum was cuz of the PFM, just edit the db manually and change the hex value for the # of soldiers to 03 for 3 per unit.
    you can use this site to convert to hex values.
    http://www.statman.info/conversions/hexadecimal.html

Posting Permissions

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