AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How can i change the sky? (https://forums.alliedmods.net/showthread.php?t=223442)

proffs 08-13-2013 15:12

How can i change the sky?
 
How can i change the sky with a simple command?

Or is it possible to just type:

set_user_sky (id, 20) or something?

I want dark sky thanks.

YamiKaitou 08-13-2013 15:15

Re: How can i change the sky?
 
SEARCH!!

Balck 08-13-2013 15:31

Re: How can i change the sky?
 
Quote:

Originally Posted by proffs (Post 2012347)
How can i change the sky with a simple command?

Or is it possible to just type:

set_user_sky (id, 20) or something?

I want dark sky thanks.

type sv_skyname night in amxx.cfg and restart the server

proffs 08-13-2013 15:43

Re: How can i change the sky?
 
Quote:

Originally Posted by Balck (Post 2012358)
type sv_skyname night in amxx.cfg and restart the server

Is it possible to do this?

PHP Code:

server_cmd"sv_skyname night" 


Black Rose 08-13-2013 15:54

Re: How can i change the sky?
 
Quote:

Originally Posted by proffs (Post 2012372)
Is it possible to do this?

PHP Code:

server_cmd"sv_skyname night" 


Yes.

proffs 08-13-2013 15:55

Re: How can i change the sky?
 
Quote:

Originally Posted by Balck (Post 2012358)
type sv_skyname night in amxx.cfg and restart the server

Quote:

Originally Posted by Black Rose (Post 2012381)
Yes.

Thanks, and what is the default sky name so i can reset it?

ANTICHRISTUS 08-13-2013 16:09

Re: How can i change the sky?
 
you want to make this: [REQ] Simple Night Plugin ?
Quote:

Originally Posted by proffs (Post 2012382)
Thanks, and what is the default sky name so i can reset it?

every map has its own default one.

proffs 08-13-2013 16:22

Re: How can i change the sky?
 
Quote:

Originally Posted by ANTICHRISTUS (Post 2012394)
you want to make this: [REQ] Simple Night Plugin ?

every map has its own default one.

Hmm, wait this sky command.
Doesn't it turn off all light if it's set to night?
Or only the sky color is changed?
Because i want it to get dark.

And I don't get it.
How can i restore the sky after i changed?

~Ice*shOt 08-13-2013 16:43

Re: How can i change the sky?
 
You want dark map? then - set_lights("b") // dark levels from a - darkest, b - dark, c - lighter and etc.

ANTICHRISTUS 08-13-2013 17:30

Re: How can i change the sky?
 
Quote:

Originally Posted by proffs (Post 2012406)
Doesn't it turn off all light if it's set to night?

read to understand.
Quote:

Or only the sky color is changed?
the sky appearance.
Quote:

Because i want it to get dark.
read my post in that thread, again.
Quote:

How can i restore the sky after i changed?
if you want it working for only some maps, you can make specific maps config files, search in the amxmodx wiki.
or search for existing plugins, some of them have this feature like zp.


All times are GMT -4. The time now is 15:59.

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