{"id":788,"date":"2009-09-20T22:14:15","date_gmt":"2009-09-20T12:14:15","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=788"},"modified":"2009-09-20T22:46:38","modified_gmt":"2009-09-20T12:46:38","slug":"the-whole-enchilada","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2009\/09\/20\/the-whole-enchilada\/","title":{"rendered":"The whole enchilada"},"content":{"rendered":"

\"RegionMap\"<\/a>So today I did something which I’ve been meaning to do for months; \u00a0I put in some quick full-MMORPG visualisation code.<\/p>\n

What you’re looking at in this screenshot is almost the entire MMORPG map (there’s a little bit that’s behind the camera or off to one side or the other), viewed from four kilometers up. \u00a0Each of the outlined areas is a “Region”, and is (on average) about three square kilometers of terrain (though some are as large as five or as small as one). \u00a0In relative terms, an average-sized region here is about the size of World of Warcraft’s Goldshire, and this whole map is approximately the same amount of ground terrain that you’d find in all of World of Warcraft’s original “Azeroth” (including the sea between the two main continents), and far more than you’d find in most other MMORPGs.<\/p>\n

This is the first time that I’ve actually seen the large-scale structure of the procedural MMORPG world; \u00a0previously, I had always been working with a camera that was primarily concerned with small-scale details, never going much above a few hundred meters, and never venturing more than one or two regions away from where I’d started. \u00a0I knew that the rest of the world was there, and had flown over it from time to time, but never really paid it close attention. \u00a0However, when viewed from this perspective I have a couple of thoughts:<\/p>\n

    \n
  1. I had forgotten how important it was to have this “massive” zoomed out view of the world, even though I’ve mostly been focusing on the smaller-scale details for MMORPG Tycoon 2. \u00a0Without this massive view, you can’t put your creations into perspective. \u00a0So I must keep something like this in the game.<\/li>\n
  2. If you go back in the archive to the “roads UI” video, at one point you’ll see me fly around in a debug camera, watching AI developers placing quest monsters. \u00a0In that video, even with how far I traveled, I don’t think you ever saw the edge of a region; \u00a0that whole video took place inside just one small section of just one of the regions outlined above. \u00a0Yowza!<\/li>\n
  3. There are a huge number of regions, here. \u00a0Far too many. \u00a0There are around 40 regions total on World of Warcraft’s two main continents, and there are 225 regions in a max-size MMORPG Tycoon world, like this one. \u00a0Now, the MMORPG Tycoon regions do include “impassable water regions” which aren’t counted in WoW’s number, but even with that taken into account, it’s far too many. \u00a040-ish usable regions sounds like a much better (and much less intimidating for the player) number.<\/li>\n
  4. At four kilometers up, all the terrain appears to flatten out; \u00a0the roughly inverted-bowl-shape of the terrain is completely lost from up here, and even hundred-meter-tall cliffs look completely flat from this altitude. \u00a0I had initially hoped that the player would be able to see the basic shape of the terrain from up here, and then move in closer to see details, but now I don’t think that’s going to work; \u00a0there simply won’t be enough verticalness to be visible when you’re zoomed out far enough to see the arrangement of regions.<\/li>\n
  5. Even with the regions flattening out when viewed from up here, I don’t like the basic shape of the regions; \u00a0they look random and haphazard; \u00a0not like they’d been designed by someone. \u00a0I’m not sure exactly what’s wrong with them, but I’m going to need to find a way to make their layout look more human-designed. \u00a0Maybe it’s just an optical illusion, and setting up visible “water regions” to act as boundaries will \u00a0help give structure to groups of regions. \u00a0Or maybe I should switch from the “stretched grid” approach of defining regions that’s I’m using here, to something more organic, like a Voronoi diagram<\/a>. \u00a0Adding visible water from here will be easier, so I’ll try that first.<\/li>\n
  6. I really like having the view from up here be a high-tech vector-style display; \u00a0I’ll probably keep it looking a lot like the views seen in MMORPG Tycoon 1 and 1.1, and only switch into the solid, fully-detailed view when you zoom in, rather than try to maintain that sort of look when the player’s way up here.<\/li>\n<\/ol>\n

    On an entirely different topic, today I modified the VectorStorm library to automatically drop the frame rate cap from 60fps to 10fps when the program is put into the background or minimised. \u00a0Makes it much better behaved with your CPU\/GPU resources now, if you want to alt-tab out to check mail or write a blog post or something. \u00a0:)<\/p>\n","protected":false},"excerpt":{"rendered":"

    So today I did something which I’ve been meaning to do for months; \u00a0I put in some quick full-MMORPG visualisation code. What you’re looking at in this screenshot is almost the entire MMORPG map (there’s a little bit that’s behind the camera or off to one side or the other), viewed from four kilometers up.…<\/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-cI","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/788"}],"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=788"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/788\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}