Author
|
Message
|
Member
Join Date: Aug 2019
Location: CN
|
02-20-2024
, 10:03
[L4D2] Drop Coins (v1.2, 2024-03-04)
|
#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
PHP Code:
// Enable drop coins when player dead
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
L4D2_Coin_Drop_Switch "1"
// Number of dropped coins
// -
// Default: "10"
// Minimum: "0.000000"
// Maximum: "999.000000"
L4D2_Coin_Drop_Num "10"
// Coin model, 0:coin 1:goldBar 2:money 3:random
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
L4D2_Coin_Drop_Model_Case "3"
// Clear coin time (Seconds)
// -
// Default: "10"
// Minimum: "0.000000"
// Maximum: "999.000000"
L4D2_Coin_Drop_Clear_Time "10"
// Coin model Alpha
// -
// Default: "255"
// Minimum: "0.000000"
// Maximum: "255.000000"
L4D2_Coin_Drop_Model_Alpha "255"
// Enable coin glowing
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
L4D2_Coin_Glow_Switch "0"
// Coin glowing colors (RGB)
// -
// Default: "255 170 0"
L4D2_Coin_Glow_Color "255 170 0"
// Coin glowing range
// -
// Default: "2000"
// Minimum: "0.000000"
// Maximum: "9999.000000"
L4D2_Coin_Glow_Range "2000"
// Enable dropped weapons glowing when player dead
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
L4D2_Weapon_Drop_Glow_Switch "1"
// Weapons glowing colors (RGB)
// -
// Default: "255 170 0"
L4D2_Weapon_Drop_Glow_Color "255 170 0"
// Weapons glowing range
// -
// Default: "2000"
// Minimum: "0.000000"
// Maximum: "9999.000000"
L4D2_Weapon_Drop_Glow_Range "2000"
- 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:
- 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.
__________________
Last edited by kazya3; 03-04-2024 at 05:41.
Reason: New version 1.2
|
|
|
|