|
|
|
|
|
December 16th, 2003, 05:19 AM
|
|
Major General
|
|
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 ]
|
December 16th, 2003, 11:47 AM
|
Private
|
|
Join Date: Mar 2002
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Sounds nice. I'll be happy to try at jader@pbpolsoft.com.pl
|
December 16th, 2003, 04:46 PM
|
Second Lieutenant
|
|
Join Date: Apr 2001
Location: Modena, Italy
Posts: 412
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
is the mod files section of the forum dead ? Is no possible to upload modules or related file sanymore ?
|
December 16th, 2003, 05:19 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Combat Simulator Released!
Quote:
Originally posted by Saber Cherry:
I'm looking for a host. But I can also email it to you if you are interested.
|
Host for the file? Web page link or would jsut having it available for a direct link be ok?
Or host for a web site? Familiar with linux?
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
December 17th, 2003, 07:36 AM
|
|
Major General
|
|
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Linux: No. I've used Unix a bit...
I don't need a website, just a link to the file=)
|
December 17th, 2003, 08:18 AM
|
Second Lieutenant
|
|
Join Date: Apr 2001
Location: Modena, Italy
Posts: 412
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
So, if you only need a place where put the fil and let it download, I can host on my game club server, in my space ...
as soon as you send me the file I'lll pit it in
www.treemme.org/~liga/dom2/name_of_yoru_file
|
December 17th, 2003, 08:37 AM
|
|
Major General
|
|
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Ok, I sent it to you=) Thanks! Just reply with the full link once it is uploaded, if you wouldn't mind I don't want to post it yet, so that nobody clicks on a dead link.
-Cherry
|
December 17th, 2003, 10:01 AM
|
|
Major General
|
|
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
Ok! The simulator is now up at www.treemme.org/~liga/dom2/Combat_Simulator.zip
Remember that you must have Java installed! If you need help with setting the path just post the question here... basically, your OS must have a path to Java.exe, so you can set the Java install directory as a default path.
For example, in Windows XP, right click on My Computer, go to Advanced, Environment Variables, and change "Path" to this:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\sy stem32\WBEM;c:\progra~1\java\bin
where the Last one is wherever you installed Java (for me it is in Program Files).
|
December 17th, 2003, 10:02 AM
|
Second Lieutenant
|
|
Join Date: Apr 2001
Location: Modena, Italy
Posts: 412
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
my first real contribution to the dom2 community
[ December 17, 2003, 08:05: Message edited by: liga ]
|
December 18th, 2003, 08:23 PM
|
Corporal
|
|
Join Date: Dec 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Combat Simulator Released!
That link isnt working for me...is it just me?
Thanks
olaf
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|