Results 1 to 2 of 2

Thread: tyrying to add new unit to game and it crashes on start.

Hybrid View

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

    Default tyrying to add new unit to game and it crashes on start.

    i am trying to add the unit orophers chosen unit from pcp to my regular third age game. i have added them to the model db and the export desc unit files. but the game is crashing on the first loading screen.

    here are the codes u added. i have looked over them many times maybe you guys can see the problem.

    Code:
    11 orop_chosen
    1 1 
    49 unit_models/_Units/my_units/orop_chosen_lod0.mesh 6400 
    2 
    7 mongols
    53 unit_models/_units/my_units/textures/orophers.texture 
    60 unit_models/_units/my_units/textures/orophers_normal.texture 
    44 unit_sprites/mongols_silvan_sword_sprite.spr
    7 hungary
    53 unit_models/_units/my_units/textures/orophers.texture 
    60 unit_models/_units/my_units/textures/orophers_normal.texture 
    44 unit_sprites/mongols_silvan_sword_sprite.spr
    2 
    7 mongols
    62 unit_models/_units/my_units/textures/orophers_Att_diff.texture 
    62 unit_models/_units/my_units/textures/orophers_Att_norm.texture 0  
    7 hungary
    62 unit_models/_units/my_units/textures/orophers_Att_diff.texture 
    62 unit_models/_units/my_units/textures/orophers_Att_norm.texture 0 
    1 
    4 None
    17 MTW2_Fast_Javelin
    10 MTW2_Spear 2
    20 MTW2_Javelin_primary
    14 fs_test_shield 2
    18 MTW2_Spear_primary
    14 fs_test_shield
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002

    Code:
    type             Orophers Chosen
    dictionary       Orophers_Chosen
    category         infantry
    class            missile
    voice_type       Heavy
    banner faction   main_missile
    banner holy      crusade
    soldier          orop_chosen, 48, 0, 1
    officer             silvan_captain_early_flag
    mount_effect     horse +3, elephant +2
    attributes       sea_faring, hide_forest, hardy, can_withdraw, free_upkeep_unit, start_not_skirmishing,
    formation        1.2, 1.2, 2.4, 2.4, 4, square
    stat_health      1, 3
    stat_pri         10, 3, javelin, 65, 2, thrown, missile_mechanical, piercing, spear, 0, 1
    stat_pri_attr    ap, thrown
    stat_sec         12, 3, no, 0, 0, melee, melee_blade, piercing, spear, 20, 0, 1
    stat_sec_attr    no, spear, spear_bonus_4
    stat_pri_armour  5, 6, 6, metal
    stat_sec_armour  0, 0, flesh
    stat_heat        4
    stat_ground      1, 0, 2, -1
    stat_mental      16, normal, highly_trained, lock_morale
    stat_charge_dist 15
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 910, 300, 75, 75, 560, 4, 100
    armour_ug_levels 3, 4
    armour_ug_models orop_chosen, orop_chosen
    ownership        mongols
    era 0            mongols
    era 1            mongols
    era 2            mongols
    recruit_priority_offset    5

    i have been trying this for weeks with no solution been brought up.

  2. #2
    StealthFox's Avatar Consensus Achieved
    Content Emeritus Administrator Emeritus

    Join Date
    Nov 2010
    Location
    GA
    Posts
    8,170

    Default Re: tyrying to add new unit to game and it crashes on start.

    This forum is for TATW discussion only. Please direct all modding questions to the Mod Workshop.

    Closed.

Posting Permissions

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