Teamug Blog ⛾

DevBlog #16 - Mining on the Edge

Cover Image for DevBlog #16 - Mining on the Edge
Muggy
Muggy

Steady progress

Since our technical playtest, we've been working through the bugs and reports you've sent our way. There's still quite a bit to do, but that doesn't mean development has come to a halt!

Alongside fixing things, we're also working on new features and systems. Some of these include a ping system, EM-BR Melee Weapons, and a general framework for laser weapons.

Mining Outcrops

While exploring the Edge, you'll come across Mining Outcrops scattered around the map.

These deposits contain valuable Lunom Ore, which can be harvested and collected during your mission.

They're aimed to give you another reason to take a closer look at your surroundings and are completely optional!

mining outcrop

WIP Lunom ore outcrop

For Rock and Stone (with lasers)

For both gameplay and obvious lore reasons, mining isn't something your EM-BR Unit excels at.

Lunom is highly unstable. Using a combat mech weighting a couple tons is probably not very precise, so rather than risking it going unstable, scorchers are equipped with experimental mining tools to break the ore down piece by piece.

mining outcrop

WIP Laser and destruction of the outcrop

Traditionally, extracting Lunom requires a full mining operation, with specialized equipment and infrastructure to safely process the ore. However, deploying an entire mining crew and their equipment for every small deposit scattered throughout the Edge isn't practial at all.

This is where Command took an interest in developing handheld alternatives. Scorchers are now equipped with experimental mining tools that allow them to carefully break down and harvest smaller deposits directly in the field!

Finished Model of the mining tool

WIP model of the mining tool (name tbd)

Ore is collected and shared between all players after it has been refined on the Ark. E.g:

  • Player A collects 13 ore
  • Player B collects 17 ore
  • Both Players recieve 30 refined Lunom

The refinement is done automatically after mission completion.

...But why?

As previously mentioned in other blogposts, refined Lunom is used for new gadgets, attachments and cosmetics for both EM-BR and Scorchers alike!

When playing with friends, others can mine the ore while you cover them. The upcoming ping system will also help with communications around mining!

And because I am proud how it turned out

After a lengthy R&D Session, I am happy with how the burn marks turned out.

They start glowing hot and gradually cool down over time, complete with appropriate smoke and flames!

Details like this are often left out or might seem unnecessary, but I think they add quite a bit to the overall feel of the game. It's a small thing, but seeing it come together exactly how I imagined it is pretty satisfying!

Laser burn marks

Laser Burn Marks

Stuff like this might seem easy, but it's a mix of a custom material, math and some code!

And well, I just wanted to share it with you :D

Technical Stuff

The Material

  • Decal material
  • No texture, the shape is calculated at runtime (capsule)
  • two layers of noise, almost black base color and high roughness
  • "decal lifetime opacity" node to read its lifetime to fade out the glow
  • math (boring)
snippet of the material node graph

Burn Decal Material Node Graph

Decal placement

  • local tick function to check where the laser is firing
  • new burn mark every .2 seconds or if the last decal was placed more than a few UU of distance (not more than 20/s)
  • If the last burn mark is close and recent (under half a second), the new decal is stretched from the last point to the new one, making a connected line instead of dots :D

If you like details just like this, I am sure that you'll like the other ones I've been working on :)

Thank you again for your continued support!



Jannik Dreier

CEO and Technical Lead

Joel Schulz

CEO and Creative Lead