Is it possible to have multiple (more than two) skies in a map?
I know that two skies can be defined in map info and the second sky can be selected with a sector special, but that only works for two skies.
I also know of the skybox picker, but it seems like it is only used along with the sky viewer, which still doesn't give me the option of using other sky textures as a sky.
Multiple Skies
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- Salad Viking
- Posts: 752
- Joined: Tue Apr 20, 2010 8:58 pm
- Location: In high orbit
Re: Multiple Skies
[wiki]ChangeSky[/wiki]. That is pretty much your only option IIRC.
-
- Posts: 25
- Joined: Mon Apr 07, 2008 4:24 pm
Re: Multiple Skies
I think the answer is probably no, but can a script be activated so that only the player who activated it can see the changed sky? That way when a player triggers the script another player wont see a sky change for no reason.
Edit: Of course this is assuming use in a multiplayer game.
Edit: Of course this is assuming use in a multiplayer game.
- Apothem
- Posts: 2070
- Joined: Sat Nov 29, 2003 7:13 pm
- Location: Performing open heart surgery on an ACS compiler.
Re: Multiple Skies
Use the CLIENTSIDE script flag. For cosmetic stuff like that you want to use that skulltag feature. Clientside scripts are meant for specifically that. Just be careful because they don't play nice with things that change anything ingame status wise (ie HP, armor, sector height changes).Red Phazon wrote:I think the answer is probably no, but can a script be activated so that only the player who activated it can see the changed sky? That way when a player triggers the script another player wont see a sky change for no reason.
Edit: Of course this is assuming use in a multiplayer game.
I'm posting this kinda half awake so I dunno how good of an explanation I'm giving. If it still doesn't make sense I'll explain more.
Oh and also I doubt you're trying to make this for zdoom because of its non-existent netcode, so you might want to take this over to the skulltag forums. They will probably be able to help you more directly with it.
- Kappes Buur
-
- Posts: 4166
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: Multiple Skies
I would think thatRed Phazon wrote:Is it possible to have multiple (more than two) skies in a map?
I know that two skies can be defined in map info and the second sky can be selected with a sector special, but that only works for two skies.
I also know of the skybox picker, but it seems like it is only used along with the sky viewer, which still doesn't give me the option of using other sky textures as a sky.
9080 Skybox Viewpoint and
9081 Skybox Picker
are the ideal candidates to accomplish what you want.
Essentially, you could have as many different skies as there are available tags.
Of course, the skies themselves are only as good as the textures/flats you use.
-
- Posts: 25
- Joined: Mon Apr 07, 2008 4:24 pm
Re: Multiple Skies
How would you use the skybox viewer/picker to display just a normal texture sky stretched all around though?Kappes Buur wrote: I would think that
9080 Skybox Viewpoint and
9081 Skybox Picker
are the ideal candidates to accomplish what you want.
Essentially, you could have as many different skies as there are available tags.
Of course, the skies themselves are only as good as the textures/flats you use.
Re: Multiple Skies
[wiki]Static_Init[/wiki] might help. Look at property 255.
Also, go to the following link and look for the file "How to use line type 190 in Zdoom". Load it and walk through to the final area.
http://members.multimania.co.uk/enjay001/
Also, go to the following link and look for the file "How to use line type 190 in Zdoom". Load it and walk through to the final area.
http://members.multimania.co.uk/enjay001/
- Salad Viking
- Posts: 752
- Joined: Tue Apr 20, 2010 8:58 pm
- Location: In high orbit
Re: Multiple Skies
Doesn't that exactly solve what the problem is here?Enjay wrote:[wiki]Static_Init[/wiki] might help. Look at property 255.
Other than that, you could use a typical skybox or a modern cubic sky.
-
- Posts: 25
- Joined: Mon Apr 07, 2008 4:24 pm
Re: Multiple Skies
Aha! Thank you Enjay, this was almost exactly what I had in mind and it exactly solves the problem! It took a little effort to iron out the problems, but now I can view many texture skies and sky boxes at the same time.
Also thanks to everyone who offered solutions. I still learned some useful things.
Also thanks to everyone who offered solutions. I still learned some useful things.