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

Thread: export_descr_unit

Hybrid View

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

    Default export_descr_unit

    i have change characteristics for a roman velite unit in the export_descr_unit but i cant get the game to work now do i have to change other files and if so wich ones ?

  2. #2
    Kaweh's Avatar Aerani
    Join Date
    Jul 2005
    Location
    Vienna, Austria
    Posts
    2,247

    Default Re: export_descr_unit

    No, it's enough to make this changes in export_descr_unit.txt, me thinks. Depends on which changes, thought... Could you copy the section you changed into your post?
    (unmodded and modded would be very helpful)

    K.K

    SIBLESZ·CRANDAR·SIMETRICAL​·DARTH VADER·KAWEH·RAVEN DARKWING·KALOS
    · PROUD MEMBER OF ROMA SURRECTUM II ·

  3. #3
    Halie Satanus's Avatar Emperor of ice cream
    Join Date
    Nov 2005
    Location
    London
    Posts
    19,971
    Blog Entries
    1

    Default Re: export_descr_unit

    What did you change? and what happens when the game does not work, does it crash to desktop.

  4. #4
    Kaweh's Avatar Aerani
    Join Date
    Jul 2005
    Location
    Vienna, Austria
    Posts
    2,247

    Default Re: export_descr_unit

    Also use the "show_err" tag, then you should get an error message which tells you where (at which line in which file) the problem lies...

    K.K

    SIBLESZ·CRANDAR·SIMETRICAL​·DARTH VADER·KAWEH·RAVEN DARKWING·KALOS
    · PROUD MEMBER OF ROMA SURRECTUM II ·

  5. #5

    Default Re: export_descr_unit

    Unmodded

    type roman velite
    dictionary roman_velite ; Velites
    category infantry
    class missile
    voice_type Light_1
    soldier roman_velite, 40, 0, 0.8
    mount_effect elephant +6, chariot +6
    attributes sea_faring, hide_improved_forest, hide_long_grass, can_sap
    formation 1.6, 2, 3.2, 4, 3, square
    stat_health 1, 0
    stat_pri 7, 2, javelin, 50, 6, thrown, archery, piercing, spear, 25 ,1
    stat_pri_attr thrown
    stat_sec 5, 2, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 2, 3, 2, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 1
    stat_ground 2, 0, 3, 0
    stat_mental 4, normal, untrained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 270, 170, 30, 40, 270
    ownership roman

    modded

    type roman velite
    dictionary roman_velite ; Velites
    category infantry
    class light
    voice_type Light_1
    soldier roman_velite, 40, 0, 0.8
    attributes sea_faring, can_sap
    formation 1.6, 2, 3.2, 4, 3, horde
    stat_health 2, 0
    stat_pri 8, 7, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_pri_attr no
    stat_sec no, no, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    stat_pri_armour 2, 3, 2, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 1
    stat_ground 2, 0, 3, 0
    stat_mental 6, impetuos, untrained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 270, 170, 30, 40, 270
    ownership roman

    and yes its CTD

  6. #6

    Default Re: export_descr_unit

    sorry im a noob so i dont know what "show_err" tag is

  7. #7
    Kaweh's Avatar Aerani
    Join Date
    Jul 2005
    Location
    Vienna, Austria
    Posts
    2,247

    Default Re: export_descr_unit

    Well, I'm not sure, but this line seems... wrong, somehow: stat_sec no, no, no, 0, 0, no, no, no, none, 25 ,1

    Show Error: right click on the desktop icon, then in the add "-show_err" at the end of the path without the " and a space befor it.

    K.K

    SIBLESZ·CRANDAR·SIMETRICAL​·DARTH VADER·KAWEH·RAVEN DARKWING·KALOS
    · PROUD MEMBER OF ROMA SURRECTUM II ·

  8. #8
    Civis
    Join Date
    Aug 2004
    Location
    Minneapolis MN
    Posts
    115

    Default Re: export_descr_unit

    the secondary weapon should be;

    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1

    ***Edit***

    impetuous, not impetuos

  9. #9

    Default Re: export_descr_unit

    thanks it works now but when i play in game the velite dont have a weapon in there hand only have there shield

  10. #10
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default Re: export_descr_unit

    To change a units weapons you need to edit the units model
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  11. #11

    Default Re: export_descr_unit

    yeah on 3dsmax i done that thanks

  12. #12
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default Re: export_descr_unit

    Did you name the sword primary weapon in 3ds max?
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  13. #13

    Default Re: export_descr_unit

    He might need to get rid of the javelinman skeleton for the unit in DMB as well. He has completely changed the unit so that it is only a sword unit now.
    You can hide your light behind the hill,
    Offer up your freedom and your will,
    You can build your house on the shifting sand,
    As for me I'll fight where I stand.

    Lyrics from "Fight Where I Stand", Needfire (Celtic Rock Band)

  14. #14

    Default Re: export_descr_unit

    i made more mistakes modding but i deleted the backup file by accident i cant find the mistakes

    type roman mirmillo gladiator
    dictionary roman_mirmillo_gladiator ; Mirmillo Gladiators
    category infantry
    class heavy
    voice_type Heavy_1
    soldier roman_mirmillo_gladiator, 40, 0, 1.3
    attributes sea_faring, can_sap, very_hardy
    formation 1.2, 1.2, 2.4, 2.4, 2, horde
    stat_health 2, 0
    stat_pri 16, 8, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    stat_pri_armour 9, 3, 0, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 2
    stat_ground 2, 0, 0, 0
    stat_mental 14, impetuous, untrained
    stat_charge_dist 40
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 700, 260, 70, 110, 700
    ownership romans brutii, slave

    type roman praetorian cavalry
    dictionary roman_praetorian_cavalry ; Praetorian Cavalry
    category cavalry
    class heavy
    voice_type Heavy_1
    soldier roman_praetorian_cavalry, 27, 0, 1
    mount heavy horse
    attributes sea_faring, hardy
    formation 1.5, 4, 3, 6, 4, square, wedge
    stat_health 2, 0
    stat_pri 15, 8, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    stat_pri_armour 7, 2, 4, metal
    stat_sec_armour 0, 1, flesh
    stat_heat 3
    stat_ground 0, 0, -6, 0
    stat_mental 7, impetuous, untrained
    stat_charge_dist 40
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 840, 240, 90, 130, 840
    ownership romans_julii,romans_brutii,romans_scipii,romans_senate

    type roman light cavalry
    dictionary roman_light_cavalry ; Equites
    category cavalry
    class light
    voice_type Light_1
    soldier roman_equites, 27, 0, 1
    mount light horse
    attributes sea_faring
    formation 1.5, 4, 3, 6, 4, square, wedge
    stat_health 2, 0
    stat_pri 7, 6, no, 0, 0, melee, simple, piercing, spear, 25 ,1
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    stat_pri_armour 1, 3, 0, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 3
    stat_ground 0, 0, -6, 0
    stat_mental 4, impetuous, untrained
    stat_charge_dist 40
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 420, 110, 50, 70, 420
    ownership roman

    type roman archer
    dictionary roman_archer ; Roman Archers
    category infantry
    class missile
    voice_type Light_1
    soldier roman_archer, 40, 0, 0.8
    attributes sea_faring, can_sap
    formation 1.6, 2, 3.2, 4, 3, square
    stat_health 1, 0
    stat_pri 4, 1, arrow, 120, 30, missile, archery, piercing, none, 25 ,1
    stat_pri_attr no
    stat_sec 6, 3, no, 0, 0, melee, simple, piercing, knife, 25 ,1
    stat_sec_attr no
    stat_pri_armour 0, 2, 0, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 3
    stat_ground 2, 0, 3, 0
    stat_mental 4, impetuous, untrained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 170, 170, 20, 30, 190
    ownership romans_julii,romans_brutii,romans_scipii,romans_senate

    type roman hastati
    dictionary roman_hastati ; Hastati
    category infantry
    class light
    voice_type Light_1
    soldier roman_hastati, 40, 0, 1
    attributes sea_faring, frighten_foot, can_sap
    formation 1, 2, 2, 3, 4, horde
    stat_health 2, 0
    stat_pri 12, 9, no, 0, 0, melee, blade, piercing, spear, 25 ,1
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    stat_pri_armour 5, 2, 3, metal
    stat_sec_armour 0, 1, flesh
    stat_heat 3
    stat_ground 2, 0, 0, 0
    stat_mental 6, impetuous, untrained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 440, 170, 50, 70, 440
    ownership roman

    type roman velite
    dictionary roman_velite ; Velites
    category infantry
    class light
    voice_type Light_1
    soldier roman_velite, 40, 0, 0.8
    attributes sea_faring, can_sap
    formation 1.6, 2, 3.2, 4, 3, horde
    stat_health 2, 0
    stat_pri 8, 7, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    stat_pri_armour 1, 2, 1, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 2
    stat_ground 2, 0, 3, 0
    stat_mental 6, impetuous, untrained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 270, 170, 30, 40, 270
    ownership roman

  15. #15
    Halie Satanus's Avatar Emperor of ice cream
    Join Date
    Nov 2005
    Location
    London
    Posts
    19,971
    Blog Entries
    1

    Default Re: export_descr_unit

    If you can't get a back up from someone, or no one can spot the errors, copy the stats from similar units and start from there. as for the max weapon swap did you connect the sword in the schematic view (just checking it's easy to overlook) .
    good luck.

  16. #16

    Default Re: export_descr_unit

    There are errors in the ownership lines of about half of those, spaces where there shouldn't be, and missing underscores. You really need to back up your files before you edit.

    Can you really have "frighten_foot" for an infantry unit?
    You can hide your light behind the hill,
    Offer up your freedom and your will,
    You can build your house on the shifting sand,
    As for me I'll fight where I stand.

    Lyrics from "Fight Where I Stand", Needfire (Celtic Rock Band)

  17. #17

    Default Re: export_descr_unit

    for some strange reason there isnt any spaces in senate on my export_descr_unit file and i put an underscore in romans_brutii and i deletd frighten_foot from hastati infantry because i wasnt sure if that worked aswell and it still crashes to desktop

  18. #18

    Default Re: export_descr_unit

    So are you saying you changed half a dozen units without checking to see if they would work and without backing up, then started getting CTD's? If so then you should probably just treat this as a learning experience and start over. There are reasons for doing modding incrementally and methodically. If you get a CTD without a show error message, then you should undo the last thing you did, then retest, and repeat until things work again. If you change 100 entries, then get a crash when you test it, you have a lot more work to do finding the source of the CTD than if you change 1 entry or 10 entries then test.

    If your copy and pastes are showing extra spaces then something might be wrong with the way you are saving/editing the files (might be the configuration or diplay of your text editor or some inadverdent tabs/etc. If you don't think the spaces are there you should delete that part of the entry and retype it to be certain.
    You can hide your light behind the hill,
    Offer up your freedom and your will,
    You can build your house on the shifting sand,
    As for me I'll fight where I stand.

    Lyrics from "Fight Where I Stand", Needfire (Celtic Rock Band)

  19. #19

    Default Re: export_descr_unit

    Frighten foot does work – i used it recently for the germans as they were apparently invinsible. In fact i used frighten mounted as well.

    I created a text file with all the attributes like trained, highly_trained etc, cut n pasting is far better than writing text, as the spelling is always the original.
    Formerly quetzalcoatl. Proud leader of STW3 and member of the RTR, FATW and QNS teams.

  20. #20

    Default Re: export_descr_unit

    if i lower the last number on formation line does that mean that each formation will be closer when grouped ie-:shield wall....because i changed a schiltrom unit to use shield wall but they dont group like i want...spaces between each unit

    be greatfull for a reply

    W4SPY

    formation 1.0, 0, 2.0, 2.0, 5, square, shield_wall


    the number underlined
    Last edited by W4SPY; January 21, 2009 at 03:27 PM.

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
  •