-
Notifications
You must be signed in to change notification settings - Fork 9
drop
shanapu edited this page Jan 29, 2020
·
1 revision
The drop module makes it possible to drop purchased or gifted items on the ground and everybody is able to pickup and get this item. If nobody picks it the item can goes back to owner or can be sold. When a user owns an item and it is able to drop, a new menu entry "drop this item" appears in items menu. When an item was droped the initial purchase price will be passed on for selling.
It's possible to allow or prohibit drop for each individual item or package, more information at items.txt wiki under the "trade"
-Key.
// Seconds until remove a dropped item. 0.0 = on round end
// -
// Default: "60.0"
// Minimum: "0.000000"
mystore_drop_remove_time "60.0"
// 0 - delete / 1 - give back to owner / 2 - Sell item
// -
// Default: "1"
// Minimum: "0.000000"
mystore_drop_remove_type "1"
// Enable/disable rotate dropped items.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mystore_drop_rotate "1"
// Path to the drop model
// -
// Default: "models/props_crates/static_crate_40.mdl"
mystore_drop_model "models/props_crates/static_crate_40.mdl"
// Path to the drop sound
// -
// Default: "physics/wood/wood_deepimpact1.wav"
mystore_drop_sound_drop "physics/wood/wood_deepimpact1.wav"
// Path to the pickup sound
// -
// Default: "physics/wood/wood_box_break1.wav"
mystore_drop_sound_pickup "physics/wood/wood_box_break1.wav"
// Path to the .pcf file
// -
// Default: "particles/2j.pcf"
mystore_drop_efx_pickup_file "particles/2j.pcf"
// name of the particle effect
// -
// Default: "tornado"
mystore_drop_efx_pickup_name "tornado"
// Red value of glow effect (set R, G , B & alpha values to 0 to disable) (Rgb)
// -
// Default: "85"
// Minimum: "0.000000"
// Maximum: "255.000000"
mystore_drop_glow_r "85"
// Green value of glow effect (set R, G, B & alpha values to 0 to disable) (rGb)
// -
// Default: "85"
// Minimum: "0.000000"
// Maximum: "255.000000"
mystore_drop_glow_g "85"
// Blue value of glow effect (set R, G, B & alpha values to 0 to disable) (rgB)
// -
// Default: "5"
// Minimum: "0.000000"
// Maximum: "255.000000"
mystore_drop_glow_b "5"
// Alpha value of glow effect (set R, G, B & alpha values to 0 to disable) (alpha)
// -
// Default: "185"
// Minimum: "0.000000"
// Maximum: "255.000000"
mystore_drop_glow_a "185"