Frictional Games Forum (read-only)
[SOLVED] Need help - HPS/Skybox trouble - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SOLVED] Need help - HPS/Skybox trouble (/thread-21882.html)

Pages: 1 2


RE: Need help - HPS/Skybox trouble - Zokrar - 06-21-2013

Epic! The skybox works! Thank you very much (both of you.)

As for the .hps file not working, I fixed the OnStart part, but it's still not working. Do I have the wrong syntax/wording for the lantern line possibly?

GiveItemFromFile("lantern", "lantern.ent");

Also, why does this map have a _cache file? I don't remember any of my old ones having a cache


RE: Need help - HPS/Skybox trouble - PutraenusAlivius - 06-21-2013

Delete the cache. Also, the parameter GiveItemFromFile actually creates the actual item then destroys it.


RE: Need help - HPS/Skybox trouble - Zokrar - 06-21-2013

I'm not sure I understand what you mean. Should I be using a different command in that case?


RE: [SOLVED] Need help - HPS/Skybox trouble - Ravi - 10-29-2014

Guys,I need some help here!! Issue is the same,that skybox is not showing as the way I have made it and is completely white on the level editor.
I have been trying to make my custom story with my own custom skybox.
I have followed several posts on the net and with tiring efforts was able to make the dds file.
However,on the test run of the custom skybox(star lit sky,black in colour),
it loaded partially on my level editor(showing half black and half white).

Now after few attempts and tweaks it's now completly white.
I have done the following tweaks:

1. updated .hps file of my map and added the following lines.
SetSkyBoxTexture("skybox24.dds");
SetSkyBoxActive(true);

2. deleted the map cache file.

3. added the following in resources.cfg file;
<Directory Path="/custom_stories" AddSubDirs="true" />

4. placed my sky box file in "custom_stories\story folder\textures"

I don't know where i'm going wrong.
Help will be much appreciated.


RE: [SOLVED] Need help - HPS/Skybox trouble - Romulator - 10-29-2014

SetSkyBoxTexture is really just for altering the skybox during the game. Are you able to load up your Skybox by simply using the Level Editor's feature? It can be found in the Level Settings section from one of the drop down panes, where you can browse for your Skybox and apply it through the Level Editor.