Feral Heart
Off topic => Discussion Board => Topic started by: Birdi on December 10, 2013, 03:49:30 am
-
(didn't know where to put this)
I have made my preset and done exactly as I did before when I made my first preset (that turned out completely fine) but this preset doesn't seem to want to work. I'll give you the codes if you can help. This preset is for the newly released game Shadow of Mine.
All the png files are in media>materials>textures
The Character.material is in media>materials and Scripts because I wasn't sure
the Preset.campaign file is in the main folder
Character.material
material FelixMat/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
{
specular 0.5 0.5 0.5 1
texture_unit
{
texture metalTex.png
env_map spherical
}
}
pass
{
texture_unit
{
texture FelixEyeTex.png
}
}
}
}
material FelixMat/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
{
specular 0.5 0.5 0.5 1
texture_unit
{
texture metalTex.png
env_map spherical
}
}
pass
{
texture_unit
{
texture FelixBodyTex.png
}
}
}
}
material FelixMat/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
{
specular 0.5 0.5 0.5 1
texture_unit
{
texture metalTex.png
env_map spherical
}
}
pass
{
texture_unit
{
texture FelixManeTex.png
}
}
}
}
material FelixMat/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 teeth.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
material FelixMat/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
{
specular 0.5 0.5 0.5 1
texture_unit
{
texture metalTex.png
env_map spherical
}
}
pass
{
texture_unit
{
texture FelixHeadTex.png
}
}
}
}
material FelixMat/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 FelixTailTex.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
material FelixMat/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
texture_unit
{
texture FelixWingTex.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
Preset.campaign file
[Initialize]
World_Load=Forest
Sky_DayTime=1800
Sky_FreezeTime=false
Unit_Create=PLAYER,Felix,Body,Head2,Mane9,Tail2,Wings3,FelixMat,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
-
*bump*? (Is it too early to post this? ewheughwe oops
-
It might've been better if you posted on their forum instead UNLESS there's something wrong with it... but, I can probably try and help ya anyway. What's the difference between your first preset's code and this code besides "felix" that you can point out possibly? The codes seem a bit weird in a way about how separate the coding stuff is, but...
Anyway, also, did you name the .material FelixMat.material? Hope I can help you a bit. Still, it is best to post it on their forums and not here since this is for another game. Though, I understand if there's something wrong with their forum.
-
I did, but no one really seemed to know and I thought it was easier to get an answer if I asked lots of people, idk.. anyway, the Felix is in place of "CharacterMat" and.. it's a very long process to get a preset.. I'm not really sure how to explain it..
-
Alright, so did you try putting Mat after Felix in the title of the material, then? (FelixMat.material) I'm kind of confused...
-
The campaign file is correct but it may be your actual preset coding that may be the problem. Have you tried with a different preset code?
-
No, I'll check thank you