How to change skyboxes


(bold) #1

Hey guys,

Im having this problem for a long time now and got redirected to this forum, and although I kept searching the site (youtube.com as well) for hours already I couldnt find a tutorial on how to change the skyboxes in ET… I have downloaded this .pk3 (dreamland_skybox.pk3) from http://www.magics-territory.com/files/wet/skyboxes/skyboxes.html, and as I have absolutely no clue about shaders/scripts and all that stuff, I want to ask if someone knows a good tutorial (prefered video tutorial), or could make one… I, and surely alot of other ppl as well, would really appreciate that :slight_smile:

Greetings, bold!


(eiM) #2

all you can do is change the texture of the skybox of a map, but it will not effect the light in the map or anything

for that you just need to create a custom pk3 including the shaderfile that defines the skybox you want to exchange. In there change the texturepaths to the new ones you want (also put these in the pk3) and you are ready to go


(bold) #3

and thats the problem… I didnt understand anything :frowning: cant you do a tutorial of it instead of throwing weird words on me? :stuck_out_tongue: I’d really appreciate that since I dont understand a single word :confused:


(eiM) #4

this is as much of a tutorial as you need. Anything else would be a step-by-step-guide. If you take a few minutes of google and general understanding of the words used in my comment it should be no problem for you.


(bold) #5

yea I think a step-by-step guide would be even better :smiley: I dont even know how to create a .pk3 file, thats the bad thing :frowning:


(stealth6) #6

I don’t understand what you are trying to do, are you trying to:

  • Make your own skybox?
  • Add a skybox to your map?
  • Add a custom skybox to your map?

(Destroy666) #7

Read these tutorials first. All basics are there.
http://www.pythononline.co.uk/et/tutorial.htm


(Kic) #8

Bold I understound you.
First if skybox is with shader , extract skybox texture to proper folder, also extract shader ( look into shader where texture of skybox must be located - folder ) to script folder and add name of shader into shaderlist.txt - this make skybox work . I f you make this right then you will see your skybox texture in radiant , in texture window with white line ( sorry my English cant use more specifics words )

And her 2-BIT talking about skyboxes http://www.pythononline.co.uk/et/tutorial25.htm


(Berzerkr) #9

>> Here << is a small example of how to change skyboxes.

Keep in mind that you can’t add skyboxes if the map contains fog, like Seawall Battery or Railgun.

OK, it’s only a small but working pk3 wich shows you how to do it.

Yo need a skybox, an shader for the skybox and you have to add a few lines into the mapscript (don’t change the existing pk3 of the map, create a new one for the mod).

You have to add “remapshader” and “remapshaderflush” into the mapscript:

game_manager
{
	spawn
	{
		remapshader "textures/fueldump/fueldumpsky"	"textures/arabian_nights_temple/arabian_nights_temple_sky"
		remapshaderflush
		// Game rules

Sun or moon can be changed in the same wiay with remapshaders, you need only a transparent TGA with fitting shader to remove them from the sky.


(bold) #10

@stealth6: Im want to put a downloaded skybox into supply for a movie Im doing at the moment :slight_smile:

oh and by the way, Im not using radiant at all :<


(bold) #11

hmm… it somehow isnt working :confused:

I did it like this:

I downloaded the skybox-change-example.zip and extracted it into the etmain folder of my Image-et, then I added the quote above to the supply.script which was also in the etmain folder. What did I do wrong?


(Berzerkr) #12

You have only to add the two lines of the remapshader into the script, in the place where it’s shown in the quote.

remapshader “shader-of-supply-skybox” “shader-of-new-skybox”
remapshaderflush


(bold) #13

whats the name of the shader of supply skybox? and if I added the skybox-change example, must it be like this:

remapshader “textures/supply/supplysky” “textures/arabian_nights_temple/arabian_nights_temple_sky”
remapshaderflush

not sure about taht supplysky :confused:


(stealth6) #14

remapshader "textures/skies_sd/sd_siwasky"	"textures/arabian_nights_temple/arabian_nights_temple_sky"

that’s the sky supply uses


(bold) #15

k I added this line now to the supply.script, but it didnt change :confused:

what did I do wrong/leave out?


(Berzerkr) #16

You forgot the second line:
remapshaderflush

If you don’t forgot this, zip the script and attach it here.


(macbeth) #17

here u have a link
with some skybox i made for
venice
temple and saberpeak

http://dl.free.fr/ncW3qzfcI

if this link does not work i will upload somewhere else

here also

http://rapidshare.com/files/454115595/skybox.zip


(bold) #18

http://www.speedyshare.com/files/27579329/script.rar

thats the script…
I added the remapshaderflush to it and inserted the _skybox-change-example.pk3 to the etmain folder…


(Berzerkr) #19

Can’t see anything wrong in the mapscript you edited. :rolleyes:
I packed it into a pk3, check out if it works now. Supply don’t works on etmain.


(bold) #20

What do you mean with Supply don’t works on etmain?

edit: I extracted and copied the file into etmain folder but nothing happens :confused: