Author Topic: Two-sided presets?  (Read 1758 times)

Offline DubChalupa

  • Curious Wanderer
  • *
  • Posts: 26
  • Floof-O-Meter: 0
    • View Profile
Two-sided presets?
« on: July 15, 2013, 12:46:51 am »
I need a link to a good tutorial for how to do asymmetrical presets, presets with two different sides, because I'm clueless.  ;n;
any help appreciated.  <3 
DubChalupa in game

Offline hugrf2

  • Purple Derple
  • Honored Hero
  • *****
  • Posts: 5,314
  • Country: us
  • Floof-O-Meter: 120
  • wrow
    • hugrf
    • channel/UChLphw5s3-hS8EFAgnNv6FQ
    • hugrf
    • hugrf
    • Ain't nobody got time fo' dat
    • View Profile
Re: Two-sided presets?
« Reply #1 on: July 15, 2013, 01:10:06 am »
Gurl, it's easy. ^^ Just make two textures for the same body part and name them different, go to the code and add in the side's texture name and done. Let me get you a code for an example.


Code: [Select]
material preset_#_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_#body2.jpg
}
}
}
}
material preset_#_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_#body.jpg
}
}
}
}
material preset_#_headMatL
{
technique
{
pass
{
texture_unit
{
texture cheadShade.jpg (!!!I copied this here for fur texture, this is just ex. mat.!!!)
}
texture_unit
{
texture preset_#head2.jpg
}
}
}
}
material preset_#_headMatR
{
technique
{
pass
{
texture_unit
{
texture cheadShade.jpg (!!!I copied this here for fur texture, this is just ex. mat.!!!)
}
texture_unit
{
texture preset_#head.jpg
}
}
}
}
material preset_#_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_#eye2.jpg
}
}
}
}
material preset_#_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_#eye.jpg
}
}
}
}
material preset_#_tailMat
{
technique
{
pass
{
texture_unit
{
texture preset_#tail.jpg
}
}
}
}
material preset_#_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_#mane.png
}
}
}
}

^ What I mean. Just make two textures for the same body part as I said, and name different and stuffs.
Also, replace the # with the preset number, lol.
Hope this helped. :P

Offline DubChalupa

  • Curious Wanderer
  • *
  • Posts: 26
  • Floof-O-Meter: 0
    • View Profile
Re: Two-sided presets?
« Reply #2 on: July 16, 2013, 07:53:39 pm »
thank you c:  Where do I go to put in the code?  Unless I'm just being dumb.. xD
DubChalupa in game

Offline Whinp

  • Finest Floof
  • ***
  • Posts: 916
  • Country: 00
  • Floof-O-Meter: 50
    • View Profile
Re: Two-sided presets?
« Reply #3 on: July 16, 2013, 08:15:38 pm »
FeralHeart>my_preset>preset_anynumber.
Then try to open the material file with Notepad.




In-game name as: Whinp