unable to find mesh, need help

正在查看此主题的用户

hey,

I habe a Problem with my selfmade hammer. If I pick it up ingame ist says: unable to find mesh kriegshammer.

I saved the .brf  and the texture/bump/spec(.dds) files in resource/textures folder of my module.

I put a load_mod_resource = kriegshammer in module.ini and made an entry in module_items.py.

In OpenBrf I used "specular_shader_bump_Instanced" as shader and flagg: 720 for the material. flag for specular map is 4.

I just copied everything form a native weapon and it already worked with another selfmade one. Can someone help?
 
1. try to write load_module_resource instead of load_mod_resource
2. check if the .brf is really named kriegshammer
3. check if the mesh is really named kriegshammer
4. check if you spelled "kriegshammer" right when editing the item

also don't forget that when writing 'load_mod/ule_resource =' you will write the name of the .brf file, not of the mesh

hope it will help
 
Thank you :smile:

I changed the name of the mesh in OpenBrf from 'Kriegshammer' zu 'kriegshammer'. It worked, but something is still wrong with the shader i guess, or the texture, because the hammer is white and grey...
 
KokosnussBuddha 说:
Thank you :smile:

I changed the name of the mesh in OpenBrf from 'Kriegshammer' zu 'kriegshammer'. It worked, but something is still wrong with the shader i guess, or the texture, because the hammer is white and grey...
im not much into shaders, but try to use 'iron_shader'
 
KokosnussBuddha 说:
Still not working... :/


but thank you for the help :smile:
thats the missing texture. Are you sure you added bump, spec and mesh texture and material to the .brf file and attached the textures to material?
 
后退
顶部 底部