{"id":3383,"date":"2014-07-27T15:10:59","date_gmt":"2014-07-27T05:10:59","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=3383"},"modified":"2014-07-27T15:10:59","modified_gmt":"2014-07-27T05:10:59","slug":"npcs","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2014\/07\/27\/npcs\/","title":{"rendered":"NPCs"},"content":{"rendered":"

\"Screen<\/a>A minor update which involved a lot of code:<\/p>\n

I’ve added a basic framework for NPCs to MMORPG Tycoon 2. Before now, NPCs such as quest-givers were implemented and treated as very small buildings (in MS5, if you select a quest-giver and open the Info Pane, it even describes him as a building).<\/p>\n

As of now, NPCs are a third class of game entity. Just like PCs and Monsters, they have attributes and abilities which they could use in combat. Also like PCs and Monsters, they are considered legal targets. I haven’t written any AI for them yet, so they will not respond at all if attacked, but they should automatically attack anyone who attacks them.<\/p>\n

But after years or mindlessly doing everything that these guys demand, it’s sort of cathartic to spawn yourself into the world and beat up on a quest giver who won’t attack back.<\/p>\n

Anyhow, right now quest givers get created at +10 levels compared against the region you place them in, but that’s just the default value; it will eventually be configurable, either through the Info panel, or perhaps by using different NPC creation tools.<\/p>\n","protected":false},"excerpt":{"rendered":"

A minor update which involved a lot of code: I’ve added a basic framework for NPCs to MMORPG Tycoon 2. Before now, NPCs such as quest-givers were implemented and treated as very small buildings (in MS5, if you select a quest-giver and open the Info Pane, it even describes him as a building). As of…<\/p>\n","protected":false},"author":1,"featured_media":3384,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[24,25],"tags":[],"jetpack_featured_media_url":"https:\/\/www.vectorstorm.com.au\/wp-content\/uploads\/2014\/07\/Screen-Shot-2014-07-27-at-2.55.59-pm.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/so9WK-npcs","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/3383"}],"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=3383"}],"version-history":[{"count":1,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/3383\/revisions"}],"predecessor-version":[{"id":3385,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/3383\/revisions\/3385"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media\/3384"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=3383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=3383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=3383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}