Frictional Games Forum (read-only)

Full Version: Walls not showing in game
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey everyone. I have a very annoying problem. So when I add any new objects/duplicate, they do not appear, even though they appear in the editor window. I have also checked the HTML file that holds all the data for the map, such as entities, decals, lights, all that fun stuff and everything is there. However, when I enter the game, the wall is gone. It's as if it was never added. Now in a new map, it does show, but not the one I'm working on.

If anyone has experienced this issue and knows a quick fix, please let me know.
Be 100% sure it is
1 in your mod, custom story folder and
2 look where the wall is loading from.
also check if the wall works in an other map, just to see if the wall even works.
but you saying it works in another map?
is this a story or full conversion..
is this a custom made wall...
some more info would be apriciated
[attachment=4299][attachment=4299]
(02-05-2014, 03:35 AM)DnALANGE Wrote: [ -> ]Be 100% sure it is
1 in your mod, custom story folder and
2 look where the wall is loading from.
also check if the wall works in an other map, just to see if the wall even works.
but you saying it works in another map?
is this a story or full conversion..
is this a custom made wall...
some more info would be apriciated

The walls do work in map 5, which is the cellar map. However, the static object file does not work in the previous four, which is very annoying. I have taken a screen shot of the wall which appears in the editor, but in game, it is gone. I would put an image of the HTML file, but it's too large. For whatever reason, the HPL Engine and the HTML map file are not fully communicating on this matter.

[attachment=4300]Now here is the image of the HTML map file. Notice the line of code that has the white outline around it. This line is called up to load the wall. Do your best to make sense of it and compare it two the wall in the previous image. Wall 158. Next image will be an in game image.

[attachment=4301]Now here it is in game. Notice that in the level editor image, the wall is in the corrected position, yet in game, it is as if I never changed it.
If you have a .map_cache file in your CS, delete that and try again Smile
Please make sure to post in the correct forum, moved.
(02-05-2014, 06:30 AM)Romulator Wrote: [ -> ]If you have a .map_cache file in your CS, delete that and try again Smile

It was the .map_cache file. Why it was malfunctioning, is unknown, but now it all works. Thanks for the help. Very much appreciated.
The .map_cache file is like a duplicate of your level that the game uses to load the level faster. But once it's generated, it's not dynamically updated with the level, so any changes you do to it will not be in the .map_cache file. Since the game loads the cache file first (if there is one), the changes will not appear.

So remember to delete the cache if you do any changes. Its purpose is to load the game faster.