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

[L4D2] Drop Coins (v1.2, 2024-03-04)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
kazya3
Member
Join Date: Aug 2019
Location: CN
Plugin ID:
8643
Plugin Version:
1.2
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    When players dead, they will drop many coins and glowing dropped weapons.
    Old 02-20-2024 , 10:03   [L4D2] Drop Coins (v1.2, 2024-03-04)
    Reply With Quote #1

    • Description:
      When players dead, they will drop many coins and glowing their dropped weapons.
      2 sp file for EN and CN language.
    • Feature list:
      Drop coins when player dead.
      There's a check before spawn coins eachtime, prevent to much entities crash server.
      Glowing dropped weapons when player dead.
    • CVAR list:
      Spoiler
    • Changelog:
      Quote:
      2024-03-04 (v1.2)
      * Fix Convar "Weapon_Drop_Glow_Switch", "Weapon_Drop_Glow_Color", "Weapon_Drop_Glow_Range" Forgot to AddChangeHook.
      * Fix a bug that Confused the use of two parameters"g_Coin_Glow_Switch","g_Weapon_Drop _Glow_Switch" in function GetCvars().
      * Fix FadeOut model cause Console warning "(class 'prop_physics') reported ENTITY_CHANGE_NONE but 'm_nRenderFX' changed."


      2024-02-26 (v1.1)
      * Spawn coins in random angles, now looks more natural.
      * Coin models fadeout and kill instead of disappear suddenly.
      * Changed the order of the coin model array elements.(I got the order of the coin/goldBar models wrong.
      * Changed convar "L4D2_Coin_Glow_Switch" 1 → 0 default.(To much glowing, it's ugly.)

      2024-02-20 (v1.0)
      * Plugin Release
    • Plan:
      Emit a exciting sound to all when drop coins,make the scene look more comedic
      Players pickUp the coin, do sth like return health, I think use sdkhook touch maybe a good idea..
      Emit sound when pickUp
      Coin models fadeout and kill instead of disappear suddenly.(Have Done in v1.1)
    • Media:
      Click image for larger version

Name:	1.jpg
Views:	510
Size:	96.4 KB
ID:	203302
      Click image for larger version

Name:	2.jpg
Views:	471
Size:	91.0 KB
ID:	203303
    • PS:
      Translate:
      I love this game and have spent over 5000 hours since my college years.
      I really miss the old good time that playing this with my friends.
      I use my off work time to learn programming and this is my work.
      I also leaned to use hammer mapping for source games, blender for model, squirrel for vscripts etc
      Enjoy it.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_drop_coins_v1.2EN.sp - 133 views - 9.6 KB)
    File Type: sp Get Plugin or Get Source (l4d2_drop_coins_v1.2CN.sp - 135 views - 9.6 KB)
    __________________

    Last edited by kazya3; 03-04-2024 at 05:41. Reason: New version 1.2
    kazya3 is offline
    kazya3
    Member
    Join Date: Aug 2019
    Location: CN
    Old 02-21-2024 , 00:52   Re: [L4D2] Drop Coins (v1.0, 2024-02-20)
    Reply With Quote #2

    I reorganized the post format after reading the top thread, hope my thread looks clean.

    Last edited by kazya3; 02-21-2024 at 00:53.
    kazya3 is offline
    chungocanh12
    Member
    Join Date: Apr 2023
    Location: Việt Nam
    Old 02-21-2024 , 05:16   Re: [L4D2] Drop Coins (v1.0, 2024-02-20)
    Reply With Quote #3

    so funny thank you
    chungocanh12 is online now
    zonbarbar
    Member
    Join Date: Jul 2022
    Old 02-27-2024 , 13:24   Re: [L4D2] Drop Coins (v1.1, 2024-02-26)
    Reply With Quote #4

    游戏里面还有这个模型吗
    zonbarbar is offline
    kazya3
    Member
    Join Date: Aug 2019
    Location: CN
    Old 02-28-2024 , 01:29   Re: [L4D2] Drop Coins (v1.1, 2024-02-26)
    Reply With Quote #5

    Quote:
    Originally Posted by zonbarbar View Post
    游戏里面还有这个模型吗
    当然,只是你一般看不到这些模型,有些有趣的模型只出现于特定的突变模式里。
    Of course. You can't find these models generally. Some interesting models only appear in specific mutation modes.
    __________________
    kazya3 is offline
    kazya3
    Member
    Join Date: Aug 2019
    Location: CN
    Old 03-04-2024 , 01:55   Re: [L4D2] Drop Coins (v1.2, 2024-03-04)
    Reply With Quote #6

    2024-03-04 (v1.2)
    * Fix Convar "Weapon_Drop_Glow_Switch", "Weapon_Drop_Glow_Color", "Weapon_Drop_Glow_Range" Forgot to AddChangeHook.
    * Fix a bug that Confused the use of two parameters"g_Coin_Glow_Switch","g_Weapon_Drop _Glow_Switch" in function GetCvars().
    * Fix FadeOut model cause Console warning "(class 'prop_physics') reported ENTITY_CHANGE_NONE but 'm_nRenderFX' changed."
    __________________

    Last edited by kazya3; 03-04-2024 at 05:39.
    kazya3 is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 03-04-2024 , 05:33   Re: [L4D2] Drop Coins (v1.2, 2024-03-04)
    Reply With Quote #7

    Cool model
    __________________
    HarryPotter is offline
    BloodyBlade
    Senior Member
    Join Date: Feb 2018
    Old 04-11-2024 , 11:22   Re: [L4D2] Drop Coins (v1.2, 2024-03-04)
    Reply With Quote #8

    Using the new and old syntax at the same time is not very good.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_drop_coins_v1.2EN.sp - 25 views - 9.4 KB)

    Last edited by BloodyBlade; 04-11-2024 at 11:23.
    BloodyBlade is offline
    kazya3
    Member
    Join Date: Aug 2019
    Location: CN
    Old 04-17-2024 , 12:39   Re: [L4D2] Drop Coins (v1.2, 2024-03-04)
    Reply With Quote #9

    Quote:
    Originally Posted by BloodyBlade View Post
    Using the new and old syntax at the same time is not very good.
    Thanks for pointing it out.
    __________________
    kazya3 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 10:38.


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