Galaxy Design Crash Course

For discussion about the Windows GalaxyNG Server program GamesMasterNG. It is for games masters that use the windows server program an others to share experiences and assistance. Please use the sourceforge site to report bugs.

Moderator: GalaxyNG Moderators

Galaxy Design Crash Course

Postby Ian » Fri, 06 Feb 2009 21:36

All Design parameters are stored in the Game's template file. This file has the format GameName.glx and is in the root of the server folder. These template files can be edited using the GamesMasterNG program or manually using a text editor. It is always good practise to save a copy of a template file before manually editing it.

Basic GalaxyNG Design Parameters.

name: The name of the galaxng Game

size: The size is only approximately right. The Gamesmaster will want to experiment with different sizes to get a galaxy that looks right. It should not be too crowded nor too sparse. The size should be a multiple of ten.

race_spacing: The engine will make sure that distance between the primary homeworlds are at least this number of light years apart.

core_sizes: The default initial sizes of the homeworlds for each race. The first one is the primary homeworld. Usually the player is permitted to select the size of the planets that they wish to a predefined total size.

empty_planets: Number of empty planets to be seeded per player for colonising

empty_radius: Maximum distance from the primary homeworld to place the empty planets. The engine allocates a number of empty planets, size 200 - 1,000 for the race to colonise. The two parameters define how many there are per race and within what radius. A number between 4 and 10 and a radius of race_spacing/2.0 is a good guess.

stuff_planets: It is possible to add a number of 'stuff' planets. These are useless planets, all of size 200 or less, that are use to fill up the empty space between the home worlds. They make it possible for a players to approach (attack) other players by different routes. The parameter specifies how many there are per race.

InitialTechLevels: Initial tech levels: In order : Drive Weapons Shields Cargo. They can't be lower than 1.

FullBombing: Bombed planets are completely bombed and all population, industry, capital, colonists, and materials are gone. Normally the population and industry is reduced to 25% of its original value.

Peace: Pax Galactica: You can enforce global peace just by putting in the number of turns you want to disallow players to declare war on each other. For example, Peace 20 means players cannot declare war until turn 20. (Note that players can load cargo at other players planets. If you do not wish to allow this you must make it a house rule. It cannot be prevented by the GalaxyNG server program.)

KeepProduction: If keepproduction is set, the production points spent on the previous product are preserved, otherwise all points are lost. This affects changing production.

DontDropDead: Don't remove idle races from a game. Normally if players do not send in orders for a couple of turns their race self destructs.

sphericalgalaxy: The galaxy can be (roughly) mapped on a sphere This way, the gap between x (or y) coordinates of two planets is computed with border lines crossing and reappearing on the other side.

GamesMasterNG Additional Parameters.
The parameters below are not announced to the players as they are for the games master to use to add a little spice to the game.

Design Type: Special options to make a custom type of galaxy.
    Leave Alone: Do not change the Design that has currently been generated. This can be used to lock in the design that has been created that may have manual alterations by editing the template file directly.
    On Circle: Locate Primary Planets on a circle.
    On Circle+mid: Locate Primate planets on a circle by put the last player in the middle of the circle (not a nice place to be though)
    GalaxyNG Random: Let GalaxyNG create the galaxy. This will remove all design data from the template.
    Generate randomly: Let GamesMasterNG generate the galaxy similar to what GalaxyNG does.
Orbit Planets: Place the player's initial planets in an orbit around a centre point. This centre point is classified as the players primary planet location.

Orbit Distance: The distance from the centre point to orbit the player's planets

Seed Type: Options to have GamesMasterNG Seed special planets at special locations.
    No Seeding: There is not seeding used in the design.
    Seed Home World: Create a special empty home world. This planet is classified at the primary home world and is in addition to the "empty_planets" defined in the standard GalaxyNG parameters.
    Seed Centre of Circle: Applicable to the "On Circle" design type. This option will generate an empty planet at the middle of the circle.
    Seed Midpoint: Applicable to "Circle" design types. This option places a planet half way between player positions.
Seed Sizes: These optional size parameters allow the Seeding options to have predefined sizes. The order of the sizes are "Home World, Centre of Circle and Midpoint". Leaving a value of 0 will permit GamesMasterNG to allocate a Random size to the planet. There is no restriction to the size of these planets.

Manual Design Changes.
The simplest way to make changes to a design is to first "Apply the design" by editing the template after all players have registered and before the "Create Game" is automatically run. By applying the design all the players and planets are written to the template file and can be manually edited. There are two sections to define the galaxy that have been modified in the windows version of GalaxyNG: Players and Planets.

Player Planets
The players are defined in the tempate as follows, The parameters include the player's e-mail address and their initial planets. When the X and Y location are omitted they are generated by GalaxyNG. Leaving out the homeworld definitions will allow GalaxyNG to generate them based upon the basic parameters.
    start_player
    email player@xxxxxx.xxx
    homeworld size X Y
    homeworld size X Y
    . . .
    end_player

Empty and Stuff Planets.
GamesMasterNG lists the location, size and resources for every planet in the game when it generates the design. These can be edited by the Games Master before the game is "Created".
    Start_Planets
    X Y Size Resources
    X Y Size Resources
    X Y Size Resources
    . . .
    End_Planets

Changes after Creation.
A program called MapEditor can be used to modify the GalaxyNG data file for a game. Planets can be moved and have their sizes and resources changed. It is best to make these changes before turn zero is sent out as it is not ordinarily a good idea to alter things after a game has started.
Ian Evans
Wombat Games Master
http://www.mykoala.net
User avatar
Ian
Game Master
 
Posts: 103
Joined: Fri, 04 Jan 2008 22:15
Location: Townsville, Australia

Re: Galaxy Design Crash Course

Postby panda » Wed, 04 Nov 2009 02:24

Hello,

After searching for new forming games online I decided I should try running a server myself, downloaded and instaled the latest version. However, I can't get it to work, I am stuck with several things...

First, after creating the email address, and changing it in the GamesMaster options, the program stucks on "Receiving E-Mail 1 of 1" - I sent a test registration email...

Another thing is even if I register the players manually, I can't actually start the game... I either get an error in line 91 or the app simply crashes...


Is there a manual for using this server?


Thanks.
panda
Newbie
 
Posts: 1
Joined: Wed, 04 Nov 2009 02:15

Re: Galaxy Design Crash Course

Postby Ian » Mon, 30 Nov 2009 19:14

Panda

Sorry I have not replied until now. Work has been been very hectic and I have had computer problems myself at home and spent a lot of time keeping the game server running. With all that has been happening I failed to see your post.

I now have enough computing resources to test a new install to check out the issues that you have reported.

Ian
Ian Evans
Wombat Games Master
http://www.mykoala.net
User avatar
Ian
Game Master
 
Posts: 103
Joined: Fri, 04 Jan 2008 22:15
Location: Townsville, Australia

Re: Galaxy Design Crash Course

Postby Meatball » Sat, 15 May 2010 18:42

Think I have some of my problems worked out, but I was wondering if you could do a run down of what each of the Run Options do.

Also, I think I have the setup down. Let me know if this is correct.

- Create a new game template. (Do you need to set it active at this point?)
- Apply Design/Close Template.
- Tell players to submit a join request email.
- Once all players are joined, click on the template, select game and Create

What then?

Thanks!
Meatball
Regular
 
Posts: 10
Joined: Thu, 22 May 2008 14:58

Re: Galaxy Design Crash Course

Postby Ian » Sat, 15 May 2010 19:45

Hi Meatball

I have just sat down to look into the problem that you are having and saw your e-mail. I assume you can create a template without crashing now?

Here is your crash course on the order of things to get a game going.

  • Create a game Template.
  • Set the Schedule Active so that you can set it and forget it.
  • Tell players to submit a join request email or add them manually.
    That is it unless you want to manipulate things a bit

    When All Players have registered or after Reg Close Date
  • Use Apply Design and View Map to get a look at the Galaxy layout. Use multiple times until you are happy. You can adjust parameters and re-apply the design many times.
  • Change the Design Type to Leave Alone if you want to keep the Galaxy layout as is. Otherwise the design will be applied again when the next step is run.

    These next two steps will occur automatically when the schedule is active at Start date
  • Create Game. This will build the games files. Map Edit can be used at this stage for final tweaks.
  • Start Game. This will send out the turn 0 reports.

I hope that helps.

I have another version ready to be released. Hopefully today. This has some bugs fixed. One that really causes the program to run slowly. It appends the template to the the template file over and over again. It makes load time very slow.
Ian Evans
Wombat Games Master
http://www.mykoala.net
User avatar
Ian
Game Master
 
Posts: 103
Joined: Fri, 04 Jan 2008 22:15
Location: Townsville, Australia

Re: Galaxy Design Crash Course

Postby Meatball » Sun, 16 May 2010 02:26

Hey Ian,

Yeah, I've gotten past most of the problems. I've been setting up a bunch of test games to try to figure out how things works. Occasionally I'll still get the 91 error and the only way I've found to fix it is to close the program, go into the app directory and delete all game/template related files so it's like a clean install.

Any chance you can clarify what all the "Run Options" actually impact?
- Max Players
- Min Players
- Max Planets
- Max Planet Size
- Total Planet Size
- Reg Open
- Reg Close
- Run Time
- Start Date
- Schedule Days
- Final Orders Checkbox

If you need any help testing the new version, just drop me a line :)
Meatball
Regular
 
Posts: 10
Joined: Thu, 22 May 2008 14:58

Re: Galaxy Design Crash Course

Postby Ian » Sun, 16 May 2010 07:09

You will need to read up on the GalaxyNG program at http://galaxyng.sourceforge.net/ especially the Server guide.

Apart from that
    - Max Players: Maximum number of people that can register for a game.
    - Min Players: The minimum number of players needed before a game will start.
    - Max Planets: Maximum number of planets that a player can define
    - Max Planet Size: The maximum size a player can allocate for a planet
    - Total Planet Size: The total of planet sizes the players can define.
    - Reg Open: From when players can sign up for a game.
    - Reg Close: To when players can signup for a game.
    - Run Time: The time of the day that processing will occur. (4:00am for my server)
    - Start Date: When the game is to start (automatically create the game and start it.)
    - Schedule Days: How many days between turns are run (4 days for my server)
    - Final Orders Checkbox: If all players have submitted Final Orders, then process at the next "Run Time"
Ian Evans
Wombat Games Master
http://www.mykoala.net
User avatar
Ian
Game Master
 
Posts: 103
Joined: Fri, 04 Jan 2008 22:15
Location: Townsville, Australia

Re: Galaxy Design Crash Course

Postby Meatball » Sun, 16 May 2010 12:10

Awesome, thanks much for the info!
Meatball
Regular
 
Posts: 10
Joined: Thu, 22 May 2008 14:58


Return to GamesMasterNG

Who is online

Users browsing this forum: No registered users and 1 guest

cron