Galactic War is getting made

Re: Galactic War is getting made

Postby Brutus5000 » 23 Oct 2017, 23:42

Yes, map selection is still a thing that needs work.

This is the basic service that needs to be extended: https://github.com/FAForever/gw-backend ... rvice.java

The general idea was the following: We have a bunch of planet attributes
  • private int size;
  • private boolean habitable;
  • private Ground ground;

The size is supposed to match the map size exactly.

The ground should define the main surface on the map. Grounds are based on orbit level (distance between level and sun) and defined in a decision table (best to be opened with camunda modeler)

Right now the following grounds are available (more would be possible, but need a change in decision table)
  • WATER("W", "water"),
  • SOIL("S", "soil"),
  • LAVA("L", "lava"),
  • DESERT("D", "desert"),
  • FROST("F", "frost");

Habitability should have an impact about how many civilians are on the map.


My idea was to build a database table that has maps defined for each of the possible combinations. The map selector service would then take a random map from those that fit the criteria.
Brutus5000
Avatar-of-War
 
Posts: 99
Joined: 05 Aug 2016, 23:32
Has liked: 13 times
Been liked: 81 times
FAF User Name: brutus5000

Re: Galactic War is getting made

Postby EcoNoob » 25 Oct 2017, 20:28

That sounds like a lot of extra work though, why not save that for a later version? :)
EcoNoob
Avatar-of-War
 
Posts: 195
Joined: 20 Nov 2015, 22:05
Has liked: 115 times
Been liked: 54 times
FAF User Name: EcoNoob

Re: Galactic War is getting made

Postby Brutus5000 » 25 Oct 2017, 22:52

Filling the table is work. The rest is fairly simple.
Brutus5000
Avatar-of-War
 
Posts: 99
Joined: 05 Aug 2016, 23:32
Has liked: 13 times
Been liked: 81 times
FAF User Name: brutus5000

Previous

Return to Galactic War

Who is online

Users browsing this forum: No registered users and 2 guests