Results 1 to 5 of 5

Thread: Wrong weapon type appearing in unit's hands

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    EyebrowsMulligan's Avatar Civis
    Join Date
    Jun 2006
    Location
    Stevenage, Hertfordshire, England.
    Posts
    181

    Default Wrong weapon type appearing in unit's hands

    Hi,

    I've changed some of the models and textures for a spear-armed hypaspist unit while keeping the EDU entry virtually identical (obviously I changed the 'soldier' line), yet when I attempt a battle the units in question either appear with swords in hand or completely unarmed. Anyone know why? I have used these same models/textures for other types of units (phalanxes) and the weapons appear ok.

    Anyway, EDU and DMB added below, any help greatly appreciated. Thanks.


    EDU :-

    type greek hypaspist
    dictionary rtr_greek_royal_pikemen
    category infantry
    class heavy
    voice_type Medium_1
    soldier greek_hypaspist2, 20, 0, 1
    mount_effect horse +1, chariot +1, camel +1
    attributes sea_faring,hide_forest,can_sap,hardy
    formation 1, 1, 2, 2, 3,square
    stat_health 2, 0
    stat_pri 15,2, javelin, 40, 2, thrown, archery, piercing, spear, 25, 1
    stat_pri_attr prec,thrown,thrown ap
    stat_sec 12,10, no, 0, 0, melee, simple, piercing, spear, 0, 0.4
    stat_sec_attr spear,fire
    stat_pri_armour 7, 9, 6, leather
    stat_sec_armour 0, 1, flesh
    stat_heat 1
    stat_ground 0, 0, -1, 0
    stat_mental 16,disciplined,highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 900, 601, 104, 112, 950
    ownership macedon

    DMB :-


    type greek_hypaspist2
    skeleton fs_fast_javelinman, fs_fast_spearman
    indiv_range 40
    texture macedon, data/models_unit/textures/unit_macedon_hypaspist.tga
    model_flexi_m data/models_unit/unit_macedon_hypaspist.cas, 15
    model_flexi_m data/models_unit/unit_macedon_hypaspist.cas, 30
    model_flexi data/models_unit/unit_macedon_hypaspist.cas, 40
    model_flexi data/models_unit/unit_macedon_hypaspist.cas, max
    model_sprite macedon, 60.0, data/sprites/macedon_greek_hypaspist_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f
    Last edited by EyebrowsMulligan; May 17, 2007 at 11:57 AM.

  2. #2
    EyebrowsMulligan's Avatar Civis
    Join Date
    Jun 2006
    Location
    Stevenage, Hertfordshire, England.
    Posts
    181

    Default Re: Wrong weapon type appearing in unit's hands

    Ok, well I know now that the problem is definitely something to do with the precursor (ie thrown) weapon, because if I remove this and just have a spear primary weapon with a spearman skeleton the unit looks ok. Anyone know how I can have both the thrown weapon and the correct weapon for melee?

  3. #3
    EyebrowsMulligan's Avatar Civis
    Join Date
    Jun 2006
    Location
    Stevenage, Hertfordshire, England.
    Posts
    181

    Default Re: Wrong weapon type appearing in unit's hands

    Ok, so here is the scenario as it currently stands. I've added a spear-armed model (plus texture) from darthmod (hypaspist2) to RTR. However I wanted to have this spear-armed unit throw a javelin when entering combat, much as the existing hypaspists in RTR do. However what I currently have is the unit starting a battle with spears out and then changing to swords. Please can anyone help with this? It's dirving me nuts.

  4. #4
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default Re: Wrong weapon type appearing in unit's hands

    You would need to edit the model to change the look of the weapons it uses.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  5. #5
    EyebrowsMulligan's Avatar Civis
    Join Date
    Jun 2006
    Location
    Stevenage, Hertfordshire, England.
    Posts
    181

    Default Re: Wrong weapon type appearing in unit's hands

    I think that's beyond my meagre abilities at the moment, but thanks for the reply anyway Lusted!

Posting Permissions

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