Raised This Month: $105 Target: $400
 26% 

Triggered "Brush Edit" 0.2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands        Approver:   Xanimos (85)
commonbullet
Veteran Member
Join Date: Oct 2005
Old 08-09-2006 , 01:27   Triggered "Brush Edit" 0.2
Reply With Quote #1

brushedit
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.
Attached Thumbnails
Click image for larger version

Name:	brushedit.jpg
Views:	5123
Size:	37.2 KB
ID:	9843  
Attached Files
File Type: sma Get Plugin or Get Source (stripper2_lite.sma - 2490 views - 8.2 KB)
File Type: sma Get Plugin or Get Source (brushedit.sma - 1561 views - 67.2 KB)

Last edited by commonbullet; 10-06-2008 at 23:42.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 08-09-2006 , 02:06   Re: Triggered "Brush Edit" 0.1
Reply With Quote #2

wow, nice
Deviance is offline
Bo0m!
Veteran Member
Join Date: Mar 2006
Location: New Jersey
Old 08-09-2006 , 08:32   Re: Triggered "Brush Edit" 0.1
Reply With Quote #3

Ooh.. neat.
__________________
Bo0m! is offline
Send a message via AIM to Bo0m! Send a message via MSN to Bo0m! Send a message via Yahoo to Bo0m!
NemesisDelta
Senior Member
Join Date: Jul 2006
Location: Germany/Hessen/Kassel
Old 08-09-2006 , 08:34   Re: Triggered "Brush Edit" 0.1
Reply With Quote #4

Very Nice..! good and AWESOME Work
__________________
NemesisDelta is offline
Send a message via ICQ to NemesisDelta
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 08-09-2006 , 13:04   Re: Triggered "Brush Edit" 0.1
Reply With Quote #5

Sexy.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
commonbullet
Veteran Member
Join Date: Oct 2005
Old 08-09-2006 , 14:32   Re: Triggered "Brush Edit" 0.1
Reply With Quote #6

Thank you.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 08-09-2006 , 14:50   Re: Triggered "Brush Edit" 0.1
Reply With Quote #7

Pretty cool, should get approved!
__________________
OneEyed is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-09-2006 , 15:30   Re: Triggered "Brush Edit" 0.1
Reply With Quote #8

I agree. Nice. I think it should wait till the mod detection is implemented though.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
commonbullet
Veteran Member
Join Date: Oct 2005
Old 08-10-2006 , 00:58   Re: Triggered "Brush Edit" 0.1
Reply With Quote #9

Thanks, I'm workin on it.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
commonbullet
Veteran Member
Join Date: Oct 2005
Old 08-11-2006 , 00:48   Re: Triggered "Brush Edit" 0.2
Reply With Quote #10

Ok, It's been updated:
- implemented mod detection (entities are described in 1st post)
- brush editor's last position is resumed when a new round begins
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:33.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode