Jump to content


Photo

What is the default DetectionRange for a StealthDetectorUpdate


  • Please log in to reply
5 replies to this topic

#1 Prolong

Prolong
  • Members
  • 133 posts

Posted 20 July 2010 - 04:37 PM

if none is specified?

#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 20 July 2010 - 08:58 PM

CamouflageDetectionMultiplier = CAMOUFLAGE_DETECTION_DISTANCE_DEFAULT

The default one i guess? At least if that is what you want.
Ridder Geel

#3 DeeZire

DeeZire
  • Members
  • 140 posts

Posted 21 July 2010 - 11:55 AM

Default value is 0 - a value must be specified for an object to make use of it. It's set by default to 1 for every object in the game in ini/default/object.ini

#4 Prolong

Prolong
  • Members
  • 133 posts

Posted 21 July 2010 - 03:20 PM

Hmm I meant in a StealthDetectorUpdate though, like this in hearth.ini:

Behavior = StealthDetectorUpdate StealthDetectorUpdateModuleTag
		DetectionRate		= 500  ; how often to rescan for stealthed things in my sight (msec)
		CancelOneRingEffect = No; don't force uses of one-ring to pop out of it
	End
As opposed to the one in galadrielswell.ini, which does have a DetectionRange:

Behavior = StealthDetectorUpdate StealthDetectorUpdateModuleTag
		DetectionRate		= 10  ; how often to rescan for stealthed things in my sight (msec)
		DetectionRange		= 200
		CancelOneRingEffect = No; don't force uses of one-ring to pop out of it
	End


#5 DeeZire

DeeZire
  • Members
  • 140 posts

Posted 22 July 2010 - 02:34 AM

Sorry my bad, read the reply but did not read the original post properly, doh.

IIRC that one defaults to the objects' VisionRange.

In the examples you give there, Galadriels Well has a value specified otherwise it would detect stealth at a distance of 400 as opposed to the Hearth at 160, so using the value there near enough 'normalises' the range of the ability between different objects.

Edited by DeeZire, 22 July 2010 - 02:37 AM.


#6 Prolong

Prolong
  • Members
  • 133 posts

Posted 22 July 2010 - 11:11 PM

That makes sense, thanks!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users