AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Lights Management (https://forums.alliedmods.net/showthread.php?t=123373)

joropito 04-04-2010 23:44

Lights Management
 
1 Attachment(s)
.:= Lights Management =:.

Why this plugin?
I hate those maps with lights switch that, when used, cause lag and screen freeze.
Description
With this plugin you can set permissions over light switch buttons.
Can detect lights entities linked directly with a func_button or though multi_manager entity.
Cvars
lightsmode (default: 3)
0: Allow everyone to switch lights
1: Only CT team
2: Only TT team
3: Nobody can use switch lights
lightsadmin (default: 1)
0: No admin override
1: Admin allow override
lightsother (default: 1)
0: Non-player entities allowed
1: Non-player entities disallowed

Changelog
Code:

v0.2
* Added non-player entities control
* Added admin permission override
* Fixed all buttons affected issue
 
v0.1
* First release


fysiks 04-05-2010 00:05

Re: Lights Management
 
Interesting . . . I've never seen any lag because of lights switching on and off. I guess it could be a client video card issue if the video card is not good.

KadiR 04-05-2010 01:11

Re: Lights Management
 
Quote:

Originally Posted by fysiks (Post 1139715)
I guess it could be a client video card issue if the video card is not good.

Yes, that's right.

ConnorMcLeod 04-05-2010 04:55

Re: Lights Management
 
Admin only/ability could be usefull too.

crazyeffect 04-05-2010 05:03

Re: Lights Management
 
Nice.

And good idea Connor

fR4gn0tiX! 04-05-2010 05:35

Re: Lights Management
 
Quote:

Originally Posted by crazyeffect (Post 1139868)
Nice.I think this needs ML

And good idea Connor


crazyeffect 04-05-2010 06:35

Re: Lights Management
 
The dictionary common.txt can be used with the following line:
Quote:

NO_ACC_COM = You have no access to that command

joropito 04-05-2010 07:23

Re: Lights Management
 
Quote:

Originally Posted by ConnorMcLeod (Post 1139855)
Admin only/ability could be usefull too.

I leave i out to let someone ask for it :P

Quote:

Originally Posted by fR4gn0tiX! (Post 1139883)

I agree :P

Quote:

Originally Posted by crazyeffect (Post 1139931)
The dictionary common.txt can be used with the following line:

You! Always you :P

Arkshine 04-05-2010 07:58

Re: Lights Management
 
Quote:

Originally Posted by joropito (Post 1139975)
I leave i out to let someone ask for it :P
P

I won't use your plugin but I want this feature. :twisted:

joropito 04-05-2010 08:34

Re: Lights Management
 
UPDATED, check first post.

Quote:

Originally Posted by Arkshine (Post 1140014)
I won't use your plugin but I want this feature. :twisted:

Yeah, for me it's just a way to show how anyone can manage relations between entities in map and then play with that.
This is a similar code to the one I sent to wrecked_ to get all cells buttons for jail maps and I like to share it.

Maybe this should go to code/snippets but as it is a working plugin I decided to submit.


All times are GMT -4. The time now is 20:55.

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