Zokrar
Member
Posts: 85
Threads: 16
Joined: May 2013
Reputation:
0
|
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 |
|
PutraenusAlivius
Posting Freak
Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation:
119
|
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 |
|
Zokrar
Member
Posts: 85
Threads: 16
Joined: May 2013
Reputation:
0
|
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 |
|
Ravi
Junior Member
Posts: 2
Threads: 0
Joined: Oct 2014
Reputation:
0
|
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 |
|
Romulator
Not Tech Support ;-)
Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation:
195
|
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
|
|
10-29-2014, 09:55 PM |
|