Raised This Month: $51 Target: $400
 12% 

[L4D & L4D2] Flashlight (2.32) [21-Apr-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
foxhound27
AlliedModders Donor
Join Date: Sep 2019
Location: Argentina
Old 12-08-2019 , 20:10   Re: [L4D & L4D2] Flashlight (2.6.1) [18-Jun-2018]
Reply With Quote #61

stock only crash on mall for me but i fixed by changing the model to "materials/sprites/laser.vmt" which can be any invisible mdl but i choose this only to test and works good seems issue is flashlight there
foxhound27 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-11-2019 , 06:46   Re: [L4D & L4D2] Flashlight (2.6.1) [18-Jun-2018]
Reply With Quote #62

Quote:
Originally Posted by foxhound27 View Post
stock only crash on mall for me but i fixed by changing the model to "materials/sprites/laser.vmt" which can be any invisible mdl but i choose this only to test and works good seems issue is flashlight there
I'll add an option to prevent the model from spawning in a future update. Maybe menu too.
__________________
Silvers is offline
foxhound27
AlliedModders Donor
Join Date: Sep 2019
Location: Argentina
Old 12-12-2019 , 10:05   Re: [L4D & L4D2] Flashlight (2.6.1) [18-Jun-2018]
Reply With Quote #63

Quote:
Originally Posted by Silvers View Post
I'll add an option to prevent the model from spawning in a future update. Maybe menu too.
thatd be nice i love your plugin i use it for my vip system via ServerCommand, anyway thank you
foxhound27 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-18-2019 , 21:04   Re: [L4D & L4D2] Flashlight (2.7) [19-Dec-2019]
Reply With Quote #64

Quote:
2.7 (19-Dec-2019)
- Added command "sm_lightmenu" to display a menu and select light color. No translations support.
- Added cvar "l4d_flashlight_precach" to prevent displaying the model on specific maps. Or "0" for all.
- Added to "sm_light" and "sm_lightclient" additional colors by name: "cyan" "pink" "lime" "maroon" "teal" "grey".
Done above requests.
__________________
Silvers is offline
Kai0205
Member
Join Date: Sep 2017
Old 12-23-2019 , 17:59   Re: [L4D & L4D2] Flashlight (2.7) [19-Dec-2019]
Reply With Quote #65

I get an error when compiling with SourceMod 1.10 Builds 6459

Code:
//// l4d_flashlight.sp
//
// D:\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_flashlight.sp(287) : error 017: undefined symbol "CPrintToChat"
// D:\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_flashlight.sp(542) : error 017: undefined symbol "CPrintToChat"
// D:\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_flashlight.sp(607) : error 017: undefined symbol "CPrintToChat"
// D:\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_flashlight.sp(686) : error 017: undefined symbol "CPrintToChat"
// D:\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_flashlight.sp(694) : error 017: undefined symbol "CPrintToChat"
// D:\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_flashlight.sp(702) : error 017: undefined symbol "CPrintToChat"
// D:\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_flashlight.sp(712) : error 017: undefined symbol "CPrintToChat"
// D:\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_flashlight.sp(722) : error 017: undefined symbol "CPrintToChat"
// D:\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_flashlight.sp(730) : error 017: undefined symbol "CPrintToChat"
//
// 9 Errors.
//
// Compilation Time: 0,23 sec
// ----------------------------------------
Kai0205 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-23-2019 , 19:20   Re: [L4D & L4D2] Flashlight (2.7) [19-Dec-2019]
Reply With Quote #66

Quote:
Originally Posted by Kai0205 View Post
I get an error when compiling with SourceMod 1.10 Builds 6459
Please read.

Quote:
Originally Posted by Silvers View Post
Compiling:
  1. Put the colors.inc include into your \addons\sourcemod\scripting\include\ folder.
  2. Put the plugins .sp file into your scripting folder and compile the plugin.
__________________
Silvers is offline
K4d4br4
Junior Member
Join Date: Dec 2017
Old 01-07-2020 , 00:22   Re: [L4D & L4D2] Flashlight (2.7) [19-Dec-2019]
Reply With Quote #67

Hello with this new version I can not put colors using the simple command
!light purple
K4d4br4 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-07-2020 , 00:59   Re: [L4D & L4D2] Flashlight (2.7) [19-Dec-2019]
Reply With Quote #68

It's now case sensitive, is that the problem?
__________________
Silvers is offline
K4d4br4
Junior Member
Join Date: Dec 2017
Old 01-07-2020 , 12:44   Re: [L4D & L4D2] Flashlight (2.7) [19-Dec-2019]
Reply With Quote #69

Not for me only works with the menu, I'm using left 4 dead 1
K4d4br4 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-07-2020 , 14:57   Re: [L4D & L4D2] Flashlight (2.7.1) [07-Jan-2020]
Reply With Quote #70

Quote:
Originally Posted by K4d4br4 View Post
Not for me only works with the menu, I'm using left 4 dead 1
Oops, fixed. I had tested but maybe forgot to save or uploaded wrong version.

Quote:
2.7.1 (07-Jan-2020)
- Fixed "sm_light" not working with color names because 2 args were the wrong way round. Thanks to "K4d4br4" for reporting.
__________________
Silvers 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 06:34.


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