Skip to main content
.

Units and Weight

Units and Weight

As we have commented before, we are developing the part of Unit Transportation between planets and stars. It will be an interesting system that will allow players to control transit routes around the unirverse.

Before we start this part of the project, we needed to end a part of the game that I have been postpone for a long time, the Squadron Creation.

What are Squads

Our Units, the creatures we use to bring pandemonium to other players, can be grouped in Squads, a group of units of the same class. There's a limit of how many units a Squad can have. We can create teams of different squads..

A team of 3 Squadrons, one with 4 units and the other 2 with six units.

 

Weights and Squads

To control the maximun limit of unit per squad,  we created a player property  called Maximun Weight per Squad.It start with 1000 Kg but can be expanded with researchs.

Now as we use biomes to create a unit, each biome comes with a weight and the sum of different biomes are going to give us a final weight for the unit. For example if a creature we have just created has a weight of 320Kg, you can create a Squad of  3 units, because  3 * 320 = 960 and you still have 40Kg to use (hope this quantity of math doesn't hurt someone). But if we create a unit with 340Kg (20 kilos more), you will only be able to create 2 units in that squad because with 3 units you are going to pass the limit of  1000Kg , 3 * 340 = 1020.

In the red box, we show the maximun quantity of units per squad., together with the weight of the unit. 

 

Well Squad is a word that Im using to define this unit agrupation, but if someone has a better name, please dont be shy and tell me. Now we have to develop the transport between planets and stars!.

See ya.


Notice: Trying to get property of non-object in /home/gamaru/xhelos.gamaru.studio/modules/dblog/dblog.module on line 137