Author Topic: Glow in the dark presets  (Read 1222 times)

Offline Ingredient

  • ~Dead men tell no tales~
  • Ancient Silver Mane
  • *****
  • Posts: 3,662
  • Country: 00
  • Floof-O-Meter: 366
    • Ingredient91
    • View Profile
Glow in the dark presets
« on: November 16, 2013, 11:24:34 pm »
I'm not sure why but it's always the glow in the dark presets that I seem to have trouble with.

I know how to make one as I have made one before, it's just a lot of the time when using the code none of the textures show up on the actual preset in-game.

Here is the code I'm using:

Code: [Select]
material preset_10_bodyMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_10body.PNG
}
}
pass
{
emissive 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_10glowbody.PNG
}
}
}
}
material preset_10_bodyMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_10body.PNG
}
}
pass
{
emissive 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_10glowbody.PNG
}
}
}
}
material preset_10_headMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_10head.PNG
}
}
pass
{
emissive 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_10glowhead.PNG
}
}
}
}
material preset_10_headMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_10head.PNG
}
}
pass
{
emissive 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_10glowhead.PNG
}
}

}
}
material preset_10_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_10leye.PNG
}
}
}
}
material preset_10_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_10reye.PNG
}
}
}
}
material preset_10_tailMat
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture preset_10tail.PNG
}
}
pass
{
emissive 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_10glowtail.PNG
}
}
}
}
material preset_10_maneMat
{
technique
{
pass
{
ambient 0.5 0.5 0.5
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 250
texture_unit
{
texture YOURMANETEXTURE.PNG
}
}
}
}

I made a glowing preset with preset_9 and it works without any problems, however I copied the code and used in the preset_10.material file and it doesn't work. The image I made (only the start of the body) is called preset_10body.png and it doesn't show up in Preset Maker. I've even changed the format to .jpg in case it worked but no, nothing.

I'm not sure why it's not working or what I've done wrong. As I said, the code I used works for preset_9 but not preset_10 and the image name matches what's in the .material file. Does it only work with certain preset numbers?

Could anyone give me an idea on what I'm doing wrong and what the solution is, please? :3

Thank you.
Will be inactive due to work and exams.

Offline damiian

  • Experienced Traveler
  • **
  • Posts: 137
  • Country: 00
  • Floof-O-Meter: 3
    • View Profile
Re: Glow in the dark presets
« Reply #1 on: November 16, 2013, 11:33:30 pm »
Have you tried naming the part your using as it is said in the script?
as you have stated naming it "preset_10body"
and within the coding it is as "preset_10glowbody" try editing the name to the exact name in the coding if its already not named after it ^^
Its so so so so SO SO RARE i ever log into the game i am always found around the forums usually at my inbox or the help forums.
My username in game is rink if you find another user using rink it is a fake.
If you  cannot get a hold of me on here you can find me on the IT server dragons den as rink or deviantart as AlphaRink

Offline Ingredient

  • ~Dead men tell no tales~
  • Ancient Silver Mane
  • *****
  • Posts: 3,662
  • Country: 00
  • Floof-O-Meter: 366
    • Ingredient91
    • View Profile
Re: Glow in the dark presets
« Reply #2 on: November 16, 2013, 11:38:54 pm »
Have you tried naming the part your using as it is said in the script?
as you have stated naming it "preset_10body"
and within the coding it is as "preset_10glowbody" try editing the name to the exact name in the coding if its already not named after it ^^

The images are named exactly as said in the .material file so I don't understand why it's not showing.

Will be inactive due to work and exams.