Results 1 to 3 of 3

Thread: How to Increase Value of Melee Defense/Decrease value of Melee Attack?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    McCarronXLD's Avatar Senator
    Join Date
    Jun 2009
    Location
    Maine, USA
    Posts
    1,148

    Default How to Increase Value of Melee Defense/Decrease value of Melee Attack?

    Hey there!

    So I am in the middle of trying to adjust my battle balance for really long battles, but I want to avoid just adding more HP. Currently I use DeI so I am modifying KAM's brilliant work. To quote KAM during his battle overhaul preview "20 Attack will outdo 80 Defense." This made me curious as to how one adjusts this value. My goal for this adjustment is two fold. 1) I want to reduce these to ultra low values to reduce statistic inflation. 2) I want to make Melee Defense superior to Melee Attack.

    Is this a hard coded thing or is this adjustable some where?

    Bonus Question!

    How do I adjust experience? I want to: 1) Adjust the speed at which units gain experience. 2) Adjust what bonuses are rewarded per experience gain. My hope is to make all units start out on equal footing without experience, with their only difference in quality determined by their equipment.

    Bonus Bonus Question!

    How do I go about adjusting how many losses it takes for a unit to be disbanded?
    Last edited by McCarronXLD; February 25, 2015 at 01:40 PM.
    "You hurt me long ago; my wounds bled for years. Now you are back, but I am not the same."

  2. #2
    KAM 2150's Avatar Artifex
    Patrician

    Join Date
    Jul 2013
    Location
    Gdańsk, Poland
    Posts
    11,096

    Default Re: How to Increase Value of Melee Defense/Decrease value of Melee Attack?

    Depends on your end result.

    You can make combat longer simply by lowering melee_hit_chance_base/max/min in kv_rules. It will simply make it harder for units to land successful hit.

    If you want to change all stats in certain category like melee_attack or melee_defence, simply right click on that column in land_units_tables, then pick "select column" and then again right click and "apply expersion". With that you can mass edit all values in that category by the same %. Keep in mind that you need to apply math calculation there and only with round numbers so you can't type x*0.75. To get that you need to type x*3/4 so in the end all values will be decreased by 25%. Note that when you apply expertion, the bracket already has x= from start, but to get it working it should look like x= x*3/4.

    Other way to do it is to just go into unit_shield_types_tables and simply increase shield_defence_value there, easier to do if you want to increase values manually since there are only few values compared to land_tables.

    As for experience just search all tables that include "experience" in the name

    As for amount of losses for unit disband, go into campaign_variables in db tables and search for losing_unit_minimum_strength and unit_minimum_strength.

    In general experiment and have fun buddy
    Official DeI Instagram Account! https://www.instagram.com/divideetimperamod/
    Official DeI Facebook Page! https://www.facebook.com/divideetimperamod

  3. #3
    McCarronXLD's Avatar Senator
    Join Date
    Jun 2009
    Location
    Maine, USA
    Posts
    1,148

    Default Re: How to Increase Value of Melee Defense/Decrease value of Melee Attack?

    Thanks a lot KAM!
    "You hurt me long ago; my wounds bled for years. Now you are back, but I am not the same."

Posting Permissions

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