This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Switching Textureid on Geosets?  (Read 3561 times)

phucko1

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 523
    • View Profile
[QUESTION] Switching Textureid on Geosets?
« on: January 08, 2012, 12:17:25 am »
Hello, Modcraft. I've made a new playable race but I have run into a problem: The Cloaks uses the "Body & Clothes" textureid and I want to switch them to use "Item Capes". What tool can I do this with? Already tried in PyModelEditor but that corrupted my model. Thanks for your time - Phucko1 :).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

TheBuG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 469
    • View Profile
Re: [QUESTION] Switching Textureid on Geosets?
« Reply #1 on: January 08, 2012, 11:53:29 pm »
Quote from: "phucko1"
Hello, Modcraft. I've made a new playable race but I have run into a problem: The Cloaks uses the "Body & Clothes" textureid and I want to switch them to use "Item Capes". What tool can I do this with? Already tried in PyModelEditor but that corrupted my model. Thanks for your time - Phucko1 :).

If you have the MDL you can just do it manually with a text editor. Just look which material ID (which are found nearly at the top, the first material ID = 0, the second = 1 etc etc) you want to switch, then at the end of a geoset the material ID can be changed by changing the number.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [QUESTION] Switching Textureid on Geosets?
« Reply #2 on: January 09, 2012, 10:22:55 am »
This is easily done in pymodeleditor :

Root hairstyle 00 - base geoset (always visible)
Root hairstyle 01-XXX (most likely 01-99) - hairstyles (in characters used 01 - 23)(sometimes)
Bracers 01-XXX   (most likely 01-99) - gloves (in characted used 01 - 04)
Boots 01-XXX .... (in characters used 01-05(05 this is heavy plate boots(tier 910)
Wristbands  (most likely 01-99) - robe wristbands (only 02 and 03) (in characters used 02, 03)
Tabard - only 02 (Others are not used) (most likely 02-99) (in characters used 02 only)
Trouserskilt - 02 - Robe (others are not used) (most likely 02-99) (in characters used 02 only)
Belt 02 (others unused) - heavy plate belt (tier 10 warrior) (in characters used 02 inly)
Cape 02 - Full long (capes... 02-06 on characters)
Cape 03 - Cut 1
Cape 04 - Forked (as paladin in warcraft 3)
Cape 05 - average length
Cape 06 - Cut 2
Pants 04 (heavy plate legs (tier 10 warrior)
Ears 01 - flat ears 02 - normal ears (others unused) (on characters 01, 02)
Eyeglows (03 - DK 01 02 - others (undeadsnelfs e.t.c)) - hardcoded only

There are also other types of geosets, but they are not used on the characters (only in NPC)

in MDLvis impossible select the types of geosets, it should be make in pymodeleditor, In textures section


what geosets i used on my custom character model? (fully work):

[spoiler:b58wxhaq]0(bodyclothes) Haitstyles/Root 00
1(HairBeard)   Hairstyles/root 02
2(HairBeard)   Hairstyles/root 03
3(BodyClothes) Bracers 02
4(BodyClothes) Boots 02
5(BodyClothes) bracers 04
6(bodyclothes) Boots 04
7(bodyclothes) bracers 03
8(bodyclothes) boots 03
9(bodyclothes) boots 05
10(bodyclothes) pants 04
11(bodyclothes) belt 02
12(bodyclothes) tabard 02
13(bodyclohtes) Trousers/Kilt 02
14(bodyclothes) Wristbands 02
15(bodyclothes) Wristbands 03
16(itemcapes) Cape 02
17(itemcapes) Cape 03
18(itemcapes) Cape 05
19(itemcapes) Cape 06
20(itemcapes) Cape 04
21(HairBeard) Hairstyles/root 04
22(HairBeard) Hairstyles/root 05
23(HairBeard) Hairstyles/root 06
24(HairBeard) Hairstyles/root 07
25(HairBeard) Hairstyles/root 08
26(hairbeard) Hairstyles/root 09
27(hairbeard) Hairstyles/root 10
28(hairbeard) Hairstyles/root 11
29(hairbeard) Hairstyles/root 12
30(hairbeard) Hairstyles/root 13
31(hairbeard) Hairstyles/root 14
32(hairbeard) Hairstyles/root 15
33(hairbeard) Hairstyles/root 16
34(bodyclothes) Ears 02
35(hardcoded) Eyeglows 03[/spoiler:b58wxhaq]
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

phucko1

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 523
    • View Profile
Re: [QUESTION] Switching Textureid on Geosets?
« Reply #3 on: January 09, 2012, 01:58:52 pm »
I know that the geosets are but it uses wrong texture...
The cape geosets uses Body & Clothes textureid and I want to change it to Item & Capes textureid...

Also I don't have any MDL/MDX I used Blender.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

phucko1

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 523
    • View Profile
Re: [QUESTION] Switching Textureid on Geosets?
« Reply #4 on: January 09, 2012, 02:32:14 pm »
Fixed the texture problem with the awesome 010Editor, but got another problem now: The cloak geosets gets half-transperant..
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [QUESTION] Switching Textureid on Geosets?
« Reply #5 on: January 09, 2012, 03:45:11 pm »
So,.. he have a flag "Modulate" or "Modulate 2x" you need "Opaque" renderflag


Body or clothes > Opaque
Capes > Opaque + two sided
Eyeglows > Мodulate 2x + two sided + unshadded + no depth test
Hairs(hairstyles) > Modulate + two sided

I do not remember how it changed in  010 editor, only in pymodeleditor
« Last Edit: January 09, 2012, 03:50:20 pm by Admin »
is no more

phucko1

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 523
    • View Profile
Re: [QUESTION] Switching Textureid on Geosets?
« Reply #6 on: January 09, 2012, 03:49:50 pm »
Well I can't use PyModelEditor couse it corrupts the model :P
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vel

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 340
    • View Profile
Re: [QUESTION] Switching Textureid on Geosets?
« Reply #7 on: January 09, 2012, 03:52:09 pm »
Quote from: "phucko1"
Well I can't use PyModelEditor couse it corrupts the model :P
Yeah, pymodeleditor corrupts any models with collision. But this can be avoided:
----
in 010 editor search Lines:

Bounding normals
Bounding Triangles
Bounding Vertices
IN HEADER ONLY!
----
And everywhere are set to:

Code: [Select]
0
offset 0h
--
save.

Then try again to open and save you model in pymodeleditor
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
is no more

phucko1

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 523
    • View Profile
Re: [QUESTION] Switching Textureid on Geosets?
« Reply #8 on: January 09, 2012, 04:08:03 pm »
Nah, still crashing :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

doresain

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 202
    • View Profile
Re: [QUESTION] Switching Textureid on Geosets?
« Reply #9 on: January 14, 2012, 09:18:47 am »
try with blender, you can switch between hardcoded textures with itextures flag and set the correct texture on all geoset (cannot add new textures, can only switch between hardcoded textures)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »