Author Topic: Preset help  (Read 3308 times)

Offline TwistedSorrowzz

  • Community Champion
  • ****
  • Posts: 1,671
  • Country: jp
  • Floof-O-Meter: 36
  • The one and only Pongo
    • RonnoBoy
    • Faline
    • TheBlairWiitch
    • View Profile
Re: Preset help
« Reply #10 on: December 28, 2016, 11:44:46 pm »
Well, they do need a missing right leg which would be why they would differentiate between the two sides. What Twisted means is that if you want two different textures for your left and right sides, you need to indicate it in the material file.



To make one side different than the other would be to add some character to the "preset_2body.jpg" on the preset_2_bodyMatL or bodyMatR depending on which side is different.

It sounds like you've already been doing this as only one side of the preset is missing, correct?
Thank you for making my point more clear, Morgra. ^
On leave.
Information Regarding Wirhonte
http://i.imgur.com/Sm35ntA.png

Offline Arandomperson

  • Dedicated Supporter
  • ***
  • Posts: 314
  • Country: 00
  • Floof-O-Meter: 16
    • View Profile
Re: Preset help
« Reply #11 on: December 28, 2016, 11:54:08 pm »
I have that. It just transparency does not work on the right side of the body. I can make 2 sided presets its just it only for some reason does not work on the right side. I have Alpha channel on, i take the eraser and remove the leg. it has the checkered pattern when i use it. I save the preset, load up FH, go to preset maker, load up said preset that i just saved, and it acts like i didnt just add the transparency on it at all.
Merrp

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: Preset help
« Reply #12 on: December 28, 2016, 11:59:05 pm »
Oh so what you're saying is that you are saving the missing leg side too and it's just not showing up on the preset? Both sides look the same and have no missing leg?
Profile pic by Edolicious

People don't think the universe be like it is, but it do.


Offline Arandomperson

  • Dedicated Supporter
  • ***
  • Posts: 314
  • Country: 00
  • Floof-O-Meter: 16
    • View Profile
Re: Preset help
« Reply #13 on: December 28, 2016, 11:59:55 pm »
Yes!
Merrp

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: Preset help
« Reply #14 on: December 29, 2016, 12:01:18 am »
Okay, that makes sense. I'm thinking it's a code issue. Mind posting your code for us to look at? It could also be that the right side file isn't in the folder. You've made sure both sides are in the preset's folder right? c:

Profile pic by Edolicious

People don't think the universe be like it is, but it do.


Offline Arandomperson

  • Dedicated Supporter
  • ***
  • Posts: 314
  • Country: 00
  • Floof-O-Meter: 16
    • View Profile
Re: Preset help
« Reply #15 on: December 29, 2016, 12:09:20 am »
This is what my code looks like.


material preset_10_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_10bodyL.png

tex_address_mode wrap

filtering trilinear

}

}

}

}

texture_unit

{

texture preset_8body.png

}

}

}

}

material preset_10_bodyMatR

{

technique

{

pass

{

texture_unit

{

texture preset_10bodyR.png

}

}

}

}

material preset_10_headMatL

{

technique

{

pass

{

texture_unit

{

texture preset_10headL.png

}

}

}

}

material preset_10_headMatR

{

technique

{

pass

{

texture_unit

{

texture preset_10headR.png

}

}

}

}

material preset_10_eyeMatL

{

technique

{

pass

{

cull_hardware none

cull_software none

texture_unit

{

texture preset_10eyeL.png

}

}

}

}

material preset_10_eyeMatR

{

technique

{

pass

{

cull_hardware none

cull_software none

texture_unit

{

texture preset_10eyeR.png

}

}

}

}

material preset_10_tailMat

{

technique

{

pass

{

texture_unit

{

texture preset_10tail.png

}

}

}

}

material preset_10_maneMat

{

technique

{

pass

{

cull_hardware none

cull_software none

alpha_rejection greater_equal 128

texture_unit

{

texture preset_10mane.png

}

}

}

}
Merrp

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: Preset help
« Reply #16 on: December 29, 2016, 12:13:43 am »
Okay so one thing i'm noticing is this part under material preset_10_bodyMatL:
Code: [Select]
texture_unit

{

tex_address_mode wrap

filtering trilinear

}

}

}

}

texture_unit

{

texture preset_8body.png

}

}

}

}

There is a preset_8body.png texture in there that doesn't seem to fit as you've already included the "texture preset_10bodyL.png" as a texture unit. If you can explain if that preset_8body.png texture was in there for a reason, let me know ^^

I will be able to fix this up if that's part of the problem
Profile pic by Edolicious

People don't think the universe be like it is, but it do.


Offline Arandomperson

  • Dedicated Supporter
  • ***
  • Posts: 314
  • Country: 00
  • Floof-O-Meter: 16
    • View Profile
Re: Preset help
« Reply #17 on: December 29, 2016, 12:22:25 am »
I dont know how that got in there, but i deleted it and still the same result. And yes I deleted all that you pointed out in the code above.
Merrp

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: Preset help
« Reply #18 on: December 29, 2016, 12:26:32 am »
I dont know how that got in there, but i deleted it and still the same result. And yes I deleted all that you pointed out in the code above.

Oh okay. I don't know what all you deleted but since the same problem is happening I can try to write you a new code. I have a question for you though,

Was all of these details needed for the leg? There are a lot of passes and modifications that I wasn't sure what it was for, including the "tex_address_mode wrap" and the "filtering trilinear" at the bottom:
Code: [Select]
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_10bodyL.png

tex_address_mode wrap

filtering trilinear

Edit: Realized you were talking about a metal leg now.
Profile pic by Edolicious

People don't think the universe be like it is, but it do.


Offline Arandomperson

  • Dedicated Supporter
  • ***
  • Posts: 314
  • Country: 00
  • Floof-O-Meter: 16
    • View Profile
Re: Preset help
« Reply #19 on: December 29, 2016, 12:41:11 am »
*Deeply shrugs with stupid/clueless face* I really just copy and paste old code's ive been useing just to get the two-sided stuff. And about the metal leg i download the overwatch item pack just for that leg to use in a Warrior cat rp.
Merrp