A question...
#2
Posted 25 June 2015 - 11:12 AM
Might be the reason they are cheaper, you need to keep an eye on them or they will die easily
Or do you actually mean coding behind it?
And if so AI wise or simple unit logic wise?
Edited by Ridder Geel, 25 June 2015 - 11:13 AM.
#4
Posted 25 June 2015 - 12:02 PM
Hm... Is lurtz using his bow at the time that he runs after them?
Maybe the attack range or vision range has something to do with it.
#6
Posted 25 June 2015 - 03:14 PM
Oh wait, before i continue looking into this, BFME 2 or ROTWK? (as in which one are you using, that way i know where to look ) (not sure it makes a difference but ok )
#8
Posted 26 June 2015 - 02:06 AM
Yes they auto-acquire enemies over huge lengths. Haven't looked into fixing it though.
Edited by The Smoking Man, 26 June 2015 - 02:07 AM.
~ Former "Rise of the Witch-king Patch 2.02" Project Coordinator, Developer and Sound Artist (version 5.0.0 & 5.0.1) ~
~ Former GameReplays.org Events Manager, Advisor, Senior Referee (2x), Strategy Specialist (2x) and Replay Reviewer ~
~ Former Clanwars.cc Rise of the Witch-king section Administrator (2x) ~
~ Can't run Rise of the Witch-king on Windows 10 without the CD? Try my No-DVD Maxi-image files! ~
Download The Battle for Middle-earth
#9
Posted 26 June 2015 - 08:05 PM
Might it be in the LUA? i mean,
looks like lurtz doesn't have functions
his code related this:
Behavior = AIUpdateInterface ModuleTag_03 AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS MoodAttackCheckRate = 500 AttackPriority = AttackPriority_Archer CanAttackWhileContained = Yes End
#10
Posted 26 June 2015 - 08:42 PM
I'd guess it would be this:
VisionRange = VISION_HERO_RANGED ShroudClearingRange = SHROUD_CLEAR_RANGED_HERO
as other heroes have
VisionRange = VISION_STANDARD_MELEE ShroudClearingRange = SHROUD_CLEAR_STANDARD
Or at least the vision part. Since Melee is 150 and Hero Ranged is 450
It would only make sense they attack something when they see it. (Without fog of war perma revealed)
I'd assume it's for all archer heroes to attack further away. But they haven't developed an advanced system where it checked for sword or bow out. So it would just force him to attack from that distance instead.
Edited by Maximan, 26 June 2015 - 08:44 PM.
#12
Posted 01 July 2015 - 05:02 PM
1. I'd assume the presetrange is the range of the spell, like the range the unit/hero has to be in to fire it, for an example sarumans fireball.
2. do you mean lotr.str?
#14
Posted 06 July 2015 - 10:29 PM
hmm i dont know, i've never needed to create a new hero
#15
Posted 07 July 2015 - 11:20 AM
?
----------------->
DeathFX = FX_WitchKingDieToRespawn ;FXList to play when killed-to-respawn ButtonImage = HIWitchKing_res
----------->
FXList FX_WitchKingDieToRespawn EvaEvent EvaEventOwner = WitchKingDie EvaEventAlly = None End End
------------------------>
NewEvaEvent WitchKingDie Priority = 7 TimeBetweenEventsMS = 30000 ; 30 seconds. Don't play more often than this ExpirationTimeMS = 5000 ; 5 seconds. If Eva is busy, hold the event this long before giving up AlwaysPlayFromHomeBase = Yes ; Don't want voice coming from dead body SideSound Side = Isengard Sound = CampOrcDieWitchKing End SideSound Side = Mordor Sound = CampOrcDieWitchKing End End
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users