Raised This Month: $32 Target: $400
 8% 

Custom Sky - Add a cool new sky to dull maps


Post New Thread Reply   
 
Thread Tools Display Modes
sLASKHINK
New Member
Join Date: Oct 2010
Old 10-29-2010 , 10:10   Re: Custom Sky - Add a cool new sky to dull maps
Reply With Quote #41

Ok now I just made them blue just to see if it works. and now I get an error when I'm trying to connect : Texture_LoadTGA: Only 32 or 24 bit images supported (no colormaps). I using Photoshop cs5. And saved as 32bit.

Last edited by sLASKHINK; 10-29-2010 at 10:18.
sLASKHINK is offline
Antixianos
BANNED
Join Date: Oct 2010
Old 03-24-2011 , 04:13   Re: Custom Sky - Add a cool new sky to dull maps
Reply With Quote #42

I need a few pointers here. I got this plugin to work by doing:

amxx.cfg:
sv_customsky 1
sv_customskyname "space"

server.cfg:
sv_skyname "space"

custom_sky.cfg:
de_dust2 "space"

I want the sky on ALL of my maps. So I did "sv_customsky 2" but it won't work. Any idea?
Antixianos is offline
Old 09-20-2011, 08:12
salethisweek
This message has been deleted by xPaw. Reason: Spam.
CoQuito
Senior Member
Join Date: Jul 2011
Location: Hempstead, New York
Old 10-09-2011 , 20:48   Re: Custom Sky - Add a cool new sky to dull maps
Reply With Quote #43

This Serve with CS Source??
__________________
CoQuito is offline
Send a message via MSN to CoQuito Send a message via Skype™ to CoQuito
cHeesY.
Member
Join Date: Nov 2013
Old 02-01-2014 , 14:10   Re: Custom Sky - Add a cool new sky to dull maps
Reply With Quote #44

will tell me where to send the file. tga and exactly as we mark amxx.cfg, server.cfg and we customsky.amxx ? plss
__________________
cHeesY. is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 02-02-2014 , 07:28   Re: Custom Sky - Add a cool new sky to dull maps
Reply With Quote #45

Quote:
Originally Posted by cHeesY. View Post
will tell me where to send the file. tga
put the env folder into the gfx one (server side).

Quote:
and exactly as we mark amxx.cfg, server.cfg and we customsky.amxx ?
  • can't understand
  • just install it as any other basic plugin, in plugins.ini
  • its related .cfg file must be in the configs folder.
__________________
ANTICHRISTUS is offline
Syturio
BANNED
Join Date: Jul 2014
Location: Under your bed.
Old 07-21-2014 , 22:19   Re: Custom Sky - Add a cool new sky to dull maps
Reply With Quote #46

it doesnt not work for custom skys.
Syturio is offline
Old 06-29-2022, 15:36
arC`
This message has been deleted by arC`.
Siska1
Senior Member
Join Date: Feb 2020
Location: BedRock
Old 09-22-2023 , 07:20   Re: Custom Sky - Add a cool new sky to dull maps
Reply With Quote #47

I tried it too, but alas, it doesn't work...
__________________
Siska1 is offline
Send a message via Skype™ to Siska1
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 09-22-2023 , 12:03   Re: Custom Sky - Add a cool new sky to dull maps
Reply With Quote #48

The plugin is not needed at all to control sv_skyname in configs/maps.
DJEarthQuake is offline
Siska1
Senior Member
Join Date: Feb 2020
Location: BedRock
Old 09-22-2023 , 18:40   Re: Custom Sky - Add a cool new sky to dull maps
Reply With Quote #49

Quote:
Originally Posted by DJEarthQuake View Post
The plugin is not needed at all to control sv_skyname in configs/maps.
The problem is very big. Only this doesn't work if I want to replace with new files. However, the problem is that it doesn't work when I want to change the sky defaults and have it work for all players. But I found a plugin that does it and everyone sees the same sky. Do you understand me ?
__________________
Siska1 is offline
Send a message via Skype™ to Siska1
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 09-23-2023 , 08:10   Re: Custom Sky - Add a cool new sky to dull maps
Reply With Quote #50

@Siska1 your sky is not supported somehow, this stock collects by default all existing names, this way we avoid repetitions, you can call it in "plugin_int" or in "plugin_precache"

PHP Code:
stock set_skyName()
{
    new const 
szSkyNames[][] =
    {
        
//valve
        
"2desert",
        
"alien1""alien2""alien3",
        
"cliff",
        
"desert",
        
"dusk",
        
"morning",
        
"neb1""neb6""neb7",
        
"night",
        
"space",
        
"xen8""xen9""xen10",
        
        
//cstrkie
        
"backalley",
        
"badlands",
        
"blue",
        
"city",
        
"cx",
        
"de_storm",
        
"Des",
        
"doom1",
        
"DrkG",
        
"forest",
        
"green",
        
"grnplsnt",
        
"hav",
        
"morningdew",    //maxsize = 10->getSky=11
        
"office",
        
"snow",
        
"tornsky",
        
"TrainYard",
        
"tsccity_"
    
}
        
    new 
num random_num(0charsmax(szSkyNames))
    
    new 
getSky[11]; get_cvar_string("sv_skyname"getSkycharsmax(getSky))
    
    if(
equal(getSkyszSkyNames[num]))
    {
        
set_skyName()
        
        return

    }
    
    
set_cvar_string("sv_skyname"szSkyNames[num])

__________________
mlibre is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:42.


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