Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Need help - HPS/Skybox trouble
Zokrar Offline
Member

Posts: 85
Threads: 16
Joined: May 2013
Reputation: 0
#11
RE: Need help - HPS/Skybox trouble

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

(This post was last modified: 06-21-2013, 03:59 AM by Zokrar.)
06-21-2013, 03:57 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#12
RE: Need help - HPS/Skybox trouble

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

"Veni, vidi, vici."
"I came, I saw, I conquered."
06-21-2013, 04:06 AM
Find
Zokrar Offline
Member

Posts: 85
Threads: 16
Joined: May 2013
Reputation: 0
#13
RE: Need help - HPS/Skybox trouble

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

06-21-2013, 02:19 PM
Find
Ravi Offline
Junior Member

Posts: 2
Threads: 0
Joined: Oct 2014
Reputation: 0
#14
RE: [SOLVED] Need help - HPS/Skybox trouble

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.
10-29-2014, 09:21 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#15
RE: [SOLVED] Need help - HPS/Skybox trouble

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.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
10-29-2014, 09:55 PM
Find




Users browsing this thread: 3 Guest(s)