Page 1 of 2 12 LastLast
Results 1 to 20 of 23

Thread: Editing unit stats.

Hybrid View

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

    Default Editing unit stats.

    How do i edit the attack / def value for units, im trying to make hillmen not such a useless unit.
    Can i also take out certain attributes such as poor morale ?

    also is it possible to add new resources to certain regions
    Last edited by Kyleh125; June 21, 2009 at 09:28 AM.

  2. #2
    Kylan271's Avatar Domesticus
    Join Date
    Jul 2007
    Location
    Vietnam
    Posts
    2,232

    Default Re: Editing unit stats.

    Which mod are you playing,or RTW vanilla and which faction? Is this parthia,armenia or what?

    Unit values are in text ie RTW--->data-->export_description_units.txt,search for 'hillmen' in search on the note pad and you will find your faction unit and its data. Moral,primary attack and defence are all there,you can alter,but not too high or unbalance game. Need to know your unit first before can answer fully.

    New resources are found via WIKI as answers to your unit questions. Look at EDU in RTW wiki section.


  3. #3

    Default Re: Editing unit stats.

    Thanks for the reply, i am playing as parthia but i dont mind if i change the rest of the eastern factions aswell.
    trying to edit my resources atm

  4. #4

    Default Re: Editing unit stats.

    i've changed the units details in export_descr_unit but nothing changes in game :@

  5. #5

    Default Re: Editing unit stats.

    Are you using Vista and have not turned UAC off?

  6. #6

    Default Re: Editing unit stats.

    im using vista, UAC ?

  7. #7
    Medusa0's Avatar Artifex
    Join Date
    Apr 2009
    Location
    Nowhere
    Posts
    379

    Default Re: Editing unit stats.

    Changes to units with EDU editing do not appear in a saved game, test them out in a custom battle first.

  8. #8

    Default Re: Editing unit stats.

    Quote Originally Posted by Kyleh125 View Post
    im using vista, UAC ?
    Here.

    Quote Originally Posted by Medusa0 View Post
    Changes to units with EDU editing do not appear in a saved game, test them out in a custom battle first.
    Hm, I think they do.

  9. #9

    Default Re: Editing unit stats.

    disabled UAC and still nothing has changed, will it change the unit card or just be a hidden change when there fighting ?

  10. #10

    Default Re: Editing unit stats.

    The unit card will not change, unless you alter the dictionary name of the unit. Unless you are talking about the stats that you see when you view the unit's info scroll? In that case yes, you will see the altered attack and defense ratings. You will not see morale there, as that screen does not display it.

    Go back and double-check your Export_Descr_Unit.txt file and make sure the changes you made are still there.

    You can find a complete guide to editing the file here.

  11. #11

    Default Re: Editing unit stats.

    i double checked and all the changes are still there, but nothing in game changes. i've even tried fighting them in custom battles with the changes but nothing has changed at all :s i'll read that guide now, thanks

  12. #12

    Default Re: Editing unit stats.

    This is really annoying i cant see any reason why it aint working..

  13. #13

    Default Re: Editing unit stats.

    Make sure you're editing the correct file (ie not editing a file in a mod's directory, or a back up installation etc) and that your editions are saved (re-open the file after saving it and see if your changes are still there)

    Also, can you post here the edited code?

  14. #14

    Default Re: Editing unit stats.

    its the right file and the changes are there, changes made -

    type east hillmen
    dictionary east_hillmen ; Hillmen
    category infantry
    class light
    voice_type Light_1
    soldier east_hillmen, 40, 0, 1
    attributes sea_faring, hide_improved_forest, hide_long_grass, can_sap, hardy
    formation 1.2, 1.2, 2.4, 2.4, 4, square
    stat_health 1, 0
    stat_pri 9, 4, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
    stat_pri_attr spear, spear_bonus_8
    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    stat_pri_armour 4, 4, 5, leather
    stat_sec_armour 0, 0, flesh
    stat_heat -1
    stat_ground 2, 1, 0, -1
    stat_mental 4, impetuous, untrained
    stat_charge_dist 40
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 290, 170, 30, 50, 290
    ownership eastern

  15. #15

    Default Re: Editing unit stats.

    And if you go to a custom battle the unit still has the old stats? Weird.

    Ok, try to outcomment a line of the EDU entry and see if the game crashes or complains etc.

  16. #16

    Default Re: Editing unit stats.

    Yeah has same old stats in custom/campaign.

    how do you outcomment a line of the EDU entry ?

    sorry im bad at this XD
    Last edited by Kyleh125; June 21, 2009 at 02:08 PM.

  17. #17

    Default Re: Editing unit stats.

    You put a ; in front of the line.

    Code:
    type             east hillmen
    dictionary       east_hillmen      ; Hillmen
    category         infantry
    class            light
    voice_type       Light_1
    soldier          east_hillmen, 40, 0, 1
    attributes       sea_faring, hide_improved_forest, hide_long_grass, can_sap, hardy
    formation        1.2, 1.2, 2.4, 2.4, 4, square
    stat_health      1, 0
    stat_pri         9, 4, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
    stat_pri_attr    spear, spear_bonus_8
    stat_sec         0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr    no
    stat_pri_armour  4, 4, 5, leather
    stat_sec_armour  0, 0, flesh
    stat_heat        -1
    stat_ground      2, 1, 0, -1
    stat_mental      4, impetuous, untrained
    stat_charge_dist 40
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 290, 170, 30, 50, 290
    ; ownership        eastern 

  18. #18

    Default Re: Editing unit stats.

    Nothing happened, game started as normal

  19. #19

    Default Re: Editing unit stats.

    Then you are not editing the right file, if you were, the game would give an error message. Either that or your changes are not saved.

  20. #20

    Default Re: Editing unit stats.

    There saving to that file, and there is no other files with that name.. this is annoying =[

Page 1 of 2 12 LastLast

Posting Permissions

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