Results 1 to 2 of 2

Thread: crash with no apparent reason

Hybrid View

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

    Default crash with no apparent reason

    Lately i got this problem. I tried to import a new unit in the game

    type Starhawk
    dictionary Starhawk ; Starhawk
    category infantry
    class light
    voice_type Heavy
    banner faction main_infantry
    banner holy crusade
    soldier Starhawk, 24, 0, 1
    attributes sea_faring, hide_improved_forest, very_hardy, can_withdraw, hide_anywhere
    formation 1.2, 1.2, 2.4, 2.4, 2, square
    stat_health 2, 0
    stat_pri 16, 3, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
    ;stat_pri_ex 0, 0, 0
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
    ;stat_sec_ex 0, 0, 0
    stat_sec_attr no
    stat_pri_armour 4, 9, 3, leather
    ;stat_armour_ex 4, 0, 0, 0, 9, 3, 3, leather
    stat_sec_armour 0, 0, flesh
    stat_heat 3
    stat_ground 1, -2, 3, 2
    stat_mental 11, normal, trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 660, 250, 110, 85, 660, 4, 160
    armour_ug_levels 1
    armour_ug_models Starhawk
    ownership Infinity_guardians
    era 1 Infinity_guardians
    era 2 Infinity_guardians
    ;unit_info 16, 0, 32

    and

    8 Starhawk
    1 4
    56 unit_models/_Units/Infinity_guardians/Starhawk_lod0.mesh 121
    56 unit_models/_Units/Infinity_guardians/Starhawk_lod1.mesh 900
    56 unit_models/_Units/Infinity_guardians/Starhawk_lod2.mesh 2500
    56 unit_models/_Units/Infinity_guardians/Starhawk_lod3.mesh 6400
    1
    18 Infinity_guardians
    63 unit_models/_Units/Infinity_guardians/textures/Starhawk.texture
    70 unit_models/_Units/Infinity_guardians/textures/Starhawk_normal.texture
    50 unit_sprites/denmark_Viking_Raiders_ug2_sprite.spr
    1
    18 Infinity_guardians
    65 unit_models/AttachmentSets/Infinity_guardians_swords_diff.texture
    65 unit_models/AttachmentSets/Infinity_guardians_swords_norm.texture 0
    1
    4 None
    14 MTW2_Swordsman 0
    2
    18 MTW2_Sword_Primary
    14 fs_test_shield 0
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002

    i failed. For some reason the game loads fine, i am able to select factions and units and then it starts to load. About halfway before the last load before the battle scene the game crashes without giving me any reason. Can you find one?

  2. #2
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: crash with no apparent reason

    Did you check the log? Did you increase the model serialization number (i.e. model count) at the top of modelbattle.db? Did you add dictionary entries for the unit? Did you add ui images for the unit?
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

Posting Permissions

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