Feral Heart
Help & Guidance => Game Help => Topic started by: Prideland on March 10, 2013, 05:59:23 pm
-
Hello, i was trying to make a preset, (this one with 2 different sides not the same sides) And when i tried to change the coding in the material file, i accidently saved it as a .txt file, and it changed all the others into a notepad file =/ What should i do now? Anyway i can save it back to a material file?
-
It changed all the others to a text file? That doesn't sound right.
Are you sure it didn't just change the icon?
If you opened a material file using "choose default program" and chose notepad, it just makes it have a notepad icon from then on. Like this;
(http://oi46BannedImageSite/63zus5.jpg)
But it should still be a material file.
If not, then just open the file, and then choose Save as...
and click All Files from the dropdown,
and type .material after the name.
-
I cant exactly remember now, i will check when my laptop is less laggy, but i do not remember being a ,material option in the drop down list
-
(http://i45BannedImageSite/8x7hpf.png)
It still is a meterial file (whoops) but it still is not working? I mean, all i see is a marshmellow, again =/ I only did the head to see if it was working.
-
(http://i45BannedImageSite/8x7hpf.png)
It still is a meterial file (whoops) but it still is not working? I mean, all i see is a marshmellow, again =/ I only did the head to see if it was working.
Please avoid double posting and use the Modify button c:
It's most likely because your image names do not match with the names in the .material file. You will have to open it up, scroll down until you see this:
material preset_5_headMatL
{
technique
{
pass
{
texture_unit
{
texture preset_5head.jpg
}
}
}
}
material preset_5_headMatR
{
technique
{
pass
{
texture_unit
{
texture preset_5head.jpg
}
}
}
}
The text in purple is the left side of the preset. Where it says preset_5.jpg change to it to the image name (presetleft_5head) Make sure you include the format, if your image is a .png you should change it to a .jpg like in the .material file.
The text in red is the right side of your preset. Change the preset_5head on the second code to the name of your image, presetright_5head. When you're done, click File then Save to save it ;)
Hope that makes sense :)
-
Ah, alright, i saved the images as .png, thank you, you seem really good at presets, this is the secound time you helped me :P (With my first preset when i done a typo in the name)
If this does not work i'll modify this post.
(It worked, thank you again ^^;;)
-
Ah, alright, i saved the images as .png, thank you, you seem really good at presets, this is the secound time you helped me :P (With my first preset when i done a typo in the name)
If this does not work i'll modify this post.
(It worked, thank you again ^^;;)
You're welcome, Rizzz :) I'm glad you've got it working now, happy preset making ^^