Raised This Month: $32 Target: $400
 8% 

[L4D/L4D2]Enhanced Throwables (1.3 - 21/7/2018)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Plugin ID:
5154
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    131 
    Plugin Description:
    Addes dynamic lights to handheld throwables
    Old 04-23-2016 , 18:41   [L4D/L4D2]Enhanced Throwables (1.3 - 21/7/2018)
    Reply With Quote #1

    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
    Attached Files
    File Type: 7z screenshots.7z (4.06 MB, 2370 views)
    File Type: sp Get Plugin or Get Source (Enhanced_Throwables.sp - 4898 views - 14.6 KB)
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D

    Last edited by Lux; 05-08-2020 at 17:01. Reason: Update
    Lux is offline
    Krufftys Killers
    Senior Member
    Join Date: Jan 2014
    Old 04-24-2016 , 01:05   Re: [L4D]Enhanced Throwables
    Reply With Quote #2

    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.
    Krufftys Killers is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 04-24-2016 , 21:41   Re: [L4D]Enhanced Throwables
    Reply With Quote #3

    Quote:
    Originally Posted by Krufftys Killers View Post
    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 .

    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
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D

    Last edited by Lux; 05-27-2016 at 08:53. Reason: annoying stuff
    Lux is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 05-01-2016 , 01:32   Re: [L4D]Enhanced Throwables
    Reply With Quote #4

    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.

    Last edited by cravenge; 05-01-2016 at 01:33.
    cravenge is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 05-02-2016 , 19:08   Re: [L4D]Enhanced Throwables
    Reply With Quote #5

    Quote:
    Originally Posted by cravenge View Post
    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.
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 05-27-2016 , 08:57   Re: [L4D/L4D2]Enhanced Throwables (Updated 27/5/2016)
    Reply With Quote #6

    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
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    Krufftys Killers
    Senior Member
    Join Date: Jan 2014
    Old 05-31-2016 , 07:26   Re: [L4D/L4D2]Enhanced Throwables (1.0 - 27/5/2016)
    Reply With Quote #7

    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":
    Krufftys Killers is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 05-31-2016 , 14:15   Re: [L4D/L4D2]Enhanced Throwables (1.0 - 27/5/2016)
    Reply With Quote #8

    Quote:
    Originally Posted by Krufftys Killers View Post
    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
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    bazrael
    Senior Member
    Join Date: Jan 2010
    Location: Where Lucy became superw
    Old 06-10-2016 , 09:12   Re: [L4D/L4D2]Enhanced Throwables (1.1 - 31/5/2016)
    Reply With Quote #9

    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?
    __________________
    Kill all the son of a bitches, that's my official instructions.
    L4Dε Modified Talker
    bazrael is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 06-10-2016 , 09:40   Re: [L4D/L4D2]Enhanced Throwables (1.1 - 31/5/2016)
    Reply With Quote #10

    Quote:
    Originally Posted by bazrael View Post
    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
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D

    Last edited by Lux; 06-10-2016 at 09:41.
    Lux is offline
    Reply


    Thread Tools
    Display Modes

    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 19:56.


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