Results 1 to 5 of 5

Thread: Game crashes with roman centurion unit

  1. #1

    Default Game crashes with roman centurion unit

    I tried to make a unit of roman centurions using the centurion model, but my game crashes every time. Is there something i need to do differently or does rtw just not allow for the centurion to be used as a unit.

  2. #2
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: Game crashes with roman centurion unit

    Quote Originally Posted by raider7656
    I tried to make a unit of roman centurions using the centurion model, but my game crashes every time. Is there something i need to do differently or does rtw just not allow for the centurion to be used as a unit.
    Better post here the pieces of text you used, both in descr_model_battle and export_descr_unit, for the new unit.

  3. #3

    Default Re: Game crashes with roman centurion unit

    descr_model_battle:
    PHP Code:
    type                roman_centurion_infantry
    skeleton            fs_dagger
    indiv_range            40
    texture            romans_julii
    data/models_unit/textures/officer_roman_centurion_julii.tga
    texture            romans_brutii
    data/models_unit/textures/officer_roman_centurion_brutii.tga
    texture            romans_scipii
    data/models_unit/textures/officer_roman_centurion_scipii.tga
    texture            romans_senate
    data/models_unit/textures/officer_roman_centurion_senate.tga
    model_flexi_m        data
    /models_unit/officer_roman_centurion_high.cas15
    model_flexi_m        data
    /models_unit/officer_roman_centurion_med.cas30
    model_flexi_m        data
    /models_unit/officer_roman_centurion_low.cas40
    model_flexi        data
    /models_unit/officer_roman_centurion_lowest.casmax
    model_sprite        romans_senate
    60.0data/sprites/romans_senate_roman_praetorian_cohort_ii_sprite.spr
    model_sprite        romans_scipii
    60.0data/sprites/romans_scipii_roman_praetorian_cohort_ii_sprite.spr
    model_sprite        romans_brutii
    60.0data/sprites/romans_brutii_roman_praetorian_cohort_ii_sprite.spr
    model_sprite        romans_julii
    60.0data/sprites/romans_julii_roman_praetorian_cohort_ii_sprite.spr
    model_tri            400
    0.5f0.5f0.5f 
    export_descr_unit:
    PHP Code:
    type             roman centurion
    dictionary       roman_centurion_infantry
    category         infantry
    class            heavy
    voice_type       Heavy_1
    soldier          roman_centurion_infantry
    4001.3
    attributes       sea_faring
    ,hide_anywhere,frighten_foot,can_sap,very_hardy
    formation        1
    2234,square,testudo
    stat_health      1
    0
    stat_pri         25
    ,10pilum5010thrownbladepiercingspear51
    stat_pri_attr    ap
    ,bp,prec,thrown ap
    stat_sec         20
    ,7no00meleebladeslashingsword101
    stat_sec_attr    no
    stat_pri_armour  20
    1010metal
    stat_sec_armour  10
    5leather
    stat_heat        0
    stat_ground      2
    000
    stat_mental      120
    ,disciplined,highly_trained
    stat_charge_dist 30
    stat_fire_delay  0
    stat_food        60
    300
    stat_cost        2
    18101045301010
    ownership        romans julii
    ,romans brutii,romans scipii,romans senate 

  4. #4
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Game crashes with roman centurion unit

    Just in-case you've found a hard coded limit, do you know if you can definitely have:
    stat_mental 120,
    for the morale? It's higher than I've noticed being used elsewhere.

    EDIT: as he was officer he probably only had primary weapon, you should only list a secondary weapon if the model actually has one (and if it does it needs additional skeleton in DMB as well) so you probably need to take the secondary weapon out of EDU make it
    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    P.S. are you using -show_err, that should give error messages for some of that sort of thing...
    Last edited by Makanyane; 05-03-2007 at 20:00.
    Not used mods before? Looking for something small and fun?!
    Download the:

  5. #5

    Default Re: Game crashes with roman centurion unit

    I don't see anything obviously wrong in DMB, but EDU has a few suspect things that may be the source of your error.

    Makanyane mentioned 2, but there are a couple others.

    First, the primary weapon should not be ranged if the model does not have a secondary. You need secondary as Makanyane said, but you should also try making the primary weapon melee instead of ranged.

    Second, if the lack of a melee weapon is not causing the problem, then you may want to remove either ap or thrown ap from the stat_pri_attr line. I don't think a weapon can be both ap and thrown ap.

    Finally, you gave values for stat_sec_armour, but the unit doesn't have any seocndary creatures (elephants, dogs, etc.) with it. The game could ignore this or barf on it. I don't know.

    hope that helps.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO