AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   TF2: Change maxium range of a sentry gun (https://forums.alliedmods.net/showthread.php?t=63778)

Tauphi 11-29-2007 20:16

TF2: Change maxium range of a sentry gun
 
hello,

does someone have any ideas how to change the maxium range of a sentry gun? .... is it generally possible to do it? :-O

regards
andi

bl4nk 11-29-2007 21:20

Re: TF2: Change maxium range of a sentry gun
 
CBaseObject:
-Member: m_viewtarget (offset 1468) (type vector) (bits 0)

Possibly?

BAILOPAN 11-29-2007 22:21

Re: TF2: Change maxium range of a sentry gun
 
My guess is that it would be hardcoded, though if there's a POV property it might work.

Kaishi 12-11-2007 15:29

Re: TF2: Change maxium range of a sentry gun
 
There is a hidden cvar
tf_sentrygun_newtarget_dist (default: "200")

I have not had a chance to test what this does though.

ferret 12-11-2007 15:32

Re: TF2: Change maxium range of a sentry gun
 
A guess is that the sentry gun will switch a new target when the current target is 200+ away

CrimsonGT 01-29-2008 11:29

Re: TF2: Change maxium range of a sentry gun
 
Sentry Guns focus on the closest player to them. We use a strategy in matches to take them out with a medic/soldier ubercharge where the medic and soldier keep running forward to get ahead of each other to keep the SG from pushing the soldier back.

I will give tf_sentrygun_newtarget_dist a go later today.

CrimsonGT 01-29-2008 12:05

Re: TF2: Change maxium range of a sentry gun
 
Didn't do anything.

petomatick 09-27-2010 12:02

Re: TF2: Change maxium range of a sentry gun
 
So is there no way?

pheadxdll 09-27-2010 15:35

Re: TF2: Change maxium range of a sentry gun
 
It's not possible with a plugin, it's a hard coded value of 1100.0.

FaTony 09-28-2010 09:14

Re: TF2: Change maxium range of a sentry gun
 
VirtualUnprotect it and change.


All times are GMT -4. The time now is 18:16.

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