AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D/L4D2]Enhanced Throwables (1.3 - 21/7/2018) (https://forums.alliedmods.net/showthread.php?t=281902)

Lux 04-23-2016 18:41

[L4D/L4D2]Enhanced Throwables (1.3 - 21/7/2018)
 
3 Attachment(s)
Adds dynamic Light to held and thrown throwables, besides the bile bomb in l4d2

(0.2 version) https://www.youtube.com/watch?v=0n4k...vjRCJt&index=4

After the Molotov hit's the floor the rest is done by silvers
Secondary Plugin

Video Above is Just the start of my project

ConVars/CFG:
config name: Enhance_Handheld_Throwables.cfg
PHP Code:

// This file was auto-generated by SourceMod (v1.7.3-dev+5275)
// ConVars for plugin "Enhanced_Throwables.smx"


// Enables/Disables handheld pipebomb light.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_handheld_light_pipe_bomb "1"

// Enables/Disables Molotov light.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_handheld_light_Molotov "1"

// Molotovs light color (0-255 0-255 0-255)
// -
// Default: "255 50 0"
l4d_handheld_light_molotov_colour "255 50 0"

// Molotovs light distance (0 = disabled)
// -
// Default: "200.0"
// Minimum: "0.100000"
// Maximum: "9999.000000"
l4d_handheld_light_molotov_light_distance "200.0"

// Pipebomb flash light color (0-255 0-255 0-255)
// -
// Default: "200 1 1"
l4d_handheld_light_pipebomb_flash_colour "200 1 1"

// Pipebomb fure light color (0-255 0-255 0-255)
// -
// Default: "215 215 1"
l4d_handheld_light_pipebomb_fuse_colour "215 215 1"

// Pipebomb light distance (0 = disabled)
// -
// Default: "255.0"
// Minimum: "0.100000"
// Maximum: "9999.000000"
l4d_handheld_light_pipebomb_light_distance "255.0"

// Enables/Disables handheld light after throwing.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_handheld_throw_light_enable "1" 

Log:
Fixed error on attach points
Added better attachpoints for survivors
Special Thanks to Silvers for Different attachpoints and offsets to points

Krufftys Killers 04-24-2016 01:05

Re: [L4D]Enhanced Throwables
 
L 04/24/2016 - 00:04:59: SourceMod error session started
L 04/24/2016 - 00:04:59: Info (map "dw_woods") (file "errors_20160424.log")
L 04/24/2016 - 00:04:59: Error log file session closed.
L 04/24/2016 - 00:05:04: SourceMod error session started
L 04/24/2016 - 00:05:04: Info (map "dw_woods") (file "errors_20160424.log")
L 04/24/2016 - 00:05:04: [SM] Native "CreateEntityByName" reported: Cannot create new entity when no map is running
L 04/24/2016 - 00:05:04: [SM] Displaying call stack trace for plugin "Enhanced_Throwables.smx":
L 04/24/2016 - 00:05:04: [SM] [0] Line 74, D:\BasicPawn\Enhanced_Throwables.sp::LetThere BeLight()
L 04/24/2016 - 00:05:04: [SM] [1] Line 64, D:\BasicPawn\Enhanced_Throwables.sp::OnEntity Created()
L 04/24/2016 - 00:05:04: [SM] Native "CreateEntityByName" reported: Cannot create new entity when no map is running
L 04/24/2016 - 00:05:04: [SM] Displaying call stack trace for plugin "Enhanced_Throwables.smx":
L 04/24/2016 - 00:05:04: [SM] [0] Line 74, D:\BasicPawn\Enhanced_Throwables.sp::LetThere BeLight()
L 04/24/2016 - 00:05:04: [SM] [1] Line 68, D:\BasicPawn\Enhanced_Throwables.sp::OnEntity Created()
L 04/24/2016 - 00:25:10: Error log file session closed.

Lux 04-24-2016 21:41

Re: [L4D]Enhanced Throwables
 
2 Attachment(s)
Quote:

Originally Posted by Krufftys Killers (Post 2413674)
L 04/24/2016 - 00:04:59: SourceMod error session started
L 04/24/2016 - 00:04:59: Info (map "dw_woods") (file "errors_20160424.log")
L 04/24/2016 - 00:04:59: Error log file session closed.
L 04/24/2016 - 00:05:04: SourceMod error session started
L 04/24/2016 - 00:05:04: Info (map "dw_woods") (file "errors_20160424.log")
L 04/24/2016 - 00:05:04: [SM] Native "CreateEntityByName" reported: Cannot create new entity when no map is running
L 04/24/2016 - 00:05:04: [SM] Displaying call stack trace for plugin "Enhanced_Throwables.smx":
L 04/24/2016 - 00:05:04: [SM] [0] Line 74, D:\BasicPawn\Enhanced_Throwables.sp::LetThere BeLight()
L 04/24/2016 - 00:05:04: [SM] [1] Line 64, D:\BasicPawn\Enhanced_Throwables.sp::OnEntity Created()
L 04/24/2016 - 00:05:04: [SM] Native "CreateEntityByName" reported: Cannot create new entity when no map is running
L 04/24/2016 - 00:05:04: [SM] Displaying call stack trace for plugin "Enhanced_Throwables.smx":
L 04/24/2016 - 00:05:04: [SM] [0] Line 74, D:\BasicPawn\Enhanced_Throwables.sp::LetThere BeLight()
L 04/24/2016 - 00:05:04: [SM] [1] Line 68, D:\BasicPawn\Enhanced_Throwables.sp::OnEntity Created()
L 04/24/2016 - 00:25:10: Error log file session closed.

Ahh thankyou, i totally forgot about checking if the map is running, there is a little hotfix below here, please install this, to fix the issue :D.

Edit: WOW im never using spedit again, it did not even save so i guess that is why this 1 dont work either because of a ! left in there -_-
but now it works!!!!!!!!!!!!!!!!!!!!!!!!!!

Attachments removed Updated to 1.0ver

cravenge 05-01-2016 01:32

Re: [L4D]Enhanced Throwables
 
I don't know how to use SDKHooks but I know some of its functions, how about adding SDKHook_WeaponSwitch then add your code there? Just a suggestion.

EDIT: You know you could use Notepad++ to edit files.

Lux 05-02-2016 19:08

Re: [L4D]Enhanced Throwables
 
Quote:

Originally Posted by cravenge (Post 2415578)
I don't know how to use SDKHooks but I know some of its functions, how about adding SDKHook_WeaponSwitch then add your code there? Just a suggestion.

EDIT: You know you could use Notepad++ to edit files.

I Don't use notepadd++, i use basicpawn.

Lux 05-27-2016 08:57

Re: [L4D/L4D2]Enhanced Throwables (Updated 27/5/2016)
 
UPDATED 1.0

Dynamic light for Held throwables
Cvars distance and colour of light
MaxFrameCheck 10 //10 is default change at you will means it skips 10frames before another check less skips more cpu and more skips is less cpu, but less accuracy

Krufftys Killers 05-31-2016 07:26

Re: [L4D/L4D2]Enhanced Throwables (1.0 - 27/5/2016)
 
L 05/30/2016 - 12:50:57: SourceMod error session started
L 05/30/2016 - 12:50:57: Info (map "streets") (file "errors_20160530.log")
L 05/30/2016 - 12:50:57: [SM] Native "GetEntPropString" reported: Entity 359 (359) is invalid
L 05/30/2016 - 12:50:57: [SM] Displaying call stack trace for plugin "Enhanced_Throwables.smx":
L 05/30/2016 - 12:50:57: [SM] [0] Line 737, /groups/sourcemod/compiler-1.6/include/entity.inc::GetEntityClassname()
L 05/30/2016 - 12:50:57: [SM] [1] Line 112, /home/forums/content/files/2/5/7/8/4/1/155012.attach::HandheldSoundHook()
L 05/30/2016 - 12:51:00: [SM] Native "GetEntPropString" reported: Entity 359 (359) is invalid
L 05/30/2016 - 12:51:00: [SM] Displaying call stack trace for plugin "Enhanced_Throwables.smx":

Lux 05-31-2016 14:15

Re: [L4D/L4D2]Enhanced Throwables (1.0 - 27/5/2016)
 
Quote:

Originally Posted by Krufftys Killers (Post 2423455)
L 05/30/2016 - 12:50:57: SourceMod error session started
L 05/30/2016 - 12:50:57: Info (map "streets") (file "errors_20160530.log")
L 05/30/2016 - 12:50:57: [SM] Native "GetEntPropString" reported: Entity 359 (359) is invalid
L 05/30/2016 - 12:50:57: [SM] Displaying call stack trace for plugin "Enhanced_Throwables.smx":
L 05/30/2016 - 12:50:57: [SM] [0] Line 737, /groups/sourcemod/compiler-1.6/include/entity.inc::GetEntityClassname()
L 05/30/2016 - 12:50:57: [SM] [1] Line 112, /home/forums/content/files/2/5/7/8/4/1/155012.attach::HandheldSoundHook()
L 05/30/2016 - 12:51:00: [SM] Native "GetEntPropString" reported: Entity 359 (359) is invalid
L 05/30/2016 - 12:51:00: [SM] Displaying call stack trace for plugin "Enhanced_Throwables.smx":

Please Get version 1.1 as this issue is fixed :shock:

bazrael 06-10-2016 09:12

Re: [L4D/L4D2]Enhanced Throwables (1.1 - 31/5/2016)
 
I found molotov's dynamic Light only displays when holding on hand and during the period of throwing. After it lands, flame won't light up environment like preview video. However Pipe bomb works well.

Would you join fluorescent effect for bile jar in the future?

Lux 06-10-2016 09:40

Re: [L4D/L4D2]Enhanced Throwables (1.1 - 31/5/2016)
 
Quote:

Originally Posted by bazrael (Post 2426367)
I found molotov's dynamic Light only displays when holding on hand and during the period of throwing. After it lands, flame won't light up environment like preview video. However Pipe bomb works well.

Would you join fluorescent effect for bile jar in the future?

Ahh i forgot to add silvers plugin in the post the link is here for his plugin.

https://forums.alliedmods.net/showthread.php?p=1721107

also im not sure what you mean by Joining the fluorescent effect? O.O


All times are GMT -4. The time now is 06:36.

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