Feral Heart
Help & Guidance => Game Help => Topic started by: Bloo. on January 24, 2013, 10:48:11 pm
-
So i downloaded a tent mesh and it looks fine on the outside but when i take the test character inside it doesn't have walls! Like the collision of the walla is there but you can't see them, it's only when you go inside the tent :C Please heelp!
-
Did you download correctly and place the meshes in the right place? Sometimes, misplacing a mesh, can cause a.. mess. .-.
-
Ya i'm pretty sure, I put it into my_objects, everything
-
Ok. Now, I'm not a mesh expert, meaning I don't know the ins and outs of meshes, but I do know a little and I suggest you re-download the mesh. May not work and if it doesn't, contact a fellow friend for help.
-
I know what this is, I had the same problem. It's not due to downloading problems, it's the coding, and it's rather easy to solve:
Go into the .material file using notepad (or something similar, just use the search bar), then find the code AMBIENT (usually followed by 0.7 0.7 0.7 on the same line).
Example:
material (mesh material)
{
technique
{
pass
{
ambient 0.7 0.7 0.7
alpha_rejection greater 128
scene_blend blend
texture_unit
{
texture (mesh texture)
}
}
}
}
After the ambient code, copy and paste THIS code:
cull_hardware none
cull_software none
So, it should look like this:
material (image material)
{
technique
{
pass
{
ambient 0.7 0.7 0.7
cull_hardware none
cull_software none
alpha_rejection greater 128
scene_blend blend
texture_unit
{
texture (mesh texture)
}
}
}
}
The code DOESN'T have to look exactly like this- just SIMILAR.
If you need anymore help or questions, just reply. Hope this helped!
-
I'm going to try explain this as best I can.
All meshes start off invisible from the inside. For example, if I deleted a face off my model, switched to texture mode, I would be able to look "through" the model since the inside has invisible walls.
The inside will always be invisible but "solidifying" will add new faces onto the invisible parts, therefore you can see the texture from the inside but it does cause a bit of lag. You could also add a new layer onto the mesh but that takes longer. This can only be done with the program it was made with, I'll show you an example with a Blender object I made ages ago.
Before
(http://i48BannedImageSite/2hzq1li.png)
After
(http://i50BannedImageSite/8zgvud.png)
You may have to ask the mesh maker to fix it I'm afraid.
-
Ya but someone else had used the same mesh in their map and it worked fine D:
-
They could have edited it themselves? I really don't know how that person has a working tent. Have you tried the coding suggested by Elohi Adanvdo?