Post news RSS Floatlands devblog #37 - weekly update

Humans of Floatlands in action; Farmer props, assets for electric system; Electric system; Concept for electricity elements.

Posted by on

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.

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.

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.

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:

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)

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.

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.

More about Floatlands:

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.