User Tools

Site Tools


Sidebar

Content

Mapcraft - Fantasy map designer

WorldGen - SciFi universe generator

Mapcraft Web - Web based fantasy map designer

All code for the project is released under the GPL, and is copyright Samuel Penn.

The text on this wiki is dual licensed CC-BY-SA and GPL.

You can contact the author at sam@glendale.org.uk

worldgen:simulation

Simulation

Part of the WorldGen system needs to simulate trade within the universe. The type of trade is governed by the Resources available, however the agents performing the trading are ships.

Trade flow is modelled as individual ships, and each one is tracked as it moves between systems. This gives rich information on what the current state of things are (e.g., which ships are in a given star system, which may be useful from an RPG perspective), and also a history of what has gone before.

Demo

Following worlds are being used in testing the simulation, so they are most likely to have market data set up and ships close to them. All are in Reft Sector/New Islands

All worlds are with J1 of each other, but closest other world is J2. This allows us to restrict ships to J1 travel between only these worlds.

There are also the following worlds, which are being used for testing.

  • Orphee - Medieval tech society

Events

Events are logged from the point of view of agents.

SpacePorts can track events within a system, and how well things are tracked depend on the following:

Target Event
5 Taking off from the planet.
10 Landing on the planet.
10 Entering orbit.
20 Jumping out.
30 Jumping in.

Knowing jump distance: +5/parsec

Knowing jump destination: +10/parsec

The spaceport makes a check to notice events, based on the following. The port size governs the attribute, the tech level governs the skill.

Port PER
E 1
D 3
C 5
B 7
A 9
Tech Skill
1-2 0
3-4 1
5-6 2
7 3
+1 +1
worldgen/simulation.txt · Last modified: 2015/02/04 22:39 (external edit)