Feral Heart
Help & Guidance => Game Help => Topic started by: Vidathelion on August 09, 2018, 12:49:36 am
-
**Editing this because I solved half of the issue myself but I'm having a new issue.
I managed to make the item but the texture isn't showing :c help
-
The game can't find the images listed in the material file. make sure the names of the texture files and the names listed in the .material are the same.
Also make sure your item in item.cfg has it's material name listed correctly. Don't include the file extension name (.material).
-
Sometimes the item texture has to be written in side the mesh itself. Took me a while to perfect that, actually i haven't perfected it, i still don't know what i'm doing, but i make it happen. If you made it in blender i can give a screenshot of what i did to fix that but otherwise... i have no idea.
-
Sometimes the item texture has to be written in side the mesh itself. Took me a while to perfect that, actually i haven't perfected it, i still don't know what i'm doing, but i make it happen. If you made it in blender i can give a screenshot of what i did to fix that but otherwise... i have no idea.
Hi, I didn't make it. I used a mesh from the legendary pack and made a duplicate with my own texture. And I don't have blender or know how to use it.
The game can't find the images listed in the material file. make sure the names of the texture files and the names listed in the .material are the same.
Also make sure your item in item.cfg has it's material name listed correctly. Don't include the file extension name (.material).
Could I copy paste you the material to see if its correct?:c
-
Make sure you put the newly textured item in the items.cfg file within your FeralHeart folder. I will show an example:
Say I wanna make my own antlers, so here is the default antler code.
[Aged Antlers]
mesh=antlers.mesh
material=antlersB
bone=forehead
offset_f=0.1 1.5 0.5
rotation_f=-10 180 0
offset_c=0.1 1.4 0.1
rotation_c=-40 180 0
I will copy and paste that, only editing the material.
Within my items folder, I have the material file, name, and texture to go along with it. If you make your own material file, you can make a .txt document and rename the abbreviation to .material. I would recommend using the same material for the item, only changing the material name and of course the texture name as you see fit.
So, I make a new material file for the antlers. I name it myantler.material. I open the original antler file, copy the material code and paste it into the myantler.material. I change the texture to my own custom texture, name it MyAntlers. Now, I go back to the item.cfg and copy and paste the antler default code.
[Aged Antlers]
mesh=antlers.mesh
material=antlersB
bone=forehead
offset_f=0.1 1.5 0.5
rotation_f=-10 180 0
offset_c=0.1 1.4 0.1
rotation_c=-40 180 0
I change antlersB to MyAntlers, which was the name within the material file. Not myantlers.material, MyAntlers.
Make sure that the textures, materials are all in the items folder. This is essential, since FeralHeart isn't able to find it without editing the directory/reference code. ^_^
-
Make sure you put the newly textured item in the items.cfg file within your FeralHeart folder. I will show an example:
Say I wanna make my own antlers, so here is the default antler code.
[Aged Antlers]
mesh=antlers.mesh
material=antlersB
bone=forehead
offset_f=0.1 1.5 0.5
rotation_f=-10 180 0
offset_c=0.1 1.4 0.1
rotation_c=-40 180 0
I will copy and paste that, only editing the material.
Within my items folder, I have the material file, name, and texture to go along with it. If you make your own material file, you can make a .txt document and rename the abbreviation to .material. I would recommend using the same material for the item, only changing the material name and of course the texture name as you see fit.
So, I make a new material file for the antlers. I name it myantler.material. I open the original antler file, copy the material code and paste it into the myantler.material. I change the texture to my own custom texture, name it MyAntlers. Now, I go back to the item.cfg and copy and paste the antler default code.
[Aged Antlers]
mesh=antlers.mesh
material=antlersB
bone=forehead
offset_f=0.1 1.5 0.5
rotation_f=-10 180 0
offset_c=0.1 1.4 0.1
rotation_c=-40 180 0
I change antlersB to MyAntlers, which was the name within the material file. Not myantlers.material, MyAntlers.
Make sure that the textures, materials are all in the items folder. This is essential, since FeralHeart isn't able to find it without editing the directory/reference code. ^_^
Nothing happened, still white.:(
-
Try placing the item into the ObjectMaker, to see if it turns white. (the mesh)
May I see the material file and the code you used in the items.cfg?
-
Try placing the item into the ObjectMaker, to see if it turns white. (the mesh)
May I see the material file and the code you used in the items.cfg?
It didn't show up when I typed in the mesh name.
https://sta.sh/221sqm1y0pck?edit=1
Here's the files(lmao I know it says shrek, I just named it that for testing sake)
-
What mesh/item are you using exactly? I will be able to locate the material file so I can see what all goes in it! Nevermind, it's the devil's lock mane,
The material file is quite messed up, so I will fix it for you.
-
What mesh/item are you using exactly? I will be able to locate the material file so I can see what all goes in it!
The material file is quite messed up, so I will fix it for you.
Devil's Lock its called
-
Well, I just tested it and it worked fine. I believe it was because you included the number beside the texture? I'm not entirely sure. Here:
Material Code
material AC3D/Shrek/Mat001_Tex00
{
transparency_casts_shadows off
receive_shadows off
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture Shrek.png
texture_unit
}
}
}
}
Item code to put in the items.cfg in the FeralHeart folder.
[Shrek]
mesh=DevilsLockMane.mesh
material=AC3D/Shrek/Mat001_Tex00
bone=forehead
offset_f=0 .7 -.4
rotation_f=0 0 0
offset_c=0 1.7 -1
rotation_c=50 0 0
-
Well, I just tested it and it worked fine. I believe it was because you included the number beside the texture? I'm not entirely sure. Here:
Material Code
material AC3D/Shrek/Mat001_Tex00
{
transparency_casts_shadows off
receive_shadows off
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture Shrek.png
texture_unit
}
}
}
}
Item code to put in the items.cfg in the FeralHeart folder.
[Shrek]
mesh=DevilsLockMane.mesh
material=AC3D/Shrek/Mat001_Tex00
bone=forehead
offset_f=0 .7 -.4
rotation_f=0 0 0
offset_c=0 1.7 -1
rotation_c=50 0 0
AHHhhh holy shetland pony batman!
it worked ahHHH thank you!
I can finally make my perf oc<333!
And I didn't write the code/material, that was how it came. I just tried to replace stuff with "Shrek"
thankyouthankyou<333
-
Ahh, okayy~ I am glad I could help you!