[CS:S/CS:GO]DigRats
Description
This plugins allows creating large (I mean LARGE) breakfloor maps. For example, its reference map (breakfloor_4096) constists of 3474 breakable blocks - that's well above the max edicts limit in the engine.
The ideas that help achieving this are described on the main repository page - I advice you to look through it.
Here I will only post the video:
Config sample
Syntax: Select all
// ######################################################################### //
// Debug Settings //
// ######################################################################### //
// Default Value: "255,0,0,50"
// Color of the block that is about to break
digrats_debug_breaking_block "255,0,0,50"
// ######################################################################### //
// Block Settings //
// ######################################################################### //
// Default Value: 0.2
// Block restoration interval (restart the round after setting this cvar)
digrats_block_restore_interval 0.2
// Default Value: 2.0
// Minimum number of seconds after a block has been broken before it can be
// restored
digrats_block_min_restore_delay 2.0
// ######################################################################### //
// Queue & Limits Settings //
// ######################################################################### //
// Default Value: 500
// Maximum number of func_breakable entities that can exist at once. This is a
// soft limit, block restoration routine can bypass it in order to avoid
// deadlocks.
digrats_max_entities 500
// Default Value: 1.0
// Interval for block spawn/remove queues approaching (restart the round after
// setting this cvar)
digrats_queue_approach_interval 1.0
// Default Value: 6
// Maximum number of func_breakable entities that can be spawned (per tick)
digrats_max_entities_spawned_per_tick 6
// Default Value: 6
// Maximum number of func_breakable entities that can be removed (per tick)
digrats_max_entities_removed_per_tick 6
// Default Value: 20
// Maximum number of func_breakable entities that can be spawned (per approach)
digrats_max_entities_spawned_per_approach 20
// Default Value: 20
// Maximum number of func_breakable entities that can be removed (per approach)
digrats_max_entities_removed_per_approach 20
Installation
- Install ControlledCvars custom package
- Download the latest development snapshot of this plugin
- Extract contents of the SP-DigRats-master/srcds directory to your mod folder
- Install supported maps (they are mentioned on the repository main page)
- Add the following line to autoexec.cfg:
sp plugin load digrats