Results 1 to 3 of 3

Thread: help to find a mistake in my new unit (late Ritterbrüder)

Hybrid View

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

    Icon5 help to find a mistake in my new unit (late Ritterbrüder)

    Hi everyone,
    First I must say that I dont speak english so please be forgiving. I try to be understandable but I have a lot of trouble with your language.

    I try to creat a unit of late ritterbrüder(logically if they weren't destroyed they would have evolved) with the .mesh of the grand master. But there is a problem with this unit when I start the game there is a CTD. I'm sure that the problem is in my script but I dont find the mistake.
    So I post my script and if someone has got time please check it.
    Thanks

    the desc_unit file:
    Spoiler Alert, click show to read: 
    type Gothic Knights_t
    dictionary Gothic_Knights_t ; Gothic Knights t, f
    category cavalry
    class heavy
    voice_type Heavy
    banner faction main_cavalry
    banner holy crusade_cavalry
    soldier Gothic_Knights_t, 24, 0, 1
    officer Gothic_Knights_t
    officer northern_captain_early_flag
    mount armoured horse
    mount_effect elephant -4, camel -4
    attributes sea_faring, hide_forest, hardy, can_withdraw, can_formed_charge, knight, free_upkeep_unit
    move_speed_mod 0.9
    formation 1.5, 4.4, 2, 6, 2, square, wedge
    stat_health 1, 3
    stat_pri 14, 16, no, 0, 0, melee, melee_blade, piercing, sword, 15, 1
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
    stat_sec_attr no
    stat_pri_armour 25, 5, 0, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 11
    stat_ground -2, -3, -4, 3
    stat_mental 19, impetuous, highly_trained ; RECKLESS
    stat_charge_dist 45
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 1455, 480, 130, 100, 1455, 4, 250
    armour_ug_levels 24, 26, 27
    armour_ug_models Gothic_Knights_t, Gothic_Knights_t, Gothic_Knights_t
    ownership teutonic_order
    era 2 teutonic_order
    recruit_priority_offset 65


    the battle_models file
    Spoiler Alert, click show to read: 
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    15 gothic_knights_t
    1 1
    87 unit_models/_Generals_and_Captains/teutonic_grand_master/teutonic_hochmeister_lod0.mesh 6400
    1
    14 teutonic_order
    95 unit_models/_Generals_and_Captains/teutonic_grand_master/textures/teutonic_grand_master.texture
    102 unit_models/_Generals_and_Captains/teutonic_grand_master/textures/teutonic_grand_master_normal.texture 0
    1
    14 teutonic_order 68 unit_models/AttachmentSets/Final General_teutonic_order_diff.texture
    68 unit_models/AttachmentSets/Final General_teutonic_order_norm.texture 0
    1
    5 horse
    18 MTW2_HR_Non_Shield 0 1
    18 MTW2_Sword_Primary 0


    If it can change somethings I play with SS6.3(6.4 bug in my computer) and I have got a f... vista as operating system.

  2. #2
    Moon's Avatar Centenarius
    Join Date
    Oct 2008
    Location
    The dark side
    Posts
    878

    Default Re: help to find a mistake in my new unit (late Ritterbrüder)

    An error in the battlemodels file, try this one instead.15 gothic_knights_t should be sixteen. The edu, needs general unit in the attributes, will also have to remove teutonic order from any other general unit they have ownership of. The underscore in the type Gothic Knights t should be removed and a space put there instead. Aaah yes the descr_strat named characters for the teutonic order will have to be updated as well to this Gothic Knights t all i can think of for the moment.
    Spoiler Alert, click show to read: 
    Code:
    16 gothic_knights_t 
    1 1 
    87 unit_models/_Generals_and_Captains/teutonic_grand_master/teutonic_hochmeister_lod0.mesh 6400 
    1 
    14 teutonic_order 
    95 unit_models/_Generals_and_Captains/teutonic_grand_master/textures/teutonic_grand_master.texture 
    102 unit_models/_Generals_and_Captains/teutonic_grand_master/textures/teutonic_grand_master_normal.texture 0  
    1 
    14 teutonic_order 
    68 unit_models/AttachmentSets/Final General_teutonic_order_diff.texture 
    68 unit_models/AttachmentSets/Final General_teutonic_order_norm.texture 0  
    4 
    4 None 
    15 MTW2_Non_Shield 0  
    1 
    18 MTW2_Sword_Primary 
    0 
    5 horse 
    18 MTW2_HR_Non_Shield 0  
    1 
    18 MTW2_Sword_Primary 
    0 
    8 elephant 
    18 MTW2_Elephant_Crew 0  
    1 
    18 MTW2_Sword_Primary 
    0 
    5 camel 
    18 MTW2_HR_Non_Shield 0  
    1 
    18 MTW2_Sword_Primary 
    0 -1 0 0 0 0 0 0

    Spoiler Alert, click show to read: 
    Code:
    type Gothic Knights_t
    dictionary Gothic_Knights_t ; Gothic Knights t, f
    category cavalry
    class heavy
    voice_type Heavy
    banner faction main_cavalry
    banner holy crusade_cavalry
    soldier Gothic_Knights_t, 24, 0, 1
    officer Gothic_Knights_t 
    officer northern_captain_early_flag
    mount armoured horse
    mount_effect elephant -4, camel -4 
    attributes sea_faring, hide_forest, hardy, can_withdraw, can_formed_charge, knight, free_upkeep_unit, general_unit
    move_speed_mod 0.9
    formation 1.5, 4.4, 2, 6, 2, square, wedge
    stat_health 1, 3
    stat_pri 14, 16, no, 0, 0, melee, melee_blade, piercing, sword, 15, 1
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
    stat_sec_attr no
    stat_pri_armour 25, 5, 0, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 11
    stat_ground -2, -3, -4, 3 
    stat_mental 19, impetuous, highly_trained ; RECKLESS
    stat_charge_dist 45
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 1455, 480, 130, 100, 1455, 4, 250
    armour_ug_levels 24, 26, 27
    armour_ug_models Gothic_Knights_t, Gothic_Knights_t, Gothic_Knights_t
    ownership teutonic_order
    era 2 teutonic_order
    recruit_priority_offset 65

  3. #3

    Default Re: help to find a mistake in my new unit (late Ritterbrüder)

    Thanks for your help.
    I'm sorry but I don't understand what I need to do with the descr_strat. What must I change exactly and in wich file(There are a lot of differant one : 3 on data/campaign/(backup, early or late), 4 on data/campaign/sub/(BGR4_early,BGR4_late,Watchtower_early or Watchtower_late) one more in data/campaign/sub/backup/... and the last one in the folder data/world/map/campaign/imperial_campaign)
    Is this modification absolutly necessary to start the game without crash? I ask that because with the corrected files(desc_unit + battle_model) there still is a CTD when I start SS.

Posting Permissions

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