Results 1 to 4 of 4

Thread: Help With Invisable Models

  1. #1
    Could be your God Member Abokasee's Avatar
    Join Date
    Apr 2005
    Location
    N/A
    Posts
    1,487

    Default Help With Invisable Models

    When ever I try to add a new model, it's inivisable, I've treid everything possible, (that I know Of) But I've got no where!

    14 byzant_pikemen 1 4 68 unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod0.mesh 121 68 unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod1.mesh 900 68 unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod2.mesh 2500 68 unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod3.mesh 6400 1 9 byzantium 80 unit_models/_Units/ES_Greek_Greek_Heavy/textures/mtw2_es_greek_byzantium.texture 77 unit_models/_Units/ES_Greek_Greek_Heavy/textures/mtw2_es_greek_normal.texture 52 unit_sprites/byzantium_Byzantine_Infantry_sprite.spr 1 9 byzantium 61 unit_models/AttachmentSets/Final Greek_byzantium_diff.texture 61 unit_models/AttachmentSets/Final Greek_byzantium_norm.texture 0 1 4 None 14 MTW2_Slow_Pike 15 MTW2_Non_Shield 1 17 MTW2_Pike_primary 1 18 MTW2_Sword_Primary 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 18 byzant_pikemen_ug1 1 3 72 unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_ug1_lod0.mesh 121 72 unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_ug1_lod1.mesh 1225 72 unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_ug1_lod2.mesh 6400 1 9 byzantium 80 unit_models/_Units/ES_Greek_Greek_Heavy/textures/mtw2_es_greek_byzantium.texture 77 unit_models/_Units/ES_Greek_Greek_Heavy/textures/mtw2_es_greek_normal.texture 56 unit_sprites/byzantium_Byzantine_Infantry_ug1_sprite.spr 1 9 byzantium 61 unit_models/AttachmentSets/Final Greek_byzantium_diff.texture 61 unit_models/AttachmentSets/Final Greek_byzantium_norm.texture 0 1 4 None 14 MTW2_Slow_Pike 15 MTW2_Non_Shield 1 17 MTW2_Pike_primary 1 18 MTW2_Sword_Primary 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    So whats wrong there? (You might notice Im trying to add Byzantine Pikemen)
    Now with transparent layers!

    Lost on the Internet? Go back to start.

  2. #2
    Member Member mor dan's Avatar
    Join Date
    Nov 2006
    Location
    in the good ol' US of A. my brothr is in the Airforce, and i am proud of what he does for his country.
    Posts
    122

    Default Re: Help With Invisable Models

    ok, to clarify, you have the unit in game, such as unit cards, selectable units, etc, but the actual men aren't appearing on the screen when you go to battle?
    Last edited by mor dan; 08-15-2007 at 00:39.
    "Signatures tell the forum who you are. If you make jokes, you are a clown. If you leave serious quotes, you take things seriously. If you challenge the owner of the forums, you are a malcontent.

    The Owners are like a government. If you make jokes, they laugh. If you make serious quotes, they keep an eye on you, while probing public opinion on your remarks. If you challenge them, you are a threat." - me on the SWG forums before they censored my sig

  3. #3
    Could be your God Member Abokasee's Avatar
    Join Date
    Apr 2005
    Location
    N/A
    Posts
    1,487

    Default Re: Help With Invisable Models

    Yes everything else works, just the unit dosnt appear on the battlefeild
    Now with transparent layers!

    Lost on the Internet? Go back to start.

  4. #4
    Member Member mor dan's Avatar
    Join Date
    Nov 2006
    Location
    in the good ol' US of A. my brothr is in the Airforce, and i am proud of what he does for his country.
    Posts
    122

    Default Re: Help With Invisable Models

    ok, let's look a these lines of code now that i have some fresh eyes...

    Code:
     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
    and

    Code:
     0  1 4 None 14 MTW2_Slow_Pike 15 MTW2_Non_Shield 1 17 MTW2_Pike_primary 1 18 MTW2_Sword_Primary 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    this where your code and the original unit code, Byzantine Infantry, have the greatest amount of deviation. notice in the first code:

    Code:
    0  2 18 MTW2_Sword_Primary
    versus your

    Code:
    15 MTW2_Non_Shield
    also, i am seeing two weapons labeled as primary: a pike and a sword. now i personally don't have a lot of experience writing in this code, but basic logic would dictate you can't have two primary weapons. so i looked up a horse unit, which i know uses spears and swords, to test that logic and this was the code:

    Code:
    2 21 MTW2_HR_Lance_Primary 14 fs_test_shield 2 18 MTW2_Sword_Primary 14 fs_test_shield 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    we now see that primary is just talking about which weapon is being used, not what is a unit's primary weapon. however, notice the order. weapon, then shield test, weapon, then shield test. does the unit you are creating have no shield? so, i looked up a non shield unit, the Berdiche Axemen and compared that code:

    Code:
    1 19 MTW2_2H_Axe_primary 0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    so, the 2 in those codes probably represents two weapons. but the fs_test_shield is not present for the non-shield unit. so, if your unit is supposed to have a shield, then this could be the error we are looking for, along with the order in which your code is written, since it isn't weapon, shield test, weapon, shield test.

    i know that's a whole lot, but i wanted you to understand the logic that carried me from place to place.
    "Signatures tell the forum who you are. If you make jokes, you are a clown. If you leave serious quotes, you take things seriously. If you challenge the owner of the forums, you are a malcontent.

    The Owners are like a government. If you make jokes, they laugh. If you make serious quotes, they keep an eye on you, while probing public opinion on your remarks. If you challenge them, you are a threat." - me on the SWG forums before they censored my sig

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