Jump to content


Photo

Frozen Land Overlapping/Cover


  • Please log in to reply
1 reply to this topic

#1 Miraak5

Miraak5

    title available

  • Members
  • 389 posts
  • Location:France
  • Projects:ROTWK Patch 2.02, Wars of the North, BFME1 1.08 Complete Edition
  •  BIG coding, Map scripting and AI coding

Posted 05 December 2020 - 06:42 PM

Hey, i am trying to get Frozen Land to cover Elven Wood and Tainted Land (and the opposite thing too)
 
however u probably know that Tainted Land and Elven Wood use unique behaviors and EA was too lazy to create something similar for Frozen Land
Frozen Land just work with an OCL behavior and so don't have any proprieties to be able to Cover Wood or Taint
 
i originally tried to put a FireWeaponUpdate inside the Frozen Land object but also inside the Elven Wood and Tainted Land object
and so to have those 2 weapon to "kill" the opposite land spell
 
;------------------------------------------------------------------------------
Weapon FrozenLandCover ;to cover ALL other land including other frozen land
	RadiusDamageAffects	= ENEMIES NEUTRALS ALLIES
	
	DamageNugget
		Damage		= 500
                Radius          = 200
		DamageType	= UNRESISTABLE
		DeathType	= NORMAL
		SpecialObjectFilter = ANY +ElvenGrove +TaintLand +IsengardTaintLand +FrozenLandPing
		Radius		  = WOTN_SPELLBOOK_TAINT_RADIUS
		ForceKillObjectFilter = ANY +ElvenGrove +TaintLand +IsengardTaintLand +FrozenLandPing
	End
End

;------------------------------------------------------------------------------
Weapon CoverFrozenLand ;taint and elven wood weapon to cover frozen land
	RadiusDamageAffects	= ENEMIES NEUTRALS ALLIES
	
	DamageNugget
		Damage		= 500
                Radius          = 200
		DamageType	= UNRESISTABLE
		DeathType	= NORMAL
		SpecialObjectFilter = ANY +FrozenLandPing
		Radius		  = WOTN_SPELLBOOK_TAINT_RADIUS
		ForceKillObjectFilter = ANY +FrozenLandPing
	End
End

but it didn't worked, Taint and Wood zone didn't dissapeared (the bonus was still here too)

 


He was the first...


#2 OneV

OneV
  • Members
  • 53 posts

Posted 08 January 2021 - 10:28 PM

The grove has "UNATTACKABLE" in its kindof. If you remove that, may be it could work? 
 






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users