AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Custom Flashlight v0.5.4 (10/20/09) (https://forums.alliedmods.net/showthread.php?t=72143)

ConnorMcLeod 11-27-2012 12:17

Re: Custom Flashlight v0.5.4 (10/20/09)
 
This plugin doesn't support ZP, ZP has his own flashlight system.

talibana 03-29-2014 06:09

Re: Custom Flashlight v0.5.4 (10/20/09)
 
how change to work only for admin with custom flags ?

Evgeniy 04-18-2014 10:20

Re: Custom Flashlight v0.5.4 (10/20/09)
 
2 Attachment(s)
I like it very much! :)
I made some changes, just for fun, added second light, it will appear in players position just to light up his model.
There's some new commands u can use (with flashlight_set):

sl_enable 1 - second light switch
sl_radius 10 - don't make it too big coz it's a PVS message
sl_offset 40 - offset to direction player look in
sl_decay 10 - supposed to smooth corners of the light
sl_colshift 0 - bitwise shit for color, just to make it darker

maxradius 16 - radius of the first light at max distance (now it depends of the distance)
timerate 0.02 - just a timeout thing for performance, set it to 0 to turn it off
life 1 - was a #define, mb you'll want to change it since there's a timerate variable

Uncomment //#define ZOMBIE_PLAGUE if you want it to work with zp mod

rockz27 03-20-2017 10:09

Re: Custom Flashlight v0.5.4 (10/20/09)
 
Hello peepz,

I'm really confused where to add the CVARs' mentioned in the first post.. plugin seems to be working for me, but i can't access any of the CVARs' in-game and hence I can't mess around with the plugin settings.. I added these CVARs' to the amxx.cfg located in amxmodx\configs folder, but I don't seem to understand how it can be executed.. I know i'm doing something wrong here, but any help would be great !

edit: I do get 'flashlight_set' in console, but parameters after that don't appear.. should not the whole CVAR appear in console along with the default value, when I type in the first few characters of the CVAR ?


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

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