Results 1 to 6 of 6

Thread: how to edit unit upkeeps

  1. #1

    Default how to edit unit upkeeps

    not sure if its a bug but vaati has a upkeep of 3600 rupies per turn and since i have him from turn 1 its pretty much impossible to get an economy going without cheating when he(by himself) drains me in 3 turns
    F#CK YEAH DARKNUT!

  2. #2
    Laetus
    Join Date
    Jun 2017
    Location
    England
    Posts
    7

    Default Re: how to edit unit upkeeps

    DarkInterloper posted a fix for the generals for patch 4.6. It makes the broken generals cost 0 rupees.

    https://www.dropbox.com/s/929y6n47jd..._unit.txt?dl=0

    Just replace the file with the same name

  3. #3

    Default Re: how to edit unit upkeeps

    thank you!
    F#CK YEAH DARKNUT!

  4. #4

    Default Re: how to edit unit upkeeps

    Quote Originally Posted by Turn View Post
    DarkInterloper posted a fix for the generals for patch 4.6. It makes the broken generals cost 0 rupees.

    https://www.dropbox.com/s/929y6n47jd..._unit.txt?dl=0

    Just replace the file with the same name
    Is this for the Early Patreon Release version of 4.6 or the one that came out for all to use 30 days later?

  5. #5

    Default Re: how to edit unit upkeeps

    All.

  6. #6
    Civis
    Join Date
    Jul 2013
    Location
    Colima, México
    Posts
    189

    Default Re: how to edit unit upkeeps

    Hello there. The file isn´t there anymore, at least for me. So I had to do change the upkeep cost manually.

    Here are the units that I have seen that has problems with the upkeep cost in the 4.6 version I downloaded from modDB in august (I don´t know if there have been any changes).

    Spoiler Alert, click show to read: 

    ->king dodongo
    ->biggoron
    ->The Great Deku Tree
    ->Sulkaris
    ->Matriarch
    ->Stallord
    ->Undead Onox
    ->Demise
    ->Bongo
    ->Vaati
    ->Maku_Tree_of_Labrynna
    ->Dezaia
    ->Gomess
    ->captain keeta
    ->Una
    ->Dark Onox
    ->Hylia
    ->NPC Empress
    ->NPC Maku Tree Horon

    Here is what I did to fix the upkeep cost (or rather "evade" it);

    Spoiler Alert, click show to read: 

    First I located the file "export_descr_unit". It is in the folder named data in the folder where the mod is installed.
    [Warning: if any of these files are modified, previous datasaves wont work. If the file has any word, letter or symbol that it cannot recognise, the game won´t even start so be careful. I recommend to make a copy before modifying anything. ]

    Here there are each unit in the game with its stats, type, attack value, defend value, cost, turns to be made, upkeep cost and many other things. Locate the unit that have the problem; I

    In the line that says "stat_cost" there are some number separated by "," . the second one is the cost of building that unit and the third one is the upkeep cost. I recommend to change it to zero or one.

    Example:
    Spoiler Alert, click show to read: 

    type Maku_Tree_of_Labrynna
    dictionary Maku_Tree_of_Labrynna ; Elephants
    category cavalry
    class heavy
    voice_type Heavy
    banner faction main_none
    banner holy Crusade
    soldier invisible, 100, 1, 1
    mounted_engine armogohma_eye
    mount maku_tree_labrynna
    mount_effect horse +4, camel +2
    attributes very_hardy, sea_faring, can_withdraw, frighten_foot, frighten_mounted, cannon, gunpowder_unit
    move_speed_mod 1.5
    formation 7, 11, 13,16, 1, square
    stat_health 20, 20
    stat_pri 50, 0, cannon_shot, 300, 12, siege_missile, artillery_gunpowder, blunt, none, 25, 1
    ;stat_pri_ex 0, 0, 0
    stat_pri_attr area, ap
    stat_sec 50, 10, no, 0, 0, melee, melee_simple, blunt, none, 25, 1
    ;stat_sec_ex 0, 0, 0
    stat_sec_attr area, launching, ap
    stat_pri_armour 63, 63, 5, leather
    ;stat_armour_ex 5, 0, 0, 0, 7, 0, 0, metal
    stat_sec_armour 63, 63, leather
    stat_heat 0
    stat_ground 1, 0, 0, -1
    stat_mental 25, disciplined, trained, lock_morale
    stat_charge_dist 25
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 1000, 175, 100, 75, 1000, 1, 999999 ;175
    armour_ug_levels 0
    ownership labrynna, slave
    era 2 labrynna, slave
    info_pic_dir labrynna
    card_pic_dir labrynna
    ;unit_info 10, 16, 12


    Change the number:

    from this:

    stat_cost 1, 1000, 175, 100, 75, 1000, 1, 999999 ;175

    to this:
    stat_cost 1, 1000, 0, 100, 75, 1000, 1, 999999 ;175


Posting Permissions

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