This is an enhancement to the
rewritten zprops plugin by
thetwistedpanda. No idea if it works for CS:GO, but it works on source.
Installation:
Follow the structure of the attached .zip
New features:- Spawn-on-aim using prop_physics_create (falls back to ray tracing for prop_physics_override models)
- Cvar switch between credits system or cash
- Cvar switch to disable chat announcement on every prop spawn
- Added "height" and "buffer" key values to zprop.defines.txt to customize spawn offsets for prop_physics_override models
Cvars:
zprop_enabled = 1, Enables / disables all features of the plugin
zprop_verbose = 1, Enables / disables zprop announcement of events through chat
zprop_credits_max = 15, Max credits that can be attained
zprop_credits_connect = 4, The number of free credits a player received when they join the game
zprop_credits_spawn_human = 1, The number of free credits when spawning as a Human
zprop_credits_spawn_zombie = 1, The number of free credits when spawning as a Zombie
zprop_credits_infect = 1, The number of credits given for infecting a human as zombie
zprop_credits_kill = 5, The number of credits given for killing a zombie as human
zprop_credits_roundstart = 2, The number of free credits given on start of the round
zprop_credits_mode = 0, Whether to use a credit system or player cash for prop pricing. 0 = Credits, 1 = Cash
zprop_config = "configs/zprop.defines.txt", The desired configuration file to use
zprop_team_restrict = 0, Restricts zprop to a specific team. 0 = Either, 1 = Humans Only, 2 = Zombies Only
zprop_commands = "!prop,/prop", The chat triggers available to clients to access zprop