Requirements:
- engine module
- amxx 1.71 or later
- stripper2 plugin (to load config files) or check stripper2_lite attachment**.
The idea was to build a menu based plugin to build hard to preview triggered brushes, and generate a for stripper2 file. Stripper2 files are saved inside amxmodx/configs folder; they are named like [mapname]_stripper2.cfg
So after config file is generated there’s no need (it’s not recommend) to run this plugin on server if you won’t edit anymore.
Usage:
Type brush_edit in game console; this command toggles edit mode. Edition is menu-based and supposed to be intuitive.
Current entity support:
All Mods:
- trigger_hurt*
- trigger_counter
- trigger_multiple
CS only:
- func_buyzone;
- func_bomb_target
- func_hostage_rescue
- func_escape_zone
- func_vip_safetyzone
DOD only:
- dod_trigger_sandbag
- dod_capture_area
*trigger_hurt in DOD has got specific spawnflags for setting which team is affected
Known issues:
- Default map entities that are removed don't come back in next edit section, unless you manually delete the “REMOVE” commands in config file and restart the map. It’s not a bug, but may be I’ll work it out in final version, if it worth.
Observations:
Since it’s menu based I’ve done a “telephonic” way to type strings (such as “target”); now I think it sucks for long strings, so when string menu is displayed just use say command to enter the string.
Final version will probably use fakemeta instead of engine.
** As that version of stripper2 seems to have a bug with removing entities, I’ve made a “lite” version, to add/remove entities when the map’s loaded. While it doesn’t support all stripper2 resources, it should be just fine to work together with brushedit plugin. It requires amxx 1.7x and fakemeta module.
get plugin , get source - (stripper2_lite.sma
get plugin , get source - brushedit.sma