project-navigation
Personal tools

Author Topic: Minimum size of maps  (Read 5392 times)

HaJo

  • Guest
Minimum size of maps
« on: August 14, 2006, 06:59:34 pm »
What is the minimum size of maps, and how do you make sure
that a random map will get enough spawn-points ?

I made a "tiny" assembly-theme for the oriental map, but
when playing it, I get only 0-2 aliens and a few civilians.

The game does not check for 0 aliens at end-of-round,
so I have to kill an civilian to finish the map...

Rei

  • Guest
Minimum size of maps
« Reply #1 on: August 14, 2006, 09:42:22 pm »
From what I understand, random map generation needs some work.  The generator should check that sort of stuff for you.  I'd still file the "game not checking for 0 aliens" as a bug, though.

While you're messing with maps, care to let me know whether you think that the autogenerated maps are good enough for inclusion into the game?  I'll write a mission file generator for them when they are.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Minimum size of maps
« Reply #2 on: August 14, 2006, 09:45:05 pm »
well - it is a bug that there are 0 aliens - but not the check for 0 aliens.

if we "fix" this we can't easily test maps without starting a real game - because the game always quits right after start if there is no alien.

HaJo

  • Guest
Minimum size of maps
« Reply #3 on: August 14, 2006, 09:50:17 pm »
Quote from: "Mattn"
if we "fix" this we can't easily test maps without starting a real game -
because the game always quits right after start if there is no alien.

How about checking for 0 aliens at end-of-round instead of at the start ?

HaJo

  • Guest
Minimum size of maps
« Reply #4 on: August 18, 2006, 04:43:56 pm »
Quote from: "Rei"
random map generation needs some work.

I added some descriptions for the tiles in orientald.ump and villaged.ump,
and also assemblys for some small test-maps.

See issues 1542667 and 1542665 on sf.net,
https://sourceforge.net/tracker/index.php?func=detail&aid=1542667&group_id=157793&atid=805244
https://sourceforge.net/tracker/index.php?func=detail&aid=1542665&group_id=157793&atid=805244

E.g. with "map +villaged street2" I can get 2 aliens and some civilians onto the map.
The other small maps only spawn civilians, but mostly no error messages
about too few spawn-points for aliens.