Results 1 to 5 of 5

Thread: Unable to add Pre-BI Unit to BI

  1. #1

    Default Unable to add Pre-BI Unit to BI

    The unit in question I am trying to add is one of ATG's Spartans.

    As a test, I've not attempted to put in descriptions or unit cards, but what I have put in, is as follows:

    Export_Descr_Unit

    type southron spartan
    dictionary southron_spartan ; Bazylian Spartan
    category infantry
    class heavy
    voice_type Heavy_1
    soldier southron_spartan, 40, 0, 1.3
    attributes sea_faring, hide_forest, can_sap, hardy
    formation 1, 1, 2, 2, 4, square, shield_wall
    stat_health 1, 0
    stat_pri 9, 2, no, 0, 0, melee, blade, piercing, spear, 25 ,0.73
    stat_pri_attr spear, spear_bonus_8
    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    stat_pri_armour 7, 10, 6, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 5
    stat_ground 1, -2, 3, 2
    stat_mental 18, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 513, 220, 60, 90, 570
    ownership empire_east_rebels

    Model_Battle

    type southron_spartan
    skeleton fs_spearman
    indiv_range 40
    texture empire_east_rebels, bi/data/models_unit/textures/unit_greek_atg_spartan_vp.tga
    model_flexi_m bi/data/models_unit/unit_greek_atg_spartan_vp_h.cas, 15
    model_flexi_m bi/data/models_unit/unit_greek_atg_spartan_vp_m.cas, 30
    model_flexi_m bi/data/models_unit/unit_greek_atg_spartan_vp_l.cas, 40
    model_flexi bi/data/models_unit/unit_greek_atg_spartan_vp_vl.cas, max
    model_sprite 60.0, bi/data/sprites/greek_hoplite_spartan_pylos_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f





    Now, Normally this always got me the unit in Vanilla, without a unit card or description, but this causes me to crash the moment the custom battle with the unit attempts to load.

    I had heard that units or skeletons had to have a swim animation, or BI would crash. There is no error listed on the "Show_err" armed startup, nor do I have any sign of what is causing this.

  2. #2
    Back in style Member Lentonius's Avatar
    Join Date
    Nov 2005
    Location
    U.K
    Posts
    445

    Default Re: Unable to add Pre-BI Unit to BI

    that is odd. however also i think you need to add entries in export_descr_unit_enums and other unit files, as like in the BI campaign, maybe files that didnt need changing now do need changing

    Also if there is no 'grey peasant' on the custom battle, your problem is probably due to it not recognising the EDU entry

    It it crashes while loading the battle your problem may be descr_model battle

    hope it helps good luck
    Hey, Im back

  3. #3

    Default Re: Unable to add Pre-BI Unit to BI

    I saw that it crashed even without the unit, my recently having done a combination of two mods that worked in the campaign, but apparently did not during the battle.

    I reinstalled and will be giving it a try, thanks anyhow :)

  4. #4
    J-23 Member Hans Kloss's Avatar
    Join Date
    Oct 2003
    Location
    Richmond upon Thames
    Posts
    245

    Default Re: Unable to add Pre-BI Unit to BI

    two questions:

    are all cas and dds files for this unit in the BI folders ?

    did you try to change infantry class from : "heavy" to "spearmen" ?

  5. #5
    Ming the Merciless is my idol Senior Member Watchman's Avatar
    Join Date
    Aug 2004
    Location
    Helsinki, Finland
    Posts
    7,967

    Default Re: Unable to add Pre-BI Unit to BI

    If it helps, I've managed to get BI models work in original RTW by the simple expedient of telling model_battle to use the models in the BI folder. The only issue is that they used their original BI faction colors and not the RTW ones, and I found no way to fix the issue. Several attempts merely caused CTDs, so I gave up and stuck with the BI color scheme.

    Dunno if it works in reverse though.
    "Let us remember that there are multiple theories of Intelligent Design. I and many others around the world are of the strong belief that the universe was created by a Flying Spaghetti Monster. --- Proof of the existence of the FSM, if needed, can be found in the recent uptick of global warming, earthquakes, hurricanes, and other natural disasters. Apparently His Pastaness is to be worshipped in full pirate regalia. The decline in worldwide pirate population over the past 200 years directly corresponds with the increase in global temperature. Here is a graph to illustrate the point."

    -Church of the Flying Spaghetti Monster

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