May 21, 2024, 06:15:04 PM

Author Topic: Preset Help  (Read 3053 times)

Offline Raszagal

  • Quarter Moon
  • *
  • Posts: 14Female
  • Karma: 3
    • View Profile
Preset Help
« on: December 20, 2015, 03:24:59 PM »
At this point I have no freaking clue where I'm going wrong. After re-doing the codes x5 times and repeating all the steps, my character shows up as black & yellow. For your enlightenment, I will show you the two codes I have used (of which neither seems to help the game see the files)

Spoiler for Hiden:
material PS_SaeMat/EyeMat
{
   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.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture presets\SaeMoveTex.png
            scroll_anim 1.0 1.0
            tex_address_mode wrap
            filtering trilinear
         }
         texture_unit
         {
            texture presets\SaeEyeTex.png
            colour_op alpha_blend
         }
         texture_unit
         {
            texture presets\SaeEyeTex.png
            colour_op_ex blend_current_alpha src_texture src_current
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}
material PS_SaeMat/BodyMat
{
   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.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         texture_unit
         {
            texture presets\SaeMoveTex.png
            scroll_anim 1.0 1.0
            tex_address_mode wrap
            filtering trilinear
         }
         texture_unit
         {
            texture presets\SaeBodyTex.png
            colour_op alpha_blend
         }
         texture_unit
         {
            texture presets\SaeBodyTex.png
            colour_op_ex blend_current_alpha src_texture src_current
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}
material PS_SaeMat/ManeMat
{
   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.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture presets\SaeManeTex.png
            scroll_anim 0.5 0.5
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}
material PS_SaeMat/TeethMat
{
   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
         emissive 0.000000 0.000000 0.000000 1.000000
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture presets\SaeTeethTex.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}
material PS_SaeMat/HeadMat
{
   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.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         texture_unit
         {
            texture presets\SaeMoveTex.png
            scroll_anim 1.0 1.0
            tex_address_mode wrap
            filtering trilinear
         }
         texture_unit
         {
            texture presets\SaeHeadTex.png
            colour_op alpha_blend
         }
         texture_unit
         {
            texture presets\SaeHeadTex.png
            colour_op_ex blend_current_alpha src_texture src_current
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}
material PS_SaeMat/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.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         texture_unit
         {
            texture presets\SaeMoveTex.png
            scroll_anim 1.0 1.0
            tex_address_mode wrap
            filtering trilinear
         }
         texture_unit
         {
            texture presets\SaeTailTex.png
            colour_op alpha_blend
         }
         texture_unit
         {
            texture presets\SaeTailTex.png
            colour_op_ex blend_current_alpha src_texture src_current
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}
material PS_SaeMat/WingMat
{
   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.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture presets\SaeMoveTex.png
            scroll_anim 1.0 1.0
            tex_address_mode wrap
            filtering trilinear
         }
         texture_unit
         {
            texture presets\SaeWingTex.png
            colour_op alpha_blend
         }
         texture_unit
         {
            texture presets\SaeWingTex.png
            colour_op_ex blend_current_alpha src_texture src_current
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}

^ Code With 'Scroll' (apparently)

And since during testing character showed up as black & yellow, I decided to try a normal code \/

Spoiler for Hiden:
material PS_SaeMat/EyeMat
{
   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
         emissive 0.000000 0.000000 0.000000 1.000000
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture presets\SaeEyeTex.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}
material PS_SaeMat/BodyMat
{
   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.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         cull_hardware none
         cull_software none
                        texture_unit
         {
            texture presets\SaeBodyTex.png
                      tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}
material PS_SaeMat/ManeMat
{
   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.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture presets\SaeManeTex.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}
material PS_SaeMat/TeethMat
{
   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
         emissive 0.000000 0.000000 0.000000 1.000000
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture presets\SaeTeethTex.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}
material PS_SaeMat/HeadMat
{
   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.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         texture_unit
         {
            texture presets\SaeHeadTex.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}
material PS_SaeMat/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.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         texture_unit
         {
            texture presets\SaeTailTex.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}


And next, a quick screenie of the file names.

NOTE! : I understand I got some weird files like Sae1EyeTex and Saee, but those are just second-hand files. Yes, I rename them if I put them up to test. This was originally meant to be a feral-heart preset.





And last but not least, the campaign file.

Spoiler for Hiden:
[Initialize]
World_Load=Forest
Sky_DayTime=1800
Sky_FreezeTime=false
Unit_Create=PLAYER,Unit,Body,Head1,Maneless,Tail1,Wingless,PS_SaeMat,Tuftless

[]
EventCondition=PROGRESS,0

World_DestroyAllPortals
Sky_WeatherCycle=None
Unit_Reset=PLAYER
Unit_SetHP=PLAYER,700
Unit_ClearAttackList=PLAYER
Unit_PushAttackList=PLAYER,Dash
Unit_PushAttackList=PLAYER,Slash
Unit_PushAttackList=PLAYER,Roundhouse
Unit_PushAttackList=PLAYER,Somersault
Player_ResetSkills


FadeIn=3

(Didn't change body parts because I wanted to get it to WORK first ^^)








Anyone have any idea what I did wrong?

=>All 'Tex' files were placed into game>media>materials>textures>presets

=>The script was placed into game>media>materials>scripts>presets

=>The Preset.campaign file was left be in the 'game' folder.(Where it originally was)

=>Anything other than what I mentioned here, I did not touch.




This is not the first time I'm having issues either. I know something's wrong because upon testing other presets (of other players) they worked.

But I cannot place my finger on the issue.


Thanx<3


Offline Jenxie13

  • May 2015 MotM
  • Full Moon
  • **
  • Posts: 441Male
  • Karma: 46
  • corruption is the result of too much power
    • View Profile
Re: Preset Help
« Reply #1 on: December 20, 2015, 05:58:32 PM »
Try getting rid of the .png at the end of the preset's texture names. It may be thinking it's supposed to be looking for a png file named SaeBodyTex.png so it should show up in the material file as SaeBodyTex.png.png which would be why it'd show up as white.

Offline Raszagal

  • Quarter Moon
  • *
  • Posts: 14Female
  • Karma: 3
    • View Profile
Re: Preset Help
« Reply #2 on: December 20, 2015, 06:08:42 PM »
Previously it didn't have .png. I continued getting black & yellow issue so I added it in for some hope. Unfortunately it did no difference.

Any other ideas?


EDIT: Just back from trying removing the .png extension from file names.

Big huge nope. Still black & yellow.
« Last Edit: December 20, 2015, 06:11:49 PM by Raszagal »


Offline Dutchval

  • June & August 2014 MotM
  • Moderator
  • *
  • Posts: 1089Female
  • Karma: 118
  • That girl who is always has too much on her plate
    • View Profile
Re: Preset Help
« Reply #3 on: December 22, 2015, 11:42:37 AM »
Do not bump threads, Raszagal.

Have you tried switching rendering systems? I don't know if this will truly help in any way but My knowledge on presets is limited :/

Avatar done by Sinprince! Signature done by UltimateCreations!

Offline Raszagal

  • Quarter Moon
  • *
  • Posts: 14Female
  • Karma: 3
    • View Profile
Re: Preset Help
« Reply #4 on: December 22, 2015, 01:46:15 PM »
I changed the operating system, and now the character in my preset test is white. The eyes work. Only eye eyes, unless the mane does too (have to mane selected so I am unsure).

I will attempt to try around. At least it's a start. Thanks, Dutch.

EDIT: After changing back to OpenGL, the black and yellow is present rather than the white. Eyes still work. Nothing else does.

EDIT#2: Your knowledge may be limited Dutch. Long story short all coding is correct, all files are in the correct place, but the game for some reason does not read the full script / cannot find the texture files. ^^

EDIT#3: Got a friend to test it. Doesn't work for him Either. :/ Attempt #27 incoming: I'll recode it again. xD

(Made a new post to make this piece of info stand out. Pls dun hurt me. ;-;)

FIXED! May be locked. Thank you! ;D

//EDIT: merged posts.
« Last Edit: December 22, 2015, 04:34:35 PM by Jenxie13 »


Offline Jenxie13

  • May 2015 MotM
  • Full Moon
  • **
  • Posts: 441Male
  • Karma: 46
  • corruption is the result of too much power
    • View Profile
Re: Preset Help
« Reply #5 on: December 22, 2015, 04:33:48 PM »
Alright, solved then.~ I'll lock this and merge the post.