.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old December 16th, 2003, 05:19 AM
Saber Cherry's Avatar

Saber Cherry Saber Cherry is offline
Major General
 
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
Saber Cherry is on a distinguished road
Default Combat Simulator Released!

I'm looking for a host. But I can also email it to you if you are interested. To run the simulator, you must hava Java installed.

To run it, unzip it to some directory. From a command prompt, type:

java Fight Unit_1 Unit_2 numberfights

For example:

java Fight Assassin Light_Infantry_1 10000

...would fight an assassin and light infantry (the 5-resource one, with no javelin) 1-on-1 until the battle had been resolved, 10000 times. Then it displays the win percentage for the left unit (the Assassin).

The list of valid units is contained in "UnitTypes.txt". Feel free to add your own, using whatever base creatures, armor, and weapons you want!

-Cherry

Examples:

C:\Projects\Java\Dominions>java Fight Assassin Ulm_Pikeneer_1 200000

'Assassin' versus 'Ulm Pikeneer 1' in 200000 bouts.

Attacker's score: 547 - approximately 54.7% wins.
Attacker's score: 512 - approximately 51.2% wins.

C:\Projects\Java\Dominions>java Fight Assassin Militia 2000000

'Assassin' versus 'Militia' in 2000000 bouts.

Attacker's score: 966 - approximately 96.6% wins.
Attacker's score: 900 - approximately 90.0% wins.

[ December 16, 2003, 03:29: Message edited by: Saber Cherry ]
__________________
Cherry
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 06:50 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.