Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Academy » Battle simulator
Battle simulator Wed, 24 November 2004 13:12 Go to previous message
Staz is currently offline Staz

 
Lieutenant

Messages: 514
Registered: November 2003
Location: UK
I have got the battle simulator to what I would call an "alpha test" stage. If anyone wants to play with it, PM me with your email address and I'll send you a copy.

As I can't be bothered to write a proper GUI for it at the moment you have to define the battle by creating a text file in the appropriate format (see below).

The program is written in Java so you will need a Java runtime environment (see java.sun.com) but that does mean you don't need to be a Windows user to use it.

The Sample.sim file...

RandomSeed=543634
StackCount=2

Stacks.0.orders=1
Stacks.0.owner=Human
Stacks.0.shipCount=1
Stacks.0.side=1
Stacks.0.naturalOrder=0
ShipDesigns.0.armour=2000
ShipDesigns.0.boraniumCost=1
ShipDesigns.0.hull=Battleship
ShipDesigns.0.hullCode=6
ShipDesigns.0.initiative=0
ShipDesigns.0.jamming=0
ShipDesigns.0.mass=0
ShipDesigns.0.name=Epsilon BB
ShipDesigns.0.owner=Human
ShipDesigns.0.regenShields=false
ShipDesigns.0.resourceCost=1
ShipDesigns.0.shields=0
ShipDesigns.0.speed4=4
ShipDesigns.0.weaponSlots.1.count=1
ShipDesigns.0.weaponSlots.1.name=Epsilon Torpedo
ShipDesigns.0.weaponSlots.count=1

Stacks.1.orders=1
Stacks.1.owner=Alien
Stacks.1.shipCount=10
Stacks.1.side=2
Stacks.1.naturalOrder=1
ShipDesigns.1.armour=20
ShipDesigns.1.boraniumCost=1
ShipDesigns.1.hull=Scout
ShipDesigns.1.hullCode=1
ShipDesigns.1.initiative=0
ShipDesigns.1.jamming=0
ShipDesigns.1.mass=0
ShipDesigns.1.name=Shield Scout
ShipDesigns.1.owner=Alien
ShipDesigns.1.regenShields=false
ShipDesigns.1.resourceCost=1
ShipDesigns.1.shields=500
ShipDesigns.1.speed4=4
ShipDesigns.1.weaponSlots.count=0

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cost 0 setup
Next Topic: Attractiveness for mixed weapon designs
Goto Forum:
  


Current Time: Tue May 14 15:00:49 EDT 2024