| 
		
			| [SSGM 4.0 Plugin] Where's My Beacon [message #473613] | Mon, 27 August 2012 15:30  |  
			| 
				
				|  |  Xpert Messages: 1588
 Registered: December 2005
 Location: New York City
 
	Karma: 0
 | General (1 Star) |  |  |  
	| This plugin is the 4.0 version of reborn's original plugin "Defend My Beacon" for the old SSGM, which can be found here   http://www.renegadeforums.com/index.php?t=msg&th=36861&start=0&rid=2 0487 
 
 
 | Quote: |  | 
 ### Created by Xpert from Atomix
 ### irc.ax-games.net
 ### www.ax-games.net
 
 
 ### CREDITS
 Thanks to reborn for original concept
 
 
 ### DESCRIPTION ###
 This plugin will make a player say in team chat when they have placed a beacon and will say near what building if it's legit. This concept of the plugin uses the actual client's name with TMSG rather than the old way of a color message that non-script users couldn't see.
 
 - PLAYERNAME: The beacon I deployed is FAKE.
 - PLAYERNAME: I deployed a FAKE beacon near the BUILDINGNAME.
 - PLAYERNAME: Please help DEFEND my beacon near the BUILDINGNAME!
 
 ### CHANGELOG ###
 
 V1 - Release
 
 
 | 
 
 
 
  
 Creator of NetGuard, an IRC network regulator.
 Developer of the CloudyServ 0.982-X project.
 Developer of the CloudyServ Ren-X bot.
 
 Part time streamer - https://twitch.tv/gg_wonder
 [Updated on: Mon, 27 August 2012 15:35] Report message to a moderator |  
	|  |  | 
	|  | 
	| 
		
			| Re: [SSGM 4.0 Plugin] Where's My Beacon [message #473622 is a reply to message #473613] | Mon, 27 August 2012 23:08   |  
			| 
				
				
					|  iRANian Messages: 4313
 Registered: April 2011
 
	Karma: 1
 | General (4 Stars) |  |  |  
	| Does it check the distance from a building via checking building meshes or via checking the distance of the controller? If it's the latter if you place a beacon on the strip part of the Airstrip it'll say it's fake. 
 Long time and well respected Renegade community member, programmer, modder and tester.
 
 Scripts 4.0 private beta tester since May 2011.
 
 My Renegade server plugins releases
 |  
	|  |  | 
	| 
		
			| Re: [SSGM 4.0 Plugin] Where's My Beacon [message #473623 is a reply to message #473613] | Mon, 27 August 2012 23:21   |  
			| 
				
				
					|  iRANian Messages: 4313
 Registered: April 2011
 
	Karma: 1
 | General (4 Stars) |  |  |  
	| try using these 
 
 	void											BuildingGameObj::Find_Closest_Poly (const Vector3 &pos, float *distance2);	
	int											BuildingGameObj::Building_In_Range(const Vector3 &point, float range);	//return 0 for no, 1 for yes and 2 for MCT in range
 Long time and well respected Renegade community member, programmer, modder and tester.
 
 Scripts 4.0 private beta tester since May 2011.
 
 My Renegade server plugins releases
 |  
	|  |  | 
	|  | 
	|  | 
	|  | 
	|  | 
	|  | 
	|  | 
	| 
		
			| Re: [SSGM 4.0 Plugin] Where's My Beacon [message #474677 is a reply to message #473696] | Tue, 18 September 2012 05:49  |  
			| 
				
				|  |  Jerad2142 Messages: 3825
 Registered: July 2006
 Location: USA
 
	Karma: 6
 | General (3 Stars) |  |  |  
	| | saberhawk wrote on Wed, 29 August 2012 02:01 |  | Building_In_Range is significantly less expensive than Find_Closest_Poly, so please don't use the latter unless you actually need to know the distance value.
 
 | 
 He could always put it on a separate thread, it's not like the chat message needs to be sent instantly after all, some delay would be acceptable I'm sure.
 
 
  Visit Jerad's deer sweat shop |  
	|  |  |