Results 1 to 3 of 3

Thread: Skin problem

Hybrid View

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

    Default Skin problem

    I'm a great fan of the skinpack: Hoplites 2.0 (King Louise Assurbanipal). I want to add the Macedonian Hypaspist. I'm doing something wrong
    The game starts, but it will not advance past the Loading screen
    but I don't know what I doing wrong. After trying for 2 days I'm desprate searching for help. So can anyone help me please?

    what I've done to add the new unit is.

    add Macedonian_Hypaspist.tga to model_unit/texture
    add Macedonian_Hypaspist.cas to model_unit

    add this file to data/export_descr_units_enums

    Macedonian_Hypapist
    Macedonian_Hypapist_descr
    Macedonian_Hypapist_descr_short

    add this file to data/export_descr_units


    type Macedonian Hypapist
    dictionary Macedonian_Hypapist ; Macedonian Hypapist
    category infantry
    class heavy
    voice_type Medium_1
    soldier Macedonian_Hypapist, 40, 0, 1.3
    officer greek_standard
    attributes sea_faring, hide_forest, can_sap, hardy
    formation 1, 2, 2, 3, 4, square,
    stat_health 1, 0
    stat_pri 9, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    stat_pri_armour 12, 5, 5, metal
    stat_sec_armour 0, 1, flesh
    stat_heat 5
    stat_ground 2, 0, 0, 0
    stat_mental 10, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 740, 210, 80, 120, 740
    ownership macedon

    add this file to data/export_descr_buildings:

    recruit "Macedonian Hypaspist" 0 requires factions { macedon, }

    add this file to data/descr_model_battle

    type Macedonian_Hypaspist
    skeleton fs_slow_swordsman
    indiv_range 40
    texture macedon, data/models_unit/textures/Macedonian_Hypaspist.tga
    model_flexi data/models_unit/Macedonian_Hypapist.cas, 15
    model_flexi data/models_unit/Macedonian_Hypapist.cas, 30
    model_flexi data/models_unit/Macedonian_Hypapist.cas, 40
    model_flexi data/models_unit/Macedonian_Hypapist.cas, max
    model_tri 400, 0.5f, 0.5f, 0.5f


    add this file to data/text/export_units


    {Macedonian_Hypapist} Macedonian Hypapist
    {Macedonian_Hypapist_descr}
    Superior\nHardy\nSapping Ability\n\nHeavy Armoured soldiers.
    {Macedonian_Hypapist_descr_short}
    Heavy Armoured soldiers.
    ¬---------------

    kind regards,

    A desperate dutchguy

  2. #2

    Default Re: Skin problem

    Is the guy a swordsmen or a hoplite/phalangite? And make sure the DMB entry greek_standard that you use as an officer for this unit has a texture line for macedon too. Other than that I couldn`t spot the issue at a short glance. Do you have the -show_err command implemented? If you don`t have it, do it now. When the game crushes it will give an error message that really helps identify the problem. You might very well have too many entries in edu or in dmb.
    This is how to implement the command:
    right click on your desktop icon and modify the target`s text to end with -show_err
    Like this:
    http://img212.imageshack.us/my.php?i...7448184hs0.jpg
    Basically you leave a space and then add the command right after the text you have there.

  3. #3

    Default Re: Skin problem

    Quote Originally Posted by florin80 View Post
    Is the guy a swordsmen or a hoplite/phalangite? And make sure the DMB entry greek_standard that you use as an officer for this unit has a texture line for macedon too. Other than that I couldn`t spot the issue at a short glance. Do you have the -show_err command implemented? If you don`t have it, do it now. When the game crushes it will give an error message that really helps identify the problem. You might very well have too many entries in edu or in dmb.
    This is how to implement the command:
    right click on your desktop icon and modify the target`s text to end with -show_err
    Like this:
    http://img212.imageshack.us/my.php?i...7448184hs0.jpg
    Basically you leave a space and then add the command right after the text you have there.
    Thank you very mutch. The officer was the problem. Problem solved finally. Now I can enjoy the new skins

    kind regards,

Posting Permissions

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