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: [HELP]Make texture(tileset) "reflective"  (Read 1946 times)

Bardh

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 130
    • View Profile
[HELP]Make texture(tileset) "reflective"
« on: October 28, 2017, 01:52:52 pm »
Hello wow modders, I'm working on a project on which barrens is turned into a twilight zone and uses a lot of purple textures in the same way as used in Twilight Highlands. But the textures I use, in cata expansion have some sort of reflective layer which makes them look not only cool but also makes the zone look much detailed and not that empty and boring as it looks in WOTLK. Is there any way I could edit textures to make them "reflective". Thanks.

p.s I uploaded some pics. Two of them show the zones as they look in cata and two others in wotlk.Maybe you can see at the pics of what I mean with "reflective" in case you didn't understand in the beginning.them "reflective". Thanks.
You can also check project Haradon here: http://www.model-changing.net/blogs/blog/41-haradon/

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [HELP]Make texture(tileset) "reflective"
« Reply #1 on: October 28, 2017, 03:34:46 pm »
IIRC no tool allows to edit this, at least surely not noggit. This is a WotLK feature first used in Crystalsong. You enable it by setting the https://wowdev.wiki/ADT/v18#MTXF_chunk_.28WotLK.2B.29 MTFX chunk's flag 0x1 as well as the https://wowdev.wiki/ADT/v18#MCLY_sub-chunk MCLY chunk's flag 0x400. Maybe one of Cromon's editors can do that interactively.

Bardh

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 130
    • View Profile
Re: [HELP]Make texture(tileset) "reflective"
« Reply #2 on: October 28, 2017, 07:24:08 pm »
Thanks for sparing your time to help me. I remember right now that there are some textures like this also in Icecrown, I'm glad that they exist in WOTLK too, thanks for reminding me that, but should I use a tool like 010 editor to enable this kind of feature? Thanks!
You can also check project Haradon here: http://www.model-changing.net/blogs/blog/41-haradon/

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [HELP]Make texture(tileset) "reflective"
« Reply #3 on: October 28, 2017, 08:18:31 pm »
010 editor would one usable tool be, yes

Bardh

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 130
    • View Profile
Re: [HELP]Make texture(tileset) "reflective"
« Reply #4 on: October 28, 2017, 10:35:35 pm »
Ok, so, I've used 010 editor before but just for doing some very basics things. Right now I'm a bit confused, I opened an adt with 010 editor and used a 010editor ADT template on my adt and got the results as seen in the pics. As you can see I expanded the MCNKs and found the mcly, so I guess I have to change the flags to the correct value, right? Also if I haven't done anything wrong until now I'm also having problem finding the MTXF chunk. I'm trying to relate to the wowdev.wiki, there it says that mtxf chunk is WotLK+, does this mean it doesn't work for wrath of the lich king? Thanks for helping me! :D
You can also check project Haradon here: http://www.model-changing.net/blogs/blog/41-haradon/

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [HELP]Make texture(tileset) "reflective"
« Reply #5 on: October 29, 2017, 03:04:50 pm »
WotLK+ means ≥ WotLK. It was introduced in the first version of WotLK. It is available in WotLK.

The ADT probably doesn't have a MTXF chunk yet since it is optional. You can simply add one at the end of the file. Add the bytes 'F' 'X' 'T' 'M' followed by the uint32 (4 * number of _entries_ in MTEX (not size of MTEX!)) followed by the same amount of bytes 00. Then reapply the template. For the entry corresponding to the MTEX entry that is your cubemap, set the value in MTXF to 1.

Bardh

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 130
    • View Profile
Re: [HELP]Make texture(tileset) "reflective"
« Reply #6 on: October 30, 2017, 06:29:41 pm »
Well ok, I'll try my best. Thanks for your help! :D
You can also check project Haradon here: http://www.model-changing.net/blogs/blog/41-haradon/