Author Topic: Skin Display Page  (Read 13683 times)

Online Devil 505

  • Aces High CM Staff
  • Plutonium Member
  • *******
  • Posts: 8856
Re: Skin Display Page
« Reply #120 on: October 13, 2017, 02:22:23 PM »
The file list on the 109E lists the Power map twice.
Kommando Nowotny

FlyKommando.com

Offline Skuzzy

  • Support Member
  • Administrator
  • *****
  • Posts: 31462
      • HiTech Creations Home Page
Re: Skin Display Page
« Reply #121 on: October 13, 2017, 02:26:41 PM »
Oops, fixed.

By the way, the list of files the skins reports to have is not accurate when there are multiple versions of any of the maps.  I'll look at doing that differently, later.
Roy "Skuzzy" Neese
support@hitechcreations.com

Offline Skuzzy

  • Support Member
  • Administrator
  • *****
  • Posts: 31462
      • HiTech Creations Home Page
Re: Skin Display Page
« Reply #122 on: October 13, 2017, 02:41:59 PM »
Also found another odd case (thanks for pointing out the 109e4 issue).

If there is a normal map, but no specular map, then the game will assume a fixed value for the specular map, rather than use the default specular map.

I updated the utility to show that now.
Roy "Skuzzy" Neese
support@hitechcreations.com

Offline Vraciu

  • Plutonium Member
  • *******
  • Posts: 14034
Re: Skin Display Page
« Reply #123 on: October 13, 2017, 02:51:33 PM »
Some planes use an alpha map to make parts of the skin see-through.  When an alpha map is used, the power map cannot be used.

Interesting.   I saw that on one of the P-51Ds and wondered.  Thanks.
”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: Skin Display Page
« Reply #124 on: October 13, 2017, 03:06:51 PM »
Really?  Which one?  The P51D should not have any alpha maps and I cannot find it in the database.
Roy "Skuzzy" Neese
support@hitechcreations.com

Offline Vraciu

  • Plutonium Member
  • *******
  • Posts: 14034
Re: Skin Display Page
« Reply #125 on: October 13, 2017, 03:10:38 PM »
Just have some details to add and clean up, but this is what I have so far for the skins display page.  Everything should be functional.  Just have to make it pretty.

Any feedback?

http://bbs.hitechcreations.com/skins

Is there any remedy for the substitution of " with &quot?   When I copy and and paste out of a text file the skin detail page renders it wrong.  I can manually try to square it but am hoping it's a simple fix on your end. 
”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)

Online Devil 505

  • Aces High CM Staff
  • Plutonium Member
  • *******
  • Posts: 8856
Re: Skin Display Page
« Reply #126 on: October 13, 2017, 03:11:29 PM »
Also found another odd case (thanks for pointing out the 109e4 issue).

If there is a normal map, but no specular map, then the game will assume a fixed value for the specular map, rather than use the default specular map.

I updated the utility to show that now.

Is this the root of the super gloss seen on the skins without spec maps?
Kommando Nowotny

FlyKommando.com

Offline Arlo

  • Radioactive Member
  • *******
  • Posts: 24759
Re: Skin Display Page
« Reply #127 on: October 13, 2017, 03:13:04 PM »
If it is, the M3 skin needs looking at.

Offline Skuzzy

  • Support Member
  • Administrator
  • *****
  • Posts: 31462
      • HiTech Creations Home Page
Re: Skin Display Page
« Reply #128 on: October 13, 2017, 04:02:34 PM »
Is there any remedy for the substitution of " with &quot?   When I copy and and paste out of a text file the skin detail page renders it wrong.  I can manually try to square it but am hoping it's a simple fix on your end.

I do not know what you mean here.  What is being rendered wrong?  The &quot string is the correct way to display the " in a WEB page.  It also prevents the PHP code from getting a literal " which will blow it up.

Here is what your first P51D text looks like on the skin details page.  What is wrong with it?

I am not seeing the quotes messing up anything.  So where is the problem you are talking about?

Is this the root of the super gloss seen on the skins without spec maps?

Could be, but I cannot be certain.
« Last Edit: October 13, 2017, 04:29:52 PM by Skuzzy »
Roy "Skuzzy" Neese
support@hitechcreations.com

Offline Vraciu

  • Plutonium Member
  • *******
  • Posts: 14034
Re: Skin Display Page
« Reply #129 on: October 13, 2017, 05:01:36 PM »
Yes, I know about that coding but for some reason the page keeps turning my quotation marks into partial code.  I think it depends on where I copy and paste from, Word or Notepad.

Some look right others do this:




I will see if it's my fault somehow.  Maybe I caused it somewhere.   
« Last Edit: October 13, 2017, 05:23:06 PM by Vraciu »
”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 Vraciu

  • Plutonium Member
  • *******
  • Posts: 14034
”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: Skin Display Page
« Reply #131 on: October 14, 2017, 05:38:39 AM »
Ahh, the default map.  There is no way for me to know which map (Power or Alpha) is being used as a default.

Hmmm,...maybe I should just combine those two (i.e. Power/Alpha) as they are mutually exclusive.


The "quot" error is in the text itself.  It may have been passed through the filter twice as the & has been converted to & which is causing the "quot" to appear as text, and not the ".

You should be able to fix it yourself and see the change instantly take place.  If not, then let me know.
« Last Edit: October 14, 2017, 05:43:26 AM by Skuzzy »
Roy "Skuzzy" Neese
support@hitechcreations.com

Offline Greebo

  • Skinner Team
  • Platinum Member
  • ******
  • Posts: 6948
Re: Skin Display Page
« Reply #132 on: October 14, 2017, 05:46:35 AM »
I seem to recall that the overly-glossy appearance of old skins occurs when there are no other effects files included in the folder. If just one of the normal, specular, power or environment files is added to the folder then the problem goes away. Presumably at that point the game or viewer uses the default files for the remaining effects.

Offline Skuzzy

  • Support Member
  • Administrator
  • *****
  • Posts: 31462
      • HiTech Creations Home Page
Re: Skin Display Page
« Reply #133 on: October 14, 2017, 05:50:48 AM »
Here are the rules, in a nutshell.

If there are no maps supplied with the skin, then the game uses all the default normal, specular, power, and environment maps.

If there is only a normal map, then the game uses a fixed value for the specular, and no other maps are used.

If there is a normal and specular map, no other maps are used.
Roy "Skuzzy" Neese
support@hitechcreations.com

Offline Greebo

  • Skinner Team
  • Platinum Member
  • ******
  • Posts: 6948
Re: Skin Display Page
« Reply #134 on: October 14, 2017, 06:02:30 AM »
I'll have to check when I get home from work, but I think the way I just described it is how it is actually working. So far too glossy with no other effects files present, but this goes away with any one file added.