Author Topic: Confusion with preset  (Read 1731 times)

Offline primal

  • Curious Wanderer
  • *
  • Posts: 46
  • Country: us
  • Floof-O-Meter: 6
    • Nectarheart
    • View Profile
Confusion with preset
« on: September 25, 2016, 07:38:09 pm »
Hiya! I was just wondering how I would make the eye itself within this preset be transparent, instead of the entire side of the file that includes and teeth, (I would like the eyelid to be transparent as well since he's wearing an eyepatch* x3


http://imgur.com/a/0PCAe

Ingame username : ^ F o r e s t ^

Offline D-ead7Dog

  • AFK NPC
  • Pack & Pride Representative
  • ****
  • Posts: 1,451
  • Country: us
  • Floof-O-Meter: 97
  • BUMPY SNOW
    • D-ead7Dog
    • d-ead7dog
    • View Profile
Re: Confusion with preset
« Reply #1 on: September 25, 2016, 07:50:35 pm »
that's easy!
Use the transparent code and then go into the preset that contains the eye file and erase the eye lid [ONLY. and make sure it's on the Alpha Channel to make it a chess texture grey and black tile] should be located on the right hand side of the eye file and just save it.
That's all there is to it! ;)



VIDEO TUTORIAL;

https://www.youtube.com/watch?v=Q9tW9RFy6GU
« Last Edit: September 25, 2016, 07:55:32 pm by Pkf7 »

Artwork (c) Lynxbrush & CosmicFatality

Originally registered January 15, 2011

Offline primal

  • Curious Wanderer
  • *
  • Posts: 46
  • Country: us
  • Floof-O-Meter: 6
    • Nectarheart
    • View Profile
Re: Confusion with preset
« Reply #2 on: September 25, 2016, 07:57:11 pm »
that's easy!
Use the transparent code and then go into the preset that contains the eye file and erase the eye lid [ONLY. and make sure it's on the Alpha Channel to make it a chess texture grey and black tile] should be located on the right hand side of the eye file and just save it.
That's all there is to it! ;)

Would that erase the teeth though from the code? :o


VIDEO TUTORIAL;

https://www.youtube.com/watch?v=Q9tW9RFy6GU

Ingame username : ^ F o r e s t ^

Offline D-ead7Dog

  • AFK NPC
  • Pack & Pride Representative
  • ****
  • Posts: 1,451
  • Country: us
  • Floof-O-Meter: 97
  • BUMPY SNOW
    • D-ead7Dog
    • d-ead7dog
    • View Profile
Re: Confusion with preset
« Reply #3 on: September 25, 2016, 08:00:24 pm »
Nope! Just make sure you erase the right hand side upper square because that is your eyelid!
If you release anything else outside that little box it will erase whatever you did! :)


As an example i found on google;

Pretend this is your eye file. Just erase that white area on the top right hand side [or whatever color yours is at the moment before you will be erasing it. That is your eyelid! :D
« Last Edit: September 25, 2016, 08:02:32 pm by Pkf7 »

Artwork (c) Lynxbrush & CosmicFatality

Originally registered January 15, 2011

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Confusion with preset
« Reply #4 on: September 25, 2016, 10:55:54 pm »
I believe they want the entire eye AND lid to be transparent.

In that case, load up an eyemask from media > textures > masks
(or feye.jpg, which I used):

And since I used a jpg, I need to right click the layer and Add Alpha Channel:

Select the entire top section, and delete it:

It looks like you're going for the right eye, so save it into your preset's folder as preset_#eyeR.png
(use the actual number of your preset, and it must be a .png)

Then load up the material file into notepad, and look for the right eye section (eyeMatR).

Replace it with this code:
Code: [Select]
material preset_#_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture preset_#eyeR.png
}
}
}
}
And make sure you replace my #'s with your preset's actual number.

Done and done.

Offline D-ead7Dog

  • AFK NPC
  • Pack & Pride Representative
  • ****
  • Posts: 1,451
  • Country: us
  • Floof-O-Meter: 97
  • BUMPY SNOW
    • D-ead7Dog
    • d-ead7dog
    • View Profile
Re: Confusion with preset
« Reply #5 on: September 26, 2016, 02:22:07 am »
Oh! I apologize!

Good luck with your preset!

Artwork (c) Lynxbrush & CosmicFatality

Originally registered January 15, 2011