{"id":1309,"date":"2010-06-08T22:49:07","date_gmt":"2010-06-08T11:49:07","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=1309"},"modified":"2010-06-08T23:07:33","modified_gmt":"2010-06-08T12:07:33","slug":"updates-today","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2010\/06\/08\/updates-today\/","title":{"rendered":"Updates today"},"content":{"rendered":"

\"\"<\/a>So today I worked on the “getting jumped on by too many monsters” problem that I mentioned yesterday.<\/p>\n

First thing I did was to adjust the block used to represent PCs and monsters. \u00a0Those blocks were a really weird size; \u00a0I’ve fixed them to be approximately the dimensions of a standing human, so it’s easier to see scale and density. \u00a0Second, I made it so that monsters wouldn’t spot PCs until the PC came within 10 meters (previously, was 20 meters). \u00a0Third, I made it so that monsters wouldn’t chase a PC more than 30 meters from his spawn position (previously, was 80 meters). \u00a0Fourth, I adjusted the distances that players and monsters tried to stand from each other, in order to fight. \u00a0(They now try to stand between 1 and 3 meters apart, was previously 10 to 30 centimeters).<\/p>\n

Finally, I fixed a bug in the PC AI. \u00a0Here’s what was happening:<\/p>\n

    \n
  1. PC is noticed by a monster. \u00a0PC decides to fight it, and moves toward it.<\/li>\n
  2. On his way to that monster, PC is noticed by a different monster. \u00a0PC decides to fight it, and moves toward this new monster.<\/li>\n
  3. On his way to that new monster, PC is noticed by yet another different monster. \u00a0PC decides to fight it, repeat ad infinitum.<\/li>\n<\/ol>\n

    This, as it turns out, was one of the big reasons why the PC was being jumped by five to ten monsters immediately upon entering a grinding area; \u00a0each time he attracted the attention of a new monster, he’d forget the monster he was already fighting, and charge toward the new monster, and this would inevitably snowball as more and more monsters noticed his headlong charge into the grinding zone.<\/p>\n

    All fixed now, though! \u00a0The PC no longer switches targets if he attracts an additional monster; \u00a0he stays where he is, and avoids attracting yet more monsters. \u00a0With this change, my single PC is now perfectly able to grind through the monsters in the grinding zone without being killed.<\/p>\n","protected":false},"excerpt":{"rendered":"

    So today I worked on the “getting jumped on by too many monsters” problem that I mentioned yesterday. First thing I did was to adjust the block used to represent PCs and monsters. \u00a0Those blocks were a really weird size; \u00a0I’ve fixed them to be approximately the dimensions of a standing human, so it’s easier…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[24,25],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-l7","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1309"}],"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=1309"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1309\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=1309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=1309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=1309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}