3.14.2017

Ship of Heroes Devs on the Supervillains Every MMO Must Contend With

By Jeremy Peel

It’s tempting to call City of Heroes a venerable MMO, such was its stature, but to do so makes it sound dry and dusty. Cryptic Games’ grand metropolis wasn’t either of those things. It was vibrant and magnetic, a game of superhero dress-up where flying was the only way to travel.

Strategy consultant and lifelong MMO player Casey McGeever was still playing City of Heroes in 2012, when the game’s last remaining residents gathered in central Atlas Park to give Paragon City a proper send-off.

“It had a very powerful following,” he says. “I think I had more than 60 characters up to the Incarnate level on three different servers. When that game closed, there was a gap.”

blogAssets%2F2017%2FMARCH+2017%2FMIU+-+Ship+of+Heroes%2FMIU_ShipOfHeroes_Pic1-770x495-ec12617f09d13c5be05c57043fb448f129b3b449

McGeever has since become CEO of Heroic Games, a studio dedicated to rebottling the optimistic spirit that powered City of Heroes in a new body: Ship of Heroes.

But how do you go from nothing - an independent studio with no games to its name - to a working MMO? Don’t those things have to have open worlds? Servers? Netcode?

Building a metropolis

blogAssets%2F2017%2FMARCH+2017%2FMIU+-+Ship+of+Heroes%2FMIU_ShipOfHeroes_Pic2-770x495-6c661314941662010a2ebf0777e17ad574054b4c

Heroic have coped with the scale by starting small. In Ship of Heroes lore, a united humankind is travelling through space aboard the FHS Justice, where tens of millions occupy simulated idylls. Apotheosis City, the gleaming patchwork of skyscrapers Heroic are building now, is just one.

McGeever lays out the plan: “We build the environment, we build a combat system, we build art objects. For us, the character creator is a very important piece. When we set all that in place, that helps us determine how much capacity [we need], how much we’re gonna network, these sorts of things. We’re getting to that point right now.”
 

Vector tricks

There are windows in the hull of the simulated Apotheosis City. They show the stars outside, giving Ship of Heroes’ sci-fi lore a foothold in its world. But when Wilson spins the camera outside the map, it becomes clear there is no huge, starry skybox at all - simply a flat window pane and some technical trickery.

“Materials are extremely advanced in UE4,” he says. “There are massive amounts of things you can do to get these really cool effects. This is using a 2D vector to find the [player] camera’s location and then translate that over so that it looks like they’re looking out of the window.”

As the player moves, the 2D image of space shifts from side to side to match their perspective. In a fashion reminiscent of Sonic’s parallax scrolling, it gives the illusion of a much larger world outside.

“Tricky, tricky,” says Wilson, happily.

Stress testing

blogAssets%2F2017%2FMARCH+2017%2FMIU+-+Ship+of+Heroes%2FMIU_ShipOfHeroes_Pic3-770x495-2257762ba5d93099bd0d9aeab0bd53b12dc3b6e1

Heroic have the unenviable task of preparing for massive player numbers they can’t yet test. Surely there’s a lot of guesswork involved in building a platform that can take the strain?

“I personally met with senior technical and business people from five or six different engine suppliers,” McGeever recalls. “I actually had discussions to say, ‘Could we have a raid with 500 players and 600 NPC enemies simultaneously in a single instance?’. Aspirationally we use that as a check mark.”

“There are several tools within Unreal Engine 4 that allow you to check things, such as texture streaming and the light, and allow you to determine minimum specifications as you’re building,” adds lead developer Matthew Wilson.

Even as Heroic raise Apotheosis City from the ground they’re testing for potential pitfalls, like texture resolution and overall poly-counts, in the Unreal editor.

Combating lag

MMOs are famous - notorious, even - for steadily-paced cooldown combat. It’s a tradition born from necessity. Faced with huge numbers of international players and high latency - i.e. the time between you selecting to cast a fireball and the transfer of that instruction to the server - early MMO developers designed combat systems that didn’t rely too heavily on second-to-second action and the frequent transfer of data.

“It is an issue, particular if you’re trying to have players simultaneously in Australia, Canada and Leipzig,” says McGeever. “We decided on traditional MMO methodology - tab-targeting.”

Like many creative decisions forced by technical limitation, however, cooldown-based MMO combat has developed into a much-loved style.

“I think for a lot of reasons MMO players are used to that and they like it,” muses McGeever. “If you don’t like it, you go out to some other multiplayer game where you can get more of a twitch experience.”

Character creation

blogAssets%2F2017%2FMARCH+2017%2FMIU+-+Ship+of+Heroes%2FMIU_ShipOfHeroes_Pic4-770x433-c4a4876ade852d1bbca894fa122f106ed4744e3d


One of the greatest technical hurdles Ship of Heroes has to overcome is one of the least appreciated: character creation.

Wilson has done his homework on morphing - the tech that allows a character creator’s sliders to deform object meshes and so change the shape of a character’s body. One morph might increase the size of their chest, for instance, while another builds muscle - extending that chest still further. Part of Wilson’s job is ensuring that when morphs combine, they don’t take the character into proportions that are completely absurd.

“We don’t want people to have chests that extend out five feet from their character through a combination of various morphs,” he notes.

Whenever the team make a new morph, they test-combine it with every other morph in the creator to keep things sensible. Not something the developers of Saints Row or The Sims 2 seemed to bother with.

Clearly, costumes are hugely important in a game about superheroes - but clothing is a whole other wardrobe of potential nightmares. Ship of Heroes currently has 11 customisable clothing slots on each character, and there will be more.

blogAssets%2F2017%2FMARCH+2017%2FMIU+-+Ship+of+Heroes%2FMIU_ShipOfHeroes_Pic5-770x433-c247a9a5cae0fedab32ee9fc4ecc2721f37a4893

“You can change your shirt, your pants, your underwear, your shoes, your leggings, your gloves,” suggests Wilson. “And you can mix and match these articles with your shoulders, your helmet, your mask. Maybe you want earrings, maybe you want to wear glasses.”

You might have equipped a shirt that hangs down below the waist (recklessly ignoring the advice of The Incredibles’ Edna on low-hanging articles of superhero clothing). But if you’re also wearing trousers, those two items need to talk to each other so they know how to interact. In this instance, the shirt may tuck in, to avoid clipping through the pants.

In this way, Heroic avoid what could be major distractions in an avatar you follow around for hundreds of hours. It’s an essential detail in a game which, like City of Heroes, is all about following a character into peril and adventure.

“It’s not about capturing the object of ultimate doom or defeating the ultimate boss,” says McGeever. “It’s a journey, not a destination.”

Heroic are planning a Kickstarter for Ship of Heroes beginning in April. Unreal Engine 4 is now free.

Editor's Note: PCGamesN selects fantastic Unreal Engine games and interviews developers of their choosing for the long-running "Making It in Unreal" series. Epic has no influence on the editorial process.

Recent Posts

BMW Brings Mixed Reality to Automotive Design with Unreal Engine

The world of automotive design is changing rapidly, with real-time technolo...

Sumo Digital Discusses Shipping on Nintendo Switch

The studio that used Unreal Engine to bring Snake Pass to Switch speaks abo...

Join us for Unreal Academy: Enterprise

Unlock the power of Unreal Engine for Enterprise in our upcoming two-day tr...