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)
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 \/
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.
(http://www.fotos-hochladen.net/uploads/capturep9gyvjrn82.png)
And last but not least, the campaign file.
[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
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.
Alright, solved then.~ I'll lock this and merge the post.