Raised This Month: $51 Target: $400
 12% 

destroy tele or buildings built in respawn for mann manor?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lyric
Veteran Member
Join Date: Sep 2012
Old 06-19-2013 , 14:09   destroy tele or buildings built in respawn for mann manor?
Reply With Quote #1

http://steamcommunity.com/id/Battlet...24518044168175

there is a map glitch in the mann manor map that allows enginers to build buildings in respawn. is there a way to make those buildings autodestruct when they lay them down? i know there is a similar exploit on cp_egypt where people build in places they aren't supposed to but this one is not as well known.
__________________
lyric is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-19-2013 , 14:47   Re: destroy tele or buildings built in respawn for mann manor?
Reply With Quote #2

Quote:
Originally Posted by lyric View Post
http://steamcommunity.com/id/Battlet...24518044168175

there is a map glitch in the mann manor map that allows enginers to build buildings in respawn. is there a way to make those buildings autodestruct when they lay them down? i know there is a similar exploit on cp_egypt where people build in places they aren't supposed to but this one is not as well known.
If you know the coordinates, you can use a plugin to add a func_nobuild to that area, which would prevent them from building there. Remember that func_nobuild needs to be taller than the player (plus jump height?).

I know some example code is in another thread, but one of them uses events not present in TF2 and the other uses hard-coded coordinates.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 06-19-2013 at 15:00.
Powerlord is offline
lyric
Veteran Member
Join Date: Sep 2012
Old 06-19-2013 , 16:10   Re: destroy tele or buildings built in respawn for mann manor?
Reply With Quote #3

do you know how to get cordinates ? I would do it later.
__________________
lyric is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-19-2013 , 16:25   Re: destroy tele or buildings built in respawn for mann manor?
Reply With Quote #4

Quote:
Originally Posted by lyric View Post
do you know how to get cordinates ? I would do it later.
GetClientEyePosition will give you their coordinates at eye level which is... 64 hammer units up if they're not ducking?

Actually, it might be a good idea to get a player's eye height, then use a traceray to go straight down (I think up-down is the first value of an angle vector, so { -90, 0, 0 } ?) until you hit world geometry (MASK_SOLID ?).

Edit: Whoops, the player's own model is considered solid, so you need to filter it as documented on the comments in the main TraceRay docs.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 06-19-2013 at 16:33.
Powerlord is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 06-19-2013 , 19:22   Re: destroy tele or buildings built in respawn for mann manor?
Reply With Quote #5

cl_showpos 1
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
lyric
Veteran Member
Join Date: Sep 2012
Old 06-21-2013 , 11:44   Re: destroy tele or buildings built in respawn for mann manor?
Reply With Quote #6

Quote:
Originally Posted by friagram View Post
cl_showpos 1
thanks you

here is what i did

walk to right side of where you can build and screenshot:


walk to left side of where you can build and screenshot:


hope that help
__________________
lyric is offline
Reply



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 09:34.


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