Jump to content


Photo

Fortress map "bugs"


  • Please log in to reply
3 replies to this topic

#1 zephyr23

zephyr23
  • Members
  • 11 posts

Posted 17 November 2010 - 08:50 PM

I wonder if someone could please tell me if there are coding solutions to the following problems.

When playing inside a fortress-style map (e.g. Minas Tirith) against the Mordor skirmish AI (on Brutal) the following can sometimes occur:

1) Orc Archers appear that cannot be targeted (right-clicked) by ranged units. They can be destroyed by bombardment or using a spell. Alternatively they can be chased off by any unit that approaches them after which they disappear in the fog of war.

2) Occasionally when a Drummer Troll's health is reduced to near zero, it becomes invulnerable but continues doing damage.


While I can think of a map-specific way of deleting these units with worldbuilder scripts, is there a way to prevent this behaviour in .ini code?

#2 EggyDan

EggyDan

    Eodynn

  • Members
  • 182 posts
  • Location:UK

Posted 19 November 2010 - 08:31 PM

I had a similar bug on Minas Tirith against Isengard, a beserker had zero health but was still alive somehow, just wouldnt die and kept trashing my stuff. Was pretty annoying.

Unfortunately, it isn't always easy to tell why a bug like this happens. The best to look for your drummer troll problem would be the death behaviours, but if it is a map specific problem, and you can't find anything that changes these units for the map specifically, I'm afraid it will probably turn out to be some kind of engine bug that won't be fixable...

#3 Prolong

Prolong
  • Members
  • 133 posts

Posted 20 November 2010 - 10:50 PM

I had a similar bug on Minas Tirith against Isengard, a beserker had zero health but was still alive somehow, just wouldnt die and kept trashing my stuff. Was pretty annoying.

Unfortunately, it isn't always easy to tell why a bug like this happens. The best to look for your drummer troll problem would be the death behaviours, but if it is a map specific problem, and you can't find anything that changes these units for the map specifically, I'm afraid it will probably turn out to be some kind of engine bug that won't be fixable...

I'm curious about the Berserker bug - might it be a problem with the BurningDeath? I think that MIGHT be the problem. Perhaps you could try out my "solution" for it, and let me know that it failed (PM my account here since I don't regularly check these forums) if you ever see it occur again, or if you think it's gone.


AnimationState			= BURNINGDEATH;;,;; Uncommented - perhaps to fix invulnerable Berserker bug?
			Animation
				AnimationName	= IUUrukahi_MFDA
				AnimationMode	= LOOP
				Distance		= 50
			End
		End

	LocomotorSet;;,;; Uncommented - perhaps to fix invulnerable Berserker bug?
		Locomotor = BurningDeathLocomotorInfantry
		Condition = SET_BURNINGDEATH
		Speed	  = BURNINGDEATH_WANDERSPEED_INFANTRY
	End
Another way to attempt this might be the opposite approach:

Body = ActiveBody ModuleTag_02
		MaxHealth		 	= ISENGARD_BERSERKER_HEALTH			;BALANCE Uruk Hai Health
		MaxHealthDamaged	  = ISENGARD_BERSERKER_HEALTH_DAMAGED		
		BurningDeathBehavior	= No;;;;;Yes
	;;;;;BurningDeathFX		= FX_InfantryBurningFlame
		CheerRadius		= EMOTION_CHEER_RADIUS
		DodgePercent	  = 80%		

;; TAKEN OUT BY DESIGN... DON'T PUT THIS BACK...10/2004		
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;
;		DamagedAttributeModifier = BerserkerDamagedAttributeModifier
;   	ReallyDamagedAttributeModifier = BerserkerReallyDamagedAttributeModifier
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;

	End
	 

	Behavior = AIUpdateInterface ModuleTag_03
		AutoAcquireEnemiesWhenIdle 	= 	Yes ATTACK_BUILDINGS
		MoodAttackCheckRate			= 	500
		AILuaEventsList			=	InfantryFunctions
		AttackPriority			= 	AttackPriority_Infantry
;;;;;		BurningDeathTime		=	BURNINGDEATH_DURATION_INFANTRY
	End

Edited by Prolong, 20 November 2010 - 10:52 PM.


#4 Deep Phantom

Deep Phantom
  • New Members
  • 2 posts

Posted 09 February 2018 - 12:29 PM

God Mode Berzerker almost always happens fighting Izengard when playing Men against them. Very annoying, It happens so often I don't play against Izengard... but that is lame.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users