AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Custom Sky - Add a cool new sky to dull maps (https://forums.alliedmods.net/showthread.php?t=22192)

Cheap_Suit 12-21-2005 02:26

Custom Sky - Add a cool new sky to dull maps
 
3 Attachment(s)
.: Description :.

You can add a new custom sky for a specific map in your server. Editable through the
custom_sky.cfg file. Note that the sky can only be changed after map changes.


Before | After
Before | After

Special thanks to Xanimos for some help on file and string functions.

.: Cvars :.

sv_customsky <0-2>
0 : plugin off.
1 : change sky based on map (edit custom_sky.cfg). (Default)
2 : change sky based on sv_customskyname cvar.

sv_customskyname "test_" - use if sv_customsky is set to 2.


.: Changelog :.
  • Version 1.0 - initial release
  • Version 1.1 - updated code

Sir Apocalypse 12-21-2005 02:37

Nice job!

diamond-optic 12-21-2005 16:46

ive always done this by editing the entities in the bsp file...

but this is a much easier way for ppl to do it without having to bother uploading a whole bsp file everytime

Lord_Destros 12-26-2005 17:34

is it possible to change the wad's for maps in a similar way?

diamond-optic 12-27-2005 18:08

not too long ago I was looking into switching to a custom wad...

but then I ran into the problem with it being a pretty hefty download.. and I have a linux server that doesnt like sv_downloadurl

Lord_Destros 12-27-2005 22:41

Quote:

Originally Posted by diamond-optic
not too long ago I was looking into switching to a custom wad...

but then I ran into the problem with it being a pretty hefty download.. and I have a linux server that doesnt like sv_downloadurl

that doesn't answer my question........

i could get .wads to precache, just not actually use them.

Nymster 07-07-2006 01:24

Re: Custom Sky - Add a cool new sky to dull maps
 
Man i tried doing this to my server..

I added all 6 of my new .tga's to my gfx/env folder.

Installed the plugin

Added it to my plugins list

added sv_customsky 1 to my server.cfg

I added a Custom_Sky.cfg

Can someone help me out? I cant figure it out :x

v3x 07-07-2006 01:47

Re: Custom Sky - Add a cool new sky to dull maps
 
Quote:

Originally Posted by Nymster
Man i tried doing this to my server..

I added all 6 of my new .tga's to my gfx/env folder.

Installed the plugin

Added it to my plugins list

added sv_customsky 1 to my server.cfg

I added a Custom_Sky.cfg

Can someone help me out? I cant figure it out :x

Assuming that you're using custom .tga's, you need to change the cvar "sv_skyname" to the sky's proper name. You might want to put that in server.cfg, then change the map afterwards.

Example: sv_skyname "desert"

tupacaveli 08-03-2006 13:40

Re: Custom Sky - Add a cool new sky to dull maps
 
can someone post a link that has all the skies in hl-cstrike and czero plz?

Paulster1022 05-26-2007 14:31

Re: Custom Sky - Add a cool new sky to dull maps
 
Im Having a problem here....i have all 6 of my .tga files in cstrike/gfx/env and i did everything it said...even made a Custom_Sky.cfg in config file. I have this custom map...it works only once....when my server starts up...then everytime i change the map...it goes back to its default sky....and the sv_skyname changes to "des" or "doom1" or something else. I want it to stay at sv_skyname "backalley" but it doesnt work. I have it in my server.cfg it doesnt seem to work. It only seems to be working when my server is first start up. I try editing the Custom_Sky.cfg it doesnt seem to be working. I have no idea what to do. Ive had to of done something wrong......


All times are GMT -4. The time now is 19:43.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.