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: Item transparency  (Read 3870 times)

hyakkimaru

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 128
    • View Profile
    • http://mc-revolution.fr
Item transparency
« on: September 01, 2012, 07:25:33 pm »
Hello everyone!

I tried to create a cape with holes, making the texture transparent in some places. However, when I tried again to install the texture in the game, the m2 is related to the texture sewed my cape! My question is simple:

Is it possible to manage the transparency of objects in WTOLK?
Thank you in advance for your help :) !
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Item transparency
« Reply #1 on: September 01, 2012, 07:50:43 pm »
As you are talking about a cape, this might be harder, but
you need to set the render flags of the geoset you are skinning to something not being opaque.

As a quick hack, you might just change all render flags in the model that are opaque to mod or decal.
http://wowdev.wiki/index.php?tit ... nder_flags
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

hyakkimaru

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 128
    • View Profile
    • http://mc-revolution.fr
Re: Item transparency
« Reply #2 on: September 01, 2012, 07:53:48 pm »
Thank you Schlumpf, I'll try it :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
Re: Item transparency
« Reply #3 on: April 07, 2013, 05:54:51 am »
Bumping an old thread rather than creating a whole new one related to the same topic.
inb4 NECCRRROOOO

I'm trying to do something similar, but the untextured parts of the cape appear white. How can I fix this, and please describe it in layman's terms.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Item transparency
« Reply #4 on: April 07, 2013, 01:03:23 pm »
Quote from: "Vortalex"
Bumping an old thread rather than creating a whole new one related to the same topic.
inb4 NECCRRROOOO

I'm trying to do something similar, but the untextured parts of the cape appear white. How can I fix this, and please describe it in layman's terms.
There are no easier terms. Change the renderflag to something different than opaque. Try PyModelEditor.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
Re: Item transparency
« Reply #5 on: April 07, 2013, 03:33:49 pm »
Quote from: "Ascathos"
There are no easier terms. Change the renderflag to something different than opaque. Try PyModelEditor.

Easier terms would be along the lines of... what is the renderflag? Where can I find it? Those kinds of details...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Item transparency
« Reply #6 on: April 07, 2013, 04:01:46 pm »
Quote from: "Vortalex"
Quote from: "Ascathos"
There are no easier terms. Change the renderflag to something different than opaque. Try PyModelEditor.

Easier terms would be along the lines of... what is the renderflag? Where can I find it? Those kinds of details...
Downloading PyModelEditor, starting it, opening the model within it. You see that there is a button called "renderflag." You look into it. You most likely see only one flag. It has different settings, one of them being blender mode. You change it and save the model.

Now tell me why you'd require "layman's terms" for that ? I said try PyModelEditor, brandished on the mainpage. You could've tried, at least as far as I hope when people ask and get a straight answer.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
Re: Item transparency
« Reply #7 on: April 07, 2013, 04:09:47 pm »
Quote from: "Ascathos"
Downloading PyModelEditor, starting it, opening the model within it. You see that there is a button called "renderflag." You look into it. You most likely see only one flag. It has different settings, one of them being blender mode. You change it and save the model.

Thank you.


Quote from: "Ascathos"
Now tell me why you'd require "layman's terms" for that ? I said try PyModelEditor, brandished on the mainpage. You could've tried, at least as far as I hope when people ask and get a straight answer.

Not sure what you're talking about.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
Re: Item transparency
« Reply #8 on: April 07, 2013, 04:23:06 pm »
Also, does anyone know where to locate the model for capes?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Item transparency
« Reply #9 on: April 07, 2013, 04:28:22 pm »
Quote from: "Vortalex"
Also, does anyone know where to locate the model for capes?
They are simple textures. You have to change the race model itself.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
Re: Item transparency
« Reply #10 on: April 07, 2013, 04:43:23 pm »
For anyone reading this thread in the future, it works exactly like how he said.

+1 rep if possible.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Item transparency
« Reply #11 on: April 07, 2013, 05:20:44 pm »
For reference, you can create textures with an indexed alpha channel (Means: You create a .tga with an alpha channel on the transparent area and convert it to an index file -> done in "Image" and the first option, I think.). The texture should be transparent, then.

As a friendly guy... For Photoshop
1. Create or edit a texture
2. Make a part of it transparent.
3. Look for the channels tab, press it. Create a new "alpha channel".
4. Mark the Non-transparent areas and delete them, so that the alpha channel covers the transparent areas.
5. Press Image
6. Look into Modes and set Indexed
7. Save as TGA and convert.
8. Test.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Milly

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 503
    • View Profile
Re: Item transparency
« Reply #12 on: April 07, 2013, 05:44:13 pm »
Quote from: "Vortalex"
Also, does anyone know where to locate the model for capes?

The model for capes is included as a mesh in the RaceGender.m2 files. Every race/gender wears their capes differently and if you wanted to edit it you could do so by using Blender and editing the capes there within the RaceGender.m2 (HumanMale.m2 for example). However this would change capes for every member of that particular race and gender so I do not recommend doing this. Plus unless you know how to recreate the skin it'll just stretch the textures out.

Edit: Sorry Ascathos I misread your post and didn't realize you already explained this. I guess more detail helps though.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Vortalex

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 253
    • View Profile
Re: Item transparency
« Reply #13 on: April 14, 2013, 04:37:04 am »
Something I just noticed after putting on some pants with the geoset "3"
This happens to the belt-region:



This doesn't happen with the patch off, and after starting from scratch and twice editing the 1 renderflag for the cape, I still have this weird glitch.

Anyone possibly know the problem?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

lucycandy

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 1
    • View Profile
Re: Item transparency
« Reply #14 on: April 23, 2013, 09:00:29 am »
You most likely see only one flag. It has different settings, one of them being blender mode. You change it and save the model.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »