So I have a bit of a problem. All of a sudden my static objects won't show up in their designated position, they don't even show up at all. From the look of it, only SO are affected because entities are visible. Does anyone know what the problem is? Is it occluders perhaps?
How it looks In-Game:
Spoiler below!
How it looks in MapView/LevelEditor:
Spoiler below!
"What you think is irrelevant" - A character of our time
Could be a difference in the main folder's resources.cfg compared to your mod's resources.cfg. Your mod uses yours (obviously), but the editors I believe always use the main one.
You can also check the hpl.log for errors of why it didn't load.
Didn't want to make a new thread for this question.
How do globals work in SOMA? I have this script where I need to keep track of how many entities (c_part_xx) there are in the area. But I have no idea what the code is for increasing a global's value.
It's not really an looking-for-error-mistake. It's more of an I-don't-know-the-right-code. The cScript_SetGlobalVarInt works and the cScript_GetGlobalVarInt, but not the cScript_AddGlobalVarInt (presumably because it doesn't exist)
Then you can use the code you originally had by just including this function somewhere in your file (or a global.hps if there is one). I haven't tested any of this in SOMA so it might be preferrably done differently.