Feral Heart
FeralHeart Creations => FeralHeart Addons & Mods => Presets & Markings => Topic started by: Lavender on April 25, 2011, 04:12:08 am
-
Hey guys! I know iv been looking for this EVERYWHERE,and iv finally got it~! So i'll share it with you guys,here <3
Just PASTE IT INTO YOUR Preset_5 material
material preset_5_bodyMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture Transparentbody.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture Transparentbody.png
}
}
}
}
material preset_5_bodyMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture TransparentBody.png
tex_address_mode wrap
filtering trilinear
}
texture TransparentBody.png
}
}
}
}
material preset_5_headMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture Transparenthead.png
tex_address_mode wrap
filtering trilinear
}
texture Transparenthead.png
}
}
}
}
material preset_5_headMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture Transparenthead.png
tex_address_mode wrap
filtering trilinear
}
texture Transparenthead.png
}
}
}
}
material preset_5_eyeMatL
{ receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture eyes.png
tex_address_mode wrap
filtering trilinear
}
texture Transparenteye.png
}
}
}
}
material preset_5_eyeMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture eyes.png
tex_address_mode wrap
filtering trilinear
}
texture Transparenteye.png
}
}
}
}
material preset_5_tailMat
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture Transparenttail.png
tex_address_mode wrap
filtering trilinear
}
texture Transparenttail.png
}
}
}
}
material preset_5_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture GuideMane.png
}
}
}
}
NOTE: Only works on preset_5 unless you change the numbers!
;w;
---
KK. Everyone is asking for explainz So,i'll us my preset for example
Its pretty simple. In the places where you want it transparent. You erase,leaving it transparent
-exampleplz-
(http://i1086.photobucket.com/albums/j444/iPineapple13/Transparenthead.png)
You understand?
-
I honestly don't know if I understand what this exactly does .... could you explain a little more please for us noobies haha
-
I honestly don't know if I understand what this exactly does .... could you explain a little more please for us noobies haha
Mmm,it depends,have you even made a preset?
-
can you explain how to do this for me?
And yes I have made a preset before.
-
Ok so if your using GIMP go to layer-transparency-add alpha rejection(something like that) Now erase what you want to be invisible, it should be a grey checkered pattern.
Now save that go to eg. preset_5.material and put this above texture_unit -alpha_rejection greater_equal 128- now your white parts will be transparent ^^
-
oh so much thx
^.^
-
My pleasure=)
-
Hmm I seem to have done that... doesnt work...
-
Ok when in GIMP save it as a .png because .jpg can't handle the transparency eg.-preset_3body.png- ok now Inc you have done that you need to change the material file as well, so go into it and change the .jpg to .png.
I'm not sure for photo shop because I don't use it but as for GIMP that's what I do,
Good luck hope that helped ^^
-
sorry still doesnt work for me
-
>.>
1. In GIMP or photoshop just erase the parts you want invisible and save as .png.
2. Follow normal preset instructions. (Saving in C://my_presets/preset_#, etc.)
3. Open the .material with note pad.
4. Scroll down to whichever part/s need to be transparent. (Aka head, body, etc.)
5. Highlight everything after the heading (heading = material preset_#_bodyMatL etc)
What you highlighted should look like this:
{
technique
{
pass
{
texture_unit
{
texture preset#body.jpg
}
}
}
}
Replace that with this:
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture Transparentbody.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture Transparentbody.png
}
}
}
}
6. Save as normal preset. (AKA preset_#.material)
7. Open FH (type in your exact login name. For example, if your login name is Fancypant208 type n Fancypant208, not fancypant208. If you're making a preset for someone else, ask for their in-game username and use that.) > Tools > Preset maker
8. Go to whatever preset # you saved it as and it should show up. <:
9. Click export. A popup window should say something like "Exported preset as presets/username_#.fhz" Click okay
10. Log in, select the character you want, click edit. Go to "use preset" and select the preset number. C:
(http://i54BannedImageSite/2vvqkat.gif)
Good Luck!
<3
-
Lol Kama, that's most helpful. Thanks for the code, everything worked out fine when I tested it a few days ago.~
-
Thank you, Gem. I want to see what you ma~de.
-
ok whenever I make the preset a .png, it always shows up as the presetless yellow and black. It never works when I make the picture a .png What is wrong?
-
You know what? can somebody just make a quick preset for me so I can see how it's done? or could I just request a preset from you guys because this is super difficult e.<
-
ok whenever I make the preset a .png, it always shows up as the presetless yellow and black. It never works when I make the picture a .png What is wrong?
Most likely the name of your file in your script
should be like this
texture_unit
{
texture (randomname)Lbody.png
Make sure its the exact name you have your image called, or it wont show up
-
Don't work now one side of my Preset is white and teh other is Balck and Yellow O_o Now what.I'm useing Photoshop Elements 7.
-
I'm use to makeing presets and I wanted to make transparent ones..
I used the code but it didn't work- I didn't change the name and left it as preset_#head/body/tail and I changed the actual preset image to png from jpeg- but my preset came up as white, it wasn't useable.
now- here's the strange thing. I made a new preset but kept both the JPEG and PNG I set the codes to accept the PNG, the preset worked, but didn't have transparencey. I then deleated the JPEG and the preset went white, even though the codes were for PNG, can some one explain what happened to me
I already have a help thread for presets in the game help section, but I thought I should ask here- where the actual code was posted.
-
I got everything to work except the eyes and teeth they refuse to work i named the Transparenteye.png just as the codeing and still i get yellow and black eyes
-
Nu just right "eyes".them it works.Also I figured it out.DO NOT ADD TEH WORD texture INTO THE NAME!That was the preblem I had :p.
-
thanks but it still dosnt work so am i getting this right name it transparenteyes.png if so it still didnt work
-
For the eyes just write this~~~~ eyes ~~~~this should work star :3
-
oh ok xD thanks now it works perfectly
-
its not working for me. when i post the code in the mat file my preset is still white not transparent
-
Ummm, it didn't work >_> I copy and pasted those exact words to my preset thing made my preset then tested it in-game nothing just the black and yellow lion.
When I pasted it all the spaceing went away wtf?
Never mind I think I got it
-
It crashed my game :|
-
I did all of this, it still didn't work for me.
-
Thanks for this i've wanted an invisible preset for a while.
What if you wanted it to show a bit of colour through the transparent bit, how would you do it? E.g. Your preset is black and you put some stripes on it (the stripes are the transparent bit) but you wanted the stripes to have some tinges of black on it so its not completely invisible. Do you get what i mean?
-
Ok does anyone have the moving transparent code?
-
I want to make one missing leg on my char....How Can I do it?
-
I love it :D your sooo smart +1Karma for your smartness and generousity of posting dis :D
-
Lookie Dis
(http://th06.deviantart.net/fs71/150/i/2012/026/f/b/screenshot_01262012_130855843_by_snowbankst-d4nor6x.png)
It works
-
Nice Nathan i like it how you did yours :D hehe im gonna take your idea....Gwahahaha J i dont like using others "Ideas" because i think its wrong to copy someone and then dont give em ay credit thats would be wrong...Darn iim talking to myself agin xD
-
Yo I posted it so others CAN use the Idea
-
how can i put this code for just the wings?...
-
how can i put this code for just the wings?...
Hope the OP doesn't mind if I post this for ya. Make sure to replace the ? though with the number of your preset, and of course write your textures in. XD
material preset_?_equipMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture Transparentbody.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
material preset_?_equipMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture Transparentbody.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
This should work. I know there are other ways to make transparent presets, but hope this does the trick for ya.
On the subject, do you happen to know if it's possible to make a body with transparent parts, and another scrolling image mask on top of the same body part, Lavender? Example: A character with no arms but having spots on its back that change colors from an animated texture. Kind of hard to explain correctly when I don't have the code on this computer. >.<
So far though, when I try to make the legs transparent with the alpha rejection, it makes the whole body go transparent and only the color-changing scrolling part shows up. But, if I simplify it and let the body have no transparency, everything shows up as it should, except for the legs of course.
-
Thanks for the script
-
Oh guys...I have read the tips and how to do it,see the video but I still didn't get it right...
-
Hey I've never made a preset before and the only programs I have are: Paint and CoralPainter.......can you make presets with them???
-
Hey I've never made a preset before and the only programs I have are: Paint and CoralPainter.......can you make presets with them???
Those programs are fine but if they created layers then it would make preset making more easier.
-
Thanks! I don't know if it 'layers' or not.....I honestly don't even quite know what that is/does O_O But that's okay ;)
-
Thanks! I don't know if it 'layers' or not.....I honestly don't even quite know what that is/does O_O But that's okay ;)
Well your the first layer is the where the UV map of the canine/feline body, you know when you make a preset.
If you add another transparent layer then you can draw/colour on the new layer rather than the base. If you make a mistake you can erase it without erasing the base layer (feline/canine body) thats what its basically used for.
Understand? Im not the best at explaining.
-
How can you get colors on a transparent preset?
-
How can you get colors on a transparent preset?
You dont have to have the whole preset invisible. You can use the eraser tool and erase the parts that you want transparent. It uses the same code too. Colouring in the parts you want to show and erasing the parts you want to be transparent.
-
can u make me a transparent preset i want a great dane preset using a feline and make the tail transparent
-
I hope you don't mind,but i edited this code to where the wings can be transparent.So whenever you add wings to a transparent preset,make sure to name it "wings.png"
material preset_2_bodyMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture Transparentbody.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture Transparentbody.png
}
}
}
}
material preset_2_bodyMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture TransparentBody.png
tex_address_mode wrap
filtering trilinear
}
texture TransparentBody.png
}
}
}
}
material preset_2_headMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture Transparenthead.png
tex_address_mode wrap
filtering trilinear
}
texture Transparenthead.png
}
}
}
}
material preset_2_headMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture Transparenthead.png
tex_address_mode wrap
filtering trilinear
}
texture Transparenthead.png
}
}
}
}
material preset_2_eyeMatL
{ receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture eyes.png
tex_address_mode wrap
filtering trilinear
}
texture Transparenteye.png
}
}
}
}
material preset_2_eyeMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture eyes.png
tex_address_mode wrap
filtering trilinear
}
texture Transparenteye.png
}
}
}
}
material preset_2_tailMat
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture Transparenttail.png
tex_address_mode wrap
filtering trilinear
}
texture Transparenttail.png
}
}
}
}
material preset_2_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture GuideMane.png
}
}
}
}
material preset_2_equipMatR
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture wings.png
tex_address_mode wrap
filtering trilinear
}
texture Transparentwing.png
}
}
}
}
material preset_2_equipMatL
{
receive_shadows on
technique
{
pass
{
ambient 1.000000 1.000000 1.000000 1.000000
diffuse 1.000000 1.000000 1.000000 1.000000
specular 0.050000 0.050000 0.050000 1.000000 12.500000
emissive 0.000000 0.000000 0.000000 1.000000
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 128
texture_unit
{
texture wings.png
tex_address_mode wrap
filtering trilinear
}
texture Transparentwing.png
}
}
}
}
-
I cannot get this to work, I try and save my tail, but instead of being checked when saved, it turns into white, which messes up my preset ;w; please help me.
-
Ahh, Been looking for this! Thanks u :P
-
ummm to change it to another preset we just retype "preset 5" to "preset 12" right?
-
dino, you would have to open up the .material file and change all the original numbers to the new number. E.g. change all the 5's in the file to 12's then save.
-
ohhhh i see thank you for the info
-
I tried entering the new code and when I did the preset (#8) disappeared from the preset-maker preset list. It skips right from 7 to 9. Anyone know how to fix this?
-
BrokenBandit, please don't necro old threads. This was back in 2012, make a thread in Game Help if you need help.
-
I'm trying to use this for a preset where half of an ear is missing (chewed off). Every time I insert this code onto the headR.png part, the whole side of the head shows up white on the preset maker and in-game. The image is saved as a png.
What am I doing wrong?