Author Topic: AH III missing skin file replacement effects  (Read 2146 times)

Offline Greebo

  • Skinner Team
  • Platinum Member
  • ******
  • Posts: 6956
AH III missing skin file replacement effects
« on: October 14, 2017, 02:55:40 PM »
The topic of what happens to skins which lack all the latest files is threatening to derail Skuzzy's Skin Display Page thread so I decided to start a new thread to discuss it.

The following screenshots show how AH III handles old skins that lack the skin effects files that newer skins have.

Screenshot 1 shows a skin with just the diffuse file in the skin folder. This represents a skin that was submitted prior to when HTC introduced bump and spec mapping in AH II. Like all these skins in the game it looks absurdly glossy. It is using the default Panther's normal map as can be seen by the normal-generated ridges on the mud guards. However it seems not to be using the default skin's specular map, its hard to tell whether its using the power or environmental maps. According to HTC a skin like this is supposed to use all the default skin's effect files, if so then this is a bug.




Screenshot 2 shows a skin with only the diffuse and normal map in the skin folder. It is still far too glossy, only the bumps have changed. While this is not a combination that would appear in the game I included it to illustrate why using the default skin's files to replace missing files is not the best way to do this. These bumps match the diffuse skin while the default skin's ones do not. It would be better just to use some stock blank effect files for replacing missing files rather than the default.




Screenshot 3 shows a skin with just the specular map included. This appears to be working as HTC intended, it isn't shiny and the ridges on the mudguard show it is using the default normal map. Including only the power or environmental maps gives a similar effect.




Screenshot 4 is the skin with all four of its effect files present for comparison.

« Last Edit: October 14, 2017, 02:57:17 PM by Greebo »

Offline Vraciu

  • Plutonium Member
  • *******
  • Posts: 14034
Re: AH III missing skin file replacement effects
« Reply #1 on: October 14, 2017, 03:47:11 PM »
Well presented.  Explains a lot. 
”KILLER V”
Charter Member of the P-51 Mustang Skin Mafia
King of the Hill Champ, Tour 219
The Damned
King of the Hill Win Percentage - 100 (1 Win, 0 Losses)

Offline Skuzzy

  • Support Member
  • Administrator
  • *****
  • Posts: 31462
      • HiTech Creations Home Page
Re: AH III missing skin file replacement effects
« Reply #2 on: October 16, 2017, 12:50:48 PM »
It appears we might be incorrect in how missing maps are applied.  It will take some time to figure out.  Right now, I am going to pull the section out of the skins display utility until we can figure it out.
Roy "Skuzzy" Neese
support@hitechcreations.com

Offline hitech

  • Administrator
  • Administrator
  • *****
  • Posts: 12344
      • http://www.hitechcreations.com
Re: AH III missing skin file replacement effects
« Reply #3 on: October 16, 2017, 01:10:54 PM »
Ah uses 2 TEXTURES don't confuse textures with bmps in reading this .

The first texture we call the diffuse , its rgb channels contain the diffuse bit map .It's alpha channel can contain either the alpha or secular bit maps.

The 2nd texture we usually call the normal map  (I.E. the _NEP texture NEP= Normal Enviorment Power). the first 2 channels contain the x and y of then normal bit map . The 2nd 2 channels (Blue and Alpha) contain either the Environment and power or the Environment and Spec if if an alpha channel exists.

Ah will uses the default normal map texture (I.E. the NEP) or the default Diffuse texture if none is created by the Skinner.

HiTech

Offline Greebo

  • Skinner Team
  • Platinum Member
  • ******
  • Posts: 6956
Re: AH III missing skin file replacement effects
« Reply #4 on: October 17, 2017, 05:47:36 AM »
OK so if I understand this right then for any really old skin, one that only has a diffuse map, the game is trying to create the diffuse texture out of the diffuse map but is  not using the default skin's specular map because this file is rolled into the default diffuse texture and can't be separated. It then sets the specular level to full power giving us the shiny skin effect seen in shots 1 and 2. The NEP texture is just carried over from the default maps.

I still reckon it would be better to use stock blank bmps to replace missing files rather than the default skin's ones.

« Last Edit: October 17, 2017, 05:54:52 AM by Greebo »

Offline Vraciu

  • Plutonium Member
  • *******
  • Posts: 14034
Re: AH III missing skin file replacement effects
« Reply #5 on: October 17, 2017, 08:31:58 AM »
OK so if I understand this right then for any really old skin, one that only has a diffuse map, the game is trying to create the diffuse texture out of the diffuse map but is  not using the default skin's specular map because this file is rolled into the default diffuse texture and can't be separated. It then sets the specular level to full power giving us the shiny skin effect seen in shots 1 and 2. The NEP texture is just carried over from the default maps.

I still reckon it would be better to use stock blank bmps to replace missing files rather than the default skin's ones.

+1

That will make these skins look a lot better.     
”KILLER V”
Charter Member of the P-51 Mustang Skin Mafia
King of the Hill Champ, Tour 219
The Damned
King of the Hill Win Percentage - 100 (1 Win, 0 Losses)

Offline Skuzzy

  • Support Member
  • Administrator
  • *****
  • Posts: 31462
      • HiTech Creations Home Page
Re: AH III missing skin file replacement effects
« Reply #6 on: October 19, 2017, 09:28:04 AM »
Appreciate the effort Greebo.  The intent was not to have that appearance.

We are looking into ways to address it.  Simply dropping in a spec map impacts 565 skins.
Roy "Skuzzy" Neese
support@hitechcreations.com

Offline Greebo

  • Skinner Team
  • Platinum Member
  • ******
  • Posts: 6956
Re: AH III missing skin file replacement effects
« Reply #7 on: October 19, 2017, 09:42:34 AM »
Yes, I can see how you wouldn't want to redo all the skins. I guess the alternative might be to get the game to default to a specular level of say 20% or so instead of 100% if a skin's diffuse texture's alpha channel is entirely white (i.e no spec map supplied).
« Last Edit: October 19, 2017, 09:49:07 AM by Greebo »

Offline Vraciu

  • Plutonium Member
  • *******
  • Posts: 14034
Re: AH III missing skin file replacement effects
« Reply #8 on: October 19, 2017, 10:14:44 AM »
The best change that can be made on the fly is a blank Normal Map.   I know I am beating a dead horse here, but the default maps are "over bumping" the skins that weren't drawn with them in mind.

These skins will look a lot better without Normal mapping than having one that doesn't fit.    The other option might be to take a copy of the default Normal map and dial it waaaaaaaaay back then apply that to those that weren't made with it.   

Not being critical, just offering an idea.   Good to see you guys on the case.   :salute

”KILLER V”
Charter Member of the P-51 Mustang Skin Mafia
King of the Hill Champ, Tour 219
The Damned
King of the Hill Win Percentage - 100 (1 Win, 0 Losses)

Offline DubiousKB

  • Silver Member
  • ****
  • Posts: 1614
Re: AH III missing skin file replacement effects
« Reply #9 on: March 09, 2018, 10:39:24 AM »
Bump...

Any movement on making all the skins look as good as the new ones?  I got directed to this topic after requesting an easy way to identify "good" skins from the drop down list in game without having my own separate written down list telling me which are native to AH3 and which ones are not yet "beautified"...



56th Fighter Group -  Jug Life

Offline lyric1

  • Skinner Team
  • Plutonium Member
  • *******
  • Posts: 10594
Re: AH III missing skin file replacement effects
« Reply #10 on: March 09, 2018, 11:52:55 AM »
Bump...

Any movement on making all the skins look as good as the new ones?  I got directed to this topic after requesting an easy way to identify "good" skins from the drop down list in game without having my own separate written down list telling me which are native to AH3 and which ones are not yet "beautified"...

Only person who can fix these skins to the best of my knowledge is the skinner who did it. Since a large portion of the skins were done by people who are no longer around my guess is they will sit in game until removed.
Or adopted.
« Last Edit: March 09, 2018, 11:55:13 AM by lyric1 »

Offline Skuzzy

  • Support Member
  • Administrator
  • *****
  • Posts: 31462
      • HiTech Creations Home Page
Re: AH III missing skin file replacement effects
« Reply #11 on: March 10, 2018, 06:05:55 AM »
There is no simple solution to this.  Report the skins which look bad and we can see what we can do, but there is no dividing line between AH2 and AH3 skins.

If we removed all the AH2 skins, it would mean removing over half the skins in the game.
Roy "Skuzzy" Neese
support@hitechcreations.com

Offline DubiousKB

  • Silver Member
  • ****
  • Posts: 1614
Re: AH III missing skin file replacement effects
« Reply #12 on: March 12, 2018, 10:11:30 AM »
There is no simple solution to this. [...] but there is no dividing line between AH2 and AH3 skins.


Hmm it seems that this statement is where all the challenges occur. There's no clear differentiation between skins solely created for within AH3 and legacy skins?   :bhead

So frustrating. Default skin "to be safe"...  :bolt: 

What a silly situation.
56th Fighter Group -  Jug Life

Offline Greebo

  • Skinner Team
  • Platinum Member
  • ******
  • Posts: 6956
Re: AH III missing skin file replacement effects
« Reply #13 on: March 12, 2018, 10:32:39 AM »
It is not a question of AH2 or AH3 skins, there are plenty of pre-AH3 skins that look fine now. The issue is whether the skin was created with a specularity map. If there was no specularity map included with a skin when it was submitted then AH3 turns the skin lighting effects to chrome. Deleting the affected skins will create a lot of grief for HTC and altering each skin to fix the issue would mean having everyone have to download all those skins again. As I said before the best solution is to have the game recognise that if a skin has a diffuse texture with a pure white alpha channel it should override this with a more sensible specularity setting, say 20% or so. Maybe use baked-in power, normal and environment settings too.
« Last Edit: March 12, 2018, 10:39:54 AM by Greebo »

Offline Vraciu

  • Plutonium Member
  • *******
  • Posts: 14034
Re: AH III missing skin file replacement effects
« Reply #14 on: March 12, 2018, 12:47:30 PM »
The other issue is that some skins had effects files but these did not get ported over and were replaced by the default maps, etc.   This happened to all of mine.

”KILLER V”
Charter Member of the P-51 Mustang Skin Mafia
King of the Hill Champ, Tour 219
The Damned
King of the Hill Win Percentage - 100 (1 Win, 0 Losses)