Results 1 to 4 of 4

Thread: Confused - land_unit DB Balues and Actual In Game Value Not Matching?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    =HighXplosive='s Avatar Miles
    Join Date
    May 2005
    Location
    Glasgow, Scotland
    Posts
    318

    Default Confused - land_unit DB Balues and Actual In Game Value Not Matching?

    I have been editing the land_units table and lowering the melee_attack and raising the melee_defence of units in order to slow battles down.

    So far, I have successfully lowered the melee_attack (dismounted_melee_attack and melee_attack) of all units. However while I increased the melee defence (melee_defence and dismounted_melee_defence) of all units, and while it is clear that this has had an effect, I noticed that the melee defence value in the land_unit table for every unit in my pack does not correspond to the actual value in the game. For example, a Legionary Cohort has 26 melee defence on the table, but 66 melee defence in game. This inconsistency was present on the vanilla land_unit table as well.

    The question therefore is how exactly is the melee_defence stat in the land_unit table computed into the actual in game melee defence - whats the maths behind this?
    "The Sun never sets on the British Empire......because I have to keep restarting my campaign."

  2. #2
    Libertus
    Join Date
    Sep 2006
    Location
    GREECE
    Posts
    86

    Default Re: Confused - land_unit DB Balues and Actual In Game Value Not Matching?

    shields also contribute to melee defense my friend. So legionary cohort have shields that add 40 melee defense to the unit..

  3. #3
    =HighXplosive='s Avatar Miles
    Join Date
    May 2005
    Location
    Glasgow, Scotland
    Posts
    318

    Default Re: Confused - land_unit DB Balues and Actual In Game Value Not Matching?

    Thanks. Out of curiosity, which table are the values for those shields located?
    "The Sun never sets on the British Empire......because I have to keep restarting my campaign."

  4. #4
    crzyrndm's Avatar Artifex
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    2,576

    Default Re: Confused - land_unit DB Balues and Actual In Game Value Not Matching?

    unit_shields controls the stats granted by shields (armour, MD, blocking)
    It’s better to excite some and offend others than be bland and acceptable to all
    Creating a mod.pack with PFM - Database Table Fragments

Posting Permissions

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