Jump to content


Photo

Just a simple question


  • Please log in to reply
1 reply to this topic

#1 under-mountain

under-mountain
  • New Members
  • 66 posts

Posted 29 September 2009 - 05:08 PM

Just a simple question. How to make a unit invisible while near trees?I just can't seem to be able to do it myself. Thanks.

#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 29 September 2009 - 05:18 PM

add this module to their horde code... :huh:
;// improved camo that always permits camouflage near trees (regardless of moving or firing)
;//
	Behavior = InvisibilityUpdate ModuleTag_ElvenCamouflage
		InvisibilityNugget
			InvisibilityType	= CAMOUFLAGE
			DetectionRange		= CAMOUFLAGE_RADIUS
			ForbiddenConditions	= MOVING FIRING_ANY
			Options				= ALLOW_NEAR_TREES
		End
		UpdatePeriod			= 2000
		StartsActive			= Yes
		UnitSpecificSoundNameToUseAsVoiceMoveToStealthyArea = VoiceMoveToTrees
		UnitSpecificSoundNameToUseAsVoiceEnterStateMoveToStealthyArea = VoiceEnterStateMoveToTrees
	End

Edited by Ridder Geel, 29 September 2009 - 05:18 PM.

Ridder Geel




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users