Feral Heart
Help & Guidance => Game Help => Topic started by: Newscapepro1 on April 05, 2020, 03:06:46 am
-
so basically, i wanted to try my hand at creating an item for a character. i made the mesh, the texture, and it's coded in the material file and the items.cfg. however, when i try to add the item onto the character in the preset maker, the item does not show up at all.
https://imgur.com/a/sqRIxnD (https://imgur.com/a/sqRIxnD)
i have tried to get it to work, but usually my attempts just repeat the problem or cause the game to crash. if anyone could help, i'd appreciate it.
-
Hello!
Do ya mind posting your code real quick? Sometimes it is quite finicky.
-
https://imgur.com/a/tgngkAJ (https://imgur.com/a/tgngkAJ)
here's what it looks like in the material and items.cfg
-
Alrighty. The coding looks pretty good (I am not a coder, but looking at the other items it matches pretty nicely.) You did say that it would sometimes crash. When you crash, a new file named FHlog, or something similar, is created. Reading that may help you figure out what is wrong, but it really could be just one number off or something small like that.
-
right now, it just shows up invisible when i put the item on, so i've fixed the crashing problem (for now). i'm not sure if it has more to do with the coding or where the item files are located. right now i have all of the files for the item in a folder in the items folder. when it was crashing i had them out of the folder and just in items.
now, i looked at the fhlog you mentioned and it says "Cannot find item mesh JoxterHat.mesh" but i have the mesh under that name, as a mesh file, in the items folder, as i said above.
-
Hm. This is a rare issue, but it has happened before. Go to the main FeralHeart folder(C:\FeralHeart) and look for "Resources.cfg", and open it with notepad. On the very bottom of the config it should say:
[Items]
FileSystem=media/items
I'd make sure that is all in place. This may seem like a "stupid question," but the item is in the item.cfg with the files being in the items folder?
-
the resources.cfg does have that in it. i do have the item in the items.cfg and the .cfg is in the main fh folder, where the item files are in their own folder that's inside the items folder. sorry if the answer is a bit wonky, im a bit tired at the moment, but im determined to get this to work.
-
Completely understandable. I'd recommend moving the files out of the separate folder and put it in with everything else. It may be having an issue with not really "knowing" to reach into that folder to open it.
-
okay, i took out the folder and put the item files into the actual items folder. when i tried to put on the hat, fh crashed again.
i didn't think making an item would give me this many problems ;-;
-
Did you happen to take a look at the log file with that crash? And I'm sorry that you're having problems with it. Coding/item making can be really tough with a lot of trial and error. :/
-
it says the same tihng as last time, the "cannot find joxterhat.mesh"... oof