Devblog 43 – Weekly update

Concept for electric system elements

MITO HORVAT

Vili is currently working on electric system which we will add to the game very soon. He asked me and Andrej to come up with some concept sketches and some prototype 3D models. Since the electricity is still work in progress these presented elements will most likely be just placeholders and will be a subject to change in the near future. Players will be able to use electricity to illuminate the shelters and protect them with turrets. You’ll also be able to rejuvenate yourself with some of the components. Below you can see some of the electricity elements, from various hubs and switches to batteries and fuel generators. These will all be connectable with the cables system that is already in place.

electric system elements concept floatlands
Concept for electrical system elements

Electric system

VILI VOLČINI

There is a global graph where node represents an electric device (battery, generator, light.. ) and a link (cable connection). Links are bidirectional. When you modify the electric system (add a connection or a new device), graph gets rebuilt. With that I mean global graph is split into groups. Each group represents a single electric system.

Every device has a battery – there are two kinds of batteries: external and internal. External batteries give up energy, internal are parasitic and they keep it for themselves (they don’t send it back to the network). Generators and storages have external batteries, electricity users have internal battery. Electric nodes/devices also have a transfer rate, which tells you how much energy they can transfer in one second. An example of what can be done so far with a battery, generator, 4-switch and a light:

electric system build floatlands

It’s also easy to connect things in build mode:

1. Select first connector (cable is blue)
2. Select second connector and that’s it (cable is green)

electric system connection lowpoly floatlands
Connecting electric elements in build mode

Assets for electric system

ANDREJ KREBS

I also made some assets for the electric system that Vili is implementing. These are various devices that generate, use or store electric power and connect together with cables. In order to plug wires into these devices, you will need connecting ports, which I also made.

electric system assets models floatlands
Generator, battery stack, light, charging station

Humans of Floatlands in action

DOMEN KONESKI

I’ve started working on Humans of Floatlands aspect of the game – friendly zones on the islands that provide you with loot, quests, vendors and perhaps a little bit of action. Andrej did an excellent job modeling Farmers buildings and my job was implementing them in the world.

electric system shop night lowpoly floatlands
Farmer shop

The hardest thing is placing buildings, since they are large meshes that need to fit perfectly on a bumpy terrain. I wrote an algorithm that bruteforces an optimal position and rotation of an object to be placed on a terrain. It also checks if it collides with other objects so we don’t have any weird placements inside other buildings. Next up: spawning various props, spawning NPCs, vendors and quest givers, loot spawning. A quick preview of how it works so far:

Farmer props

ANDREJ KREBS

Continuing with the humans of Floatlands, I started to work on props that will spawn in the farming villages to add detail and make it feel more genuine. Haystacks, bales of hay, wooden barrels and carts are just some of the objects that you will find lying arround on a farm. Domen’s procedural generator will place them around the villages accordingly.

electric system props farmers lowpoly floatlands
Farmer props: haystacks, bales of hay, wooden barrels and carts

Join us on Discord


No Comments

Leave a Reply