Author Topic: Transparent Wings  (Read 1565 times)

Offline Abomine

  • Pack & Pride Representative
  • ****
  • Posts: 1,235
  • Country: 00
  • Floof-O-Meter: 41
  • I'm that weird chick who's obsessed with deer.
    • View Profile
Transparent Wings
« on: December 24, 2012, 04:42:04 am »
I'm trying to create a preset that will make my character's wings completely invisible (so my character will look like it's floating instead of flapping its wings).

I've looked at this tutorial and followed the instructions. http://fc02.deviantart.net/fs70/f/2011/183/3/3/feral_heart_preset_script_tuto_by_happyshadow-d3ax1d2.html

I went to preset_11 in My Presets, opened the wing texture and turned it into a png file, added the alpha channel, and made the entire thing transparent (I erased it all, leaving the transparent background), but when I export the preset, it's white and textureless, turning not only the wings but my entire character white.

I'm probably doing something stupidly, obviously wrong, so I'll need to have any help explained to me as simply as possible. I'm no whiz with computer coding.

Thanks very much, and Happy Holidays. :3

To Isengard! To Isengard!

My deviantART

Offline -Rapid-

  • Dedicated Supporter
  • ***
  • Posts: 476
  • Floof-O-Meter: 15
    • View Profile
Re: Transparent Wings
« Reply #1 on: December 24, 2012, 04:52:53 am »
Add this below everything else in your material file.

Code: [Select]
material preset_11_equipMatL
{
technique
{
pass
{
alpha_rejection greater_equal 12128
texture_unit
{
texture add-texture-here.png
}
}
}
}
material preset_11_equipMatR
{
technique
{
pass
{
alpha_rejection greater_equal 12128
texture_unit
{
texture add-texture-here.png
}
}
}
}
« Last Edit: December 24, 2012, 04:56:02 am by -Rapid- »

Offline Abomine

  • Pack & Pride Representative
  • ****
  • Posts: 1,235
  • Country: 00
  • Floof-O-Meter: 41
  • I'm that weird chick who's obsessed with deer.
    • View Profile
Re: Transparent Wings
« Reply #2 on: December 24, 2012, 05:18:08 am »
I copied that into the material file in the 'equip' section, but now my character looks like this:


To Isengard! To Isengard!

My deviantART

Offline -Rapid-

  • Dedicated Supporter
  • ***
  • Posts: 476
  • Floof-O-Meter: 15
    • View Profile
Re: Transparent Wings
« Reply #3 on: December 24, 2012, 05:22:55 am »
You put the wing preset name in the .texture in the code right? And make sure they're the right wings. There has to be a left wing on the left coding and a right wing on the right coding. Either one of those or both... but if not then I don't really know...

I hope you get this fixed.

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Transparent Wings
« Reply #4 on: December 24, 2012, 05:26:46 am »
Try this code;
Code: [Select]
material preset_11_equipMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11equip.png
}
}
}
}
material preset_11_equipMatR
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11equip.png
}
}
}
}

And then see.
Make sure your code doesn't have multiple sections or unnecessary characters.

Or, you are welcome to send/post the code and I can attempt a recode to see if I can get it to work. c:

Offline Abomine

  • Pack & Pride Representative
  • ****
  • Posts: 1,235
  • Country: 00
  • Floof-O-Meter: 41
  • I'm that weird chick who's obsessed with deer.
    • View Profile
Re: Transparent Wings
« Reply #5 on: December 24, 2012, 05:55:58 am »
Try this code;
Code: [Select]
material preset_11_equipMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11equip.png
}
}
}
}
material preset_11_equipMatR
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11equip.png
}
}
}
}

And then see.
Make sure your code doesn't have multiple sections or unnecessary characters.

Or, you are welcome to send/post the code and I can attempt a recode to see if I can get it to work. c:

I copied that code, but I still have the same problem. I'll post what I have on my end in the material file.

Code: [Select]
material preset_11_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_11_body.png
}
}
}
}
material preset_11_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_11body.jpg
}
}
}
}
material preset_11_headMatL
{
technique
{
pass
{
texture_unit
{
texture preset_11head.jpg
}
}
}
}
material preset_11_headMatR
{
technique
{
pass
{
texture_unit
{
texture preset_11head.jpg
}
}
}
}
material preset_11_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_11eye.jpg
}
}
}
}
material preset_11_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_11eye.jpg
}
}
}
}
material preset_11_tailMat
{
technique
{
pass
{
texture_unit
{
texture preset_11tail.jpg
}
}
}
}
material preset_11_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_11mane.png
}
}
}
}
material preset_11_equipMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11equip.png
}
}
}
}
material preset_11_equipMatR
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11equip.png
}
}
}
}

To Isengard! To Isengard!

My deviantART

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Transparent Wings
« Reply #6 on: December 24, 2012, 06:46:03 am »
Here is the recode;
Code: [Select]
material preset_11_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_11body.png
}
}
}
}
material preset_11_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_11body.png
}
}
}
}
material preset_11_headMatL
{
technique
{
pass
{
texture_unit
{
texture preset_11head.png
}
}
}
}
material preset_11_headMatR
{
technique
{
pass
{
texture_unit
{
texture preset_11head.png
}
}
}
}
material preset_11_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_11eye.png
}
}
}
}
material preset_11_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_11eye.png
}
}
}
}
material preset_11_tailMat
{
technique
{
pass
{
texture_unit
{
texture preset_11tail.png
}
}
}
}
material preset_11_maneMat
{
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11mane.png
}
}
}
}
material preset_11_equipMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11equip.png
}
}
}
}
material preset_11_equipMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11equip.png
}
}
}
}

If pasting this in does not work, then you may have to just reinstall.
The easy way to do so would be to rename your FH folder to FeralHeart1 and then just launch the installer again, which would give you a new FeralHeart folder.
Take the images from your preset 11 folder in FH1, transfer them to the new FH folder, and then copy the code above and use that.

Offline Abomine

  • Pack & Pride Representative
  • ****
  • Posts: 1,235
  • Country: 00
  • Floof-O-Meter: 41
  • I'm that weird chick who's obsessed with deer.
    • View Profile
Re: Transparent Wings
« Reply #7 on: December 24, 2012, 06:22:20 pm »
I ended up having to reinstall FH. So now with the new game installed, the folder for preset_11 is there (in the new FH folder, not FH1), but it's not in the game. I go to Tools>Preset Maker, but it doesn't have Preset 11 or 12.

I'm sorry I'm being such a pain. I can mod the heck out of everything else on FH, but for some reason it just won't give me invisible wings! GAH!!!

To Isengard! To Isengard!

My deviantART

JackobLoveu

  • Guest
Re: Transparent Wings
« Reply #8 on: December 24, 2012, 06:31:34 pm »
I think you need to put it in your Notepad?

Offline Abomine

  • Pack & Pride Representative
  • ****
  • Posts: 1,235
  • Country: 00
  • Floof-O-Meter: 41
  • I'm that weird chick who's obsessed with deer.
    • View Profile
Re: Transparent Wings
« Reply #9 on: December 24, 2012, 07:14:03 pm »
I already did. Whenever I mod codes for anything, I always use Notepad. Thanks for the suggestion, though. :)

To Isengard! To Isengard!

My deviantART