<\/a>I’ve been poking with the game’s monster AI today, amongst other things.<\/p>\nIn all the recent milestone builds, a certain pattern would commonly play out in combat:\u00a0 the player would run toward the monster, but the monster would typically stay at its spawn point, just shooting fireballs until the player got close.<\/p>\n
This happens because of an awkward interaction between the player AI and the monster AI:<\/p>\n
When a player decides to attack a monster, they first decide what their best attack is, and then advance to get into range for that attack, using longer-range attacks while approaching.\u00a0 Monsters aren’t nearly as smart;\u00a0 if they have an attack which can hit the player, they’ll use it.\u00a0 If not, they’ll advance until they have an attack that can reach the player.<\/p>\n
As a result, while players are running forward toward the monster and trying to bring their best attack into play, the monsters will typically stand completely still, firing their longest-ranged attack over and over again.<\/p>\n
From a tactical standpoint, that might not actually be a bad idea, but in this game we don’t want smart monsters.\u00a0 We want monsters that behave the way they appear to behave in most MMORPGs.\u00a0 And that means that once monsters aggro on a player, they should move toward that player.<\/p>\n
So I’ve tweaked their AI.\u00a0 Now, instead of only considering attacks which are in range, they pick a random attack from their whole set.\u00a0 If the attack they’ve selected isn’t in range, then the monster tries to move to get it in range.<\/p>\n
As a result, any monster which possesses a melee attack will now run toward players when combat begins.\u00a0 If they defeat the player, they’ll then run back to their spawn area.\u00a0 All of this makes combat move around much more like real MMORPG combat.\u00a0 With is a very good thing!<\/p>\n
Also new (partially visible in this image), players now have visible weapons.\u00a0 These weapons aren’t really linked up to anything yet, but I feel like they really help the visuals in combat.<\/p>\n","protected":false},"excerpt":{"rendered":"
I’ve been poking with the game’s monster AI today, amongst other things. In all the recent milestone builds, a certain pattern would commonly play out in combat:\u00a0 the player would run toward the monster, but the monster would typically stay at its spawn point, just shooting fireballs until the player got close. This happens because…<\/p>\n","protected":false},"author":1,"featured_media":3730,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[24,25,3],"tags":[],"jetpack_featured_media_url":"https:\/\/www.vectorstorm.com.au\/wp-content\/uploads\/2015\/11\/fight.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-Y9","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/3729"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=3729"}],"version-history":[{"count":1,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/3729\/revisions"}],"predecessor-version":[{"id":3731,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/3729\/revisions\/3731"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media\/3730"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=3729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=3729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=3729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}