Author Topic: Preset not working [ L O C K ]  (Read 5473 times)

Offline Vwang

  • Finest Floof
  • ***
  • Posts: 937
  • Country: 00
  • Floof-O-Meter: 38
    • View Profile
Preset not working [ L O C K ]
« on: August 15, 2016, 02:02:06 am »
https://www.youtube.com/watch?v=pPsAAbbaymQ&feature=youtu.be
I cant upload pictures im very sorry
(gnrnnnnn and also ignore my terrible editing XD)
Also my code is here
Code: [Select]
material preset_11_bodyMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   alpha_rejection greater equal 128
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11body.png
   }
  }
  pass
  {
   alpha_rejection greater_equal 128
   scene_blend alpha_blend
   emissive 1.0 1.0 1.0 1
   texture_unit
   {
    texture bodyglow.png
   }
  }
 }
}
material preset_11_bodyMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   alpha_rejection greater equal 128
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11body.png
   }
  }
  pass
  {
   alpha_rejection greater_equal 128
   scene_blend alpha_blend
   emissive 1.0 1.0 1.0 1
   texture_unit
   {
    texture bodyglow.png
   }
  }
 }
}
material preset_11_headMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   alpha_rejection greater equal 128
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11head.png
   }
  }
  pass
  {
   alpha_rejection greater_equal 128
   scene_blend alpha_blend
   emissive 1.0 1.0 1.0 1
   texture_unit
   {
    texture headglow.png
   }
  }
 }
}
material preset_11_headMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   alpha_rejection greater equal 128
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11head.png
   }
  }
  pass
  {
   alpha_rejection greater_equal 128
   scene_blend alpha_blend
   emissive 1.0 1.0 1.0 1
   texture_unit
   {
    texture headglow.png
   }
  }
 }
}
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 scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   alpha_rejection greater equal 128
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11tail.png
   }
  }
  pass
  {
   alpha_rejection greater_equal 128
   scene_blend alpha_blend
   emissive 1.0 1.0 1.0 1
   texture_unit
   {
    texture glow.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.jpg
                        }
                }
        }
}
material preset_11_equipMatR
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_11equip.jpg
                        }
                }
        }
}
*Its all messy*
« Last Edit: August 22, 2016, 11:51:20 pm by leahling »

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Preset not working
« Reply #1 on: August 15, 2016, 02:06:06 am »
I apologise.
I was typing that code very quickly this morning, I made a mistake.
Some lines read "alpha_rejection greater equal 128" instead of "alpha_rejection greater_equal 128."

Use the replace function in Notepad (Edit -> Replace OR Ctrl + H) to fix this.

-

PS; nice video editing. Made me laugh.

-

Rip Bloo. Good eye tho. c; +Fluff
« Last Edit: August 15, 2016, 02:09:22 am by Ruby1234 »

Offline Bloo.

  • Space-Child ✌
  • Moderator
  • Elder Grey Pelt
  • *****
  • Posts: 2,657
  • Country: us
  • Floof-O-Meter: 191
  • nyoom
    • Bloopaloozer
    • Bloopalooza FH
    • aLittleProzium
    • Bloopalooza
    • View Profile
    • DeviantArt
Re: Preset not working
« Reply #2 on: August 15, 2016, 02:06:46 am »
I'm not sure if this has anything to do with it considering I'm not a preset maker, but some of your code looks like this:

 alpha_rejection greater equal 128

Other parts of the code are this  alpha_rejection greater_equal 128
I believe there should always be that underscore between greater and equal, but I could be wrong ^^


Ruby got it! c:


You are amazing <3

Offline Vwang

  • Finest Floof
  • ***
  • Posts: 937
  • Country: 00
  • Floof-O-Meter: 38
    • View Profile
Re: Preset not working
« Reply #3 on: August 15, 2016, 02:09:23 am »
I apologise.
I was typing that code very quickly this morning, I made a mistake.
Some lines read "alpha_rejection greater equal 128" instead of "alpha_rejection greater_equal 128."

Use the replace function (Edit -> Replace OR Ctrl + H) to fix this.

-

PS; nice video editing. Made me laugh.
I apologise.
I was typing that code very quickly this morning, I made a mistake.
Some lines read "alpha_rejection greater equal 128" instead of "alpha_rejection greater_equal 128."

Use the replace function in Notepad (Edit -> Replace OR Ctrl + H) to fix this.

-

PS; nice video editing. Made me laugh.
hmmm I got greatly tired of rebuilding the entire code and btw The code I realized it wasn't ambient

Offline Vwang

  • Finest Floof
  • ***
  • Posts: 937
  • Country: 00
  • Floof-O-Meter: 38
    • View Profile
Re: Preset not working
« Reply #4 on: August 15, 2016, 02:10:03 am »
whoops I did two quotes

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Preset not working
« Reply #5 on: August 15, 2016, 02:12:01 am »
I wasn't able to recreate a full code this morning, as I was in a hurry. Again, I apologise.

It isn't exactly challenging though, for the most part it's just copy/paste and change the image names.

And I'm not sure what you mean by "it wasn't ambient?"
Is that something you're looking to add, or?

Offline Vwang

  • Finest Floof
  • ***
  • Posts: 937
  • Country: 00
  • Floof-O-Meter: 38
    • View Profile
Re: Preset not working
« Reply #6 on: August 15, 2016, 02:14:25 am »
I wasn't able to recreate a full code this morning, as I was in a hurry. Again, I apologise.

It isn't exactly challenging though, for the most part it's just copy/paste and change the image names.

And I'm not sure what you mean by "it wasn't ambient?"
Is that something you're looking to add, or?
I know that the material's is normal FH when I though something was missing because the markings didn't look like it glowed The shading was missing thats what I was looking forward (Also i tried adding the ambient line in but it didn't  work)

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Preset not working
« Reply #7 on: August 15, 2016, 02:17:29 am »
Mmm, alright.

Give me a minute to recreate the head, body, and tail.

I'll update this post in a minute with a new code for you.

-

Edit:

Give this a go, yeah?
Code: [Select]
material preset_11_bodyMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1
texture_unit
{
texture scroll.png
scroll_anim 1.0 1.0
}
}
pass
{
ambient 0.5 0.5 0.5 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_11body.png
}
}
pass
{
emissive 1.0 1.0 1.0 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture glow.png
}
}
}
}
material preset_11_bodyMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1
texture_unit
{
texture scroll.png
scroll_anim 1.0 1.0
}
}
pass
{
ambient 0.5 0.5 0.5 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_11body.png
}
}
pass
{
emissive 1.0 1.0 1.0 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture glow.png
}
}
}
}
material preset_11_headMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1
texture_unit
{
texture scroll.png
scroll_anim 1.0 1.0
}
}
pass
{
ambient 0.5 0.5 0.5 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_11head.png
}
}
pass
{
emissive 1.0 1.0 1.0 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture glow.png
}
}
}
}
material preset_11_headMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1
texture_unit
{
texture scroll.png
scroll_anim 1.0 1.0
}
}
pass
{
ambient 0.5 0.5 0.5 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_11head.png
}
}
pass
{
emissive 1.0 1.0 1.0 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture glow.png
}
}
}
}
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
{
ambient 0.5 0.5 0.5 1
texture_unit
{
texture scroll.png
scroll_anim 1.0 1.0
}
}
pass
{
ambient 0.5 0.5 0.5 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_11tail.png
}
}
pass
{
emissive 1.0 1.0 1.0 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture glow.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
{
texture_unit
{
texture preset_11equip.jpg
}
}
}
}
material preset_11_equipMatR
{
technique
{
pass
{
texture_unit
{
texture preset_11equip.jpg
}
}
}
}
« Last Edit: August 15, 2016, 02:23:42 am by Ruby1234 »

Offline Vwang

  • Finest Floof
  • ***
  • Posts: 937
  • Country: 00
  • Floof-O-Meter: 38
    • View Profile
Re: Preset not working
« Reply #8 on: August 15, 2016, 02:40:09 am »
Mmm, alright.

Give me a minute to recreate the head, body, and tail.

I'll update this post in a minute with a new code for you.

-

Edit:

Give this a go, yeah?
Code: [Select]
material preset_11_bodyMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1
texture_unit
{
texture scroll.png
scroll_anim 1.0 1.0
}
}
pass
{
ambient 0.5 0.5 0.5 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_11body.png
}
}
pass
{
emissive 1.0 1.0 1.0 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture glow.png
}
}
}
}
material preset_11_bodyMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1
texture_unit
{
texture scroll.png
scroll_anim 1.0 1.0
}
}
pass
{
ambient 0.5 0.5 0.5 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_11body.png
}
}
pass
{
emissive 1.0 1.0 1.0 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture glow.png
}
}
}
}
material preset_11_headMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1
texture_unit
{
texture scroll.png
scroll_anim 1.0 1.0
}
}
pass
{
ambient 0.5 0.5 0.5 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_11head.png
}
}
pass
{
emissive 1.0 1.0 1.0 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture glow.png
}
}
}
}
material preset_11_headMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1
texture_unit
{
texture scroll.png
scroll_anim 1.0 1.0
}
}
pass
{
ambient 0.5 0.5 0.5 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_11head.png
}
}
pass
{
emissive 1.0 1.0 1.0 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture glow.png
}
}
}
}
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
{
ambient 0.5 0.5 0.5 1
texture_unit
{
texture scroll.png
scroll_anim 1.0 1.0
}
}
pass
{
ambient 0.5 0.5 0.5 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture preset_11tail.png
}
}
pass
{
emissive 1.0 1.0 1.0 1
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture glow.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
{
texture_unit
{
texture preset_11equip.jpg
}
}
}
}
material preset_11_equipMatR
{
technique
{
pass
{
texture_unit
{
texture preset_11equip.jpg
}
}
}
}
Uhhh
the glowing markings are not really smeary nor are the scrolling and it makes my preset a little weird

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Preset not working
« Reply #9 on: August 15, 2016, 02:52:11 am »
Picture?