Devblog 43 – Weekly update

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.

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 and will be placed around the proceduraly generated villages by Domen.

props farmers lowpoly floatlands

Farmer props: haystacks, bales of hay, wooden barrels and carts

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, so I had to make connecting ports that will be placed on the devices and have wires plugged into them.

electricity assets models floatlands

Generator, battery stack, light, charging station

Electric system vili ikona

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)

electricity connection lowpoly floatlands

Connecting electric elements in build mode


Concept for electricity elements Mito Horvat

Vili is currently working on electricity 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 even 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.

electricity elements concept floatlands

Concept for electrical system elements

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.

No Comments

Leave a Reply


Techies, Farmers and Dungeons