Server-side hooks of the Cleaned Maps plugin that remove unwanted entities once the map has loaded.
InitPostEntity removes chargers, map weapons and gun store buttons and, when the remove_map_physics config is
on, physics props; ClockworkInitPostEntity then removes map vehicles. The file also carries hard-coded fixes for
rp_tb_city45_v02n, md_venetianredux_b2 and rp_evocity_v2d.
Summary
Hooks
remove_map_physics is on.Hooks
cwCleanedMaps:ClockworkInitPostEntity()
server gamemodes/catwork/plugins/cleanedmaps/plugin/sv_hooks.lua:8Implements hook ClockworkInitPostEntity
Called after Catwork has loaded all of its entities; removes map vehicles when remove_map_physics is on.
Called after the map has loaded all of its entities; strips unwanted map entities.
Removes physics props when the remove_map_physics config is on, gun store buttons, every class in
cwCleanedMaps.entityList (chargers and map weapons) and soda machines near a fixed position, plus
map-specific fixes for rp_tb_city45_v02n, md_venetianredux_b2 and rp_evocity_v2d (where it spawns
three building props as barricades). A second later it removes a few named entities.