Feral Heart
Help & Guidance => Game Help => Topic started by: LucikSmajlik on July 27, 2011, 03:08:50 pm
-
hello...I have problem..How to make invisible preset? It interests me ...
-
Make a 512x512 transparent square. And save it as
preset_(number)body.png
preset_(number)eye.png
preset_(number)tail.png
preset_(number)head.png
Then use this code:
material preset_(number)_(Body Part)Mat(Left or Right)
{
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 (IMAGE NAME).png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture (IMAGE NAME AGAIN).png
}
}
}
}
-
I'm trying, but in the Tools folder is not preset macros to which I gave ... I put it into preset_3
Can you please clarify this code?
-
Hm this soudsn interesting, I wanna try it! But...some guidance would be appreciated
-
Okay, make a 512x512 transparent square. Save it as all of these:
preset_3body.png
preset_3eye.png
preset_3tail.png
preset_3head.png
So now you have 4 transparent squares. Open the preset 3 material file in notepad, (it will only open in notepad) and erase everything, EXCEPT the maneMat area, and put:
material preset_3_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 preset_3body.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture preset_3body.png
}
}
}
}
material preset_3_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 preset_3body.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture preset_3body.png
}
}
}
}
material preset_3_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 preset_3head.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture preset_3head.png
}
}
}
}
material preset_3_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 preset_3head.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture preset_3head.png
}
}
}
}
material preset_3_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 preset_3eye.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture preset_3eye.png
}
}
}
}
material preset_3_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 preset_3eye.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture preset_3eye.png
}
}
}
}
material preset_3_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 preset_3tail.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
texture_unit
{
texture preset_3tail.png
}
}
}
}
Save that and test in preset maker.
-
:) alright that helps!
-
DUDE!!! -made one- thanks man this is awesome!!!! -favs page- I am NEVER going to remember all those codes! XD
-
Would this make the whole preset invisible or can u choose parts of it?
-
I made the transparent squares 512x512, and I did the coding right, and I went into the game to test it out (I put mine in preset 6) and I scroll down and there's no preset 6 to click on :( can someone please help me?
-
A little late post on this for me XD but, what if you don't have a notepad thing to put the codes in? x-x I don't so it makes it hard for me to do this
-
What's your OS?
Windows always has notepad, but I don't know what Mac has, though it should have something.
-
I have a Toshiba(Windows XP in it I think) It has notepad but not in the preset thing and it won't allow me to put a notepad in it.
-
You have to open Notepad, and then click File, and then Open.
Change the dropdown to All Files, and then navigate to your preset's material file, and then click open. c:
-
Okay, I'll try that then tell you if it worked or not x3 Thanks for the help