.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   Combat Simulator Released! (http://forum.shrapnelgames.com/showthread.php?t=17065)

UNIVAC December 18th, 2003 08:39 PM

Re: Combat Simulator Released!
 
The site is down.It worked two days ago...
Try here:

Combat Sim

Saber Cherry December 18th, 2003 09:18 PM

Re: Combat Simulator Released!
 
Univac: I have a more recent Version, with more recent data files, a better readme, and a couple internal improvements ready to go. Would you like me to send it to you so you can host the latest Version? If so , pm me your email address. And by the way, thanks a lot for the link!

Saber Cherry December 19th, 2003 08:52 AM

Re: Combat Simulator Released!
 
OK, Univac now has the latest Version (I sent it, and he will upload it to the link's destination soon). It has lots more units and has a bug in repel attempts fixed, so the data should be much more accurate. If you download it, and it says "Version 6" in the readme, you have the latest Version!

-Cherry

Interface improvement: You can now use lower cases and periods, so you can use the program without ever pressing shift (except for the filenames). Example:

java Fight at.spearman.1 AT_Spearman_2

...will work correctly.

[ December 19, 2003, 06:55: Message edited by: Saber Cherry ]

UNIVAC December 19th, 2003 10:22 AM

Re: Combat Simulator Released!
 
Uploaded new Version!

Check it here

PDF December 19th, 2003 11:56 PM

Re: Combat Simulator Released!
 
Can't get it to work http://forum.shrapnelgames.com/images/icons/icon9.gif
When I launch the command line (under W98SE), a DOS windows appear, and after maybe 0.1 sec after it closes, before I can read anything else than "Exception....".
How to make the window pause ?

UNIVAC December 20th, 2003 12:16 AM

Re: Combat Simulator Released!
 
Forget the command option in start menu.Open a DOS console session and follow the steps:

1-You open the DOS console window
2-You go to the directory where you have installed combat sim
3- you type "java Fight Unit_1 Unit_2 numberfights"
4- Look the results...or look the error
5- Post here if all went right or not http://forum.shrapnelgames.com/images/icons/icon10.gif


With the command option, you never will be able to see the results of the fight, you need to open a console session.

[ December 19, 2003, 22:19: Message edited by: UNIVAC ]

Saber Cherry December 20th, 2003 04:06 AM

Re: Combat Simulator Released!
 
Quote:

Originally posted by UNIVAC:
With the command option, you never will be able to see the results of the fight, you need to open a console session.
<font size="2" face="sans-serif, arial, verdana">Hmmm... I could reprogram it so that it will run from a bat file. If I ask for input once it is done, the window will stay open until the user types something. But, that would be annoying in a console.

Regardless, if you cannot get to to a DOS prompt, go to start > run and type "cmd", which will bring up a DOS box window. I'll put that in the readme=) But it sounds like maybe you don't have java installed correctly (hard to say from the info provided). I forget how to configure the path in Windows 98... I think you add the line "setpath=c:\progra~1\java\bin\" in config.sys, but I'm not sure. No matter what path you use, you can ALWAYS type the following:

c:\progra~1\java\bin\Java Fight Militia Medium_Militia

...which specifies a path. Replace the initial junk with the location of java.exe, of course.

P.S. Incidentally... in Windows you can press the up arrow to cycle through previously typed lines... useful for slow typists like me.

[ December 20, 2003, 02:20: Message edited by: Saber Cherry ]

PDF December 20th, 2003 01:36 PM

Re: Combat Simulator Released!
 
The problem is that :
Java runs OK from Program>Run, but then I'm unable to read anything more than a couple words...
I can open a DOS box, but then when I try to run Java it says "This program can't be run in DOS mode" ...

So ? http://forum.shrapnelgames.com/image...s/confused.gif

Saber Cherry December 20th, 2003 07:09 PM

Re: Combat Simulator Released!
 
Quote:

Originally posted by PDF:
The problem is that :
Java runs OK from Program>Run, but then I'm unable to read anything more than a couple words...
I can open a DOS box, but then when I try to run Java it says "This program can't be run in DOS mode" ...

So ? http://forum.shrapnelgames.com/image...s/confused.gif

<font size="2" face="sans-serif, arial, verdana">If Java runs OK from start>run, you can type "java c:\simulator\Fight Militia Militia"
or wherever the simulator is installed. It takes a few seconds to run, so the window will stay open long enough to at least see the "deathmatch" results... and you can always press <pause> on the keyboard to freeze it for a while. I think I'll change it so all the results are added to a "results.txt" file (in addition to being displayed on the screen)... but I won't be able to do that until later today.

-Cherry

Saber Cherry December 21st, 2003 05:06 AM

Re: Combat Simulator Released!
 
The new release (8) is not quite ready yet. However, a new feature has been added...

Matrix Power Rankings!!!

Every unit in the database fights against every other unit, and the results are averaged, to determine the average effectiveness of a unit against all other (known) units. This takes a while, since there are "N" fights for every combination of 2 units.

You can also specify a matrix subset, for example, power rankings involving just Ulm and Ermor units, to determine which units to build if you are Ulm, at war with Ermor (*cough* ywl... pikeneers cannot repel units with 50 morale).

Here are the statistics for all the units I have so far. But first:

What is modeled? Almost everything that effects normal units, like regeneration, lucky, ethereal, reinvigoration, poison, poison immunity, repels, being undead, life drain, being lifeless, fatigue effects (stat reduction and falling asleep), armor piercing and negating, magic weapons, and all the basic stuff.

What is not modeled (or not quite right)? Fear, chill, heat, poison clouds, spiky armor, magic resist saves, weapons with ammo (including lances), awe, paralysis, trample, damage from excess fatigue, fatigue damage from weapons, fire immunity, electrical immunity, cold immunity, bless effects, area of effect weapons, afflictions, experience, dominion bonuses (to MR and Morale), scale effects (heat and cold scales), stat increases from magic levels.

What will never be modeled? Ranged attacks, magic attacks, routing, or any battle movements other than melee attack.

So... here are the current unit power rankings! Remember, Militia's "Deathmatch" 11.4% means a fresh militia unit will win 11.4% of fights against all the other units listed, in a deathmatch.

--Edit: replaced with a more recent Version, above--

-Cherry

[ December 21, 2003, 05:10: Message edited by: Saber Cherry ]


All times are GMT -4. The time now is 02:04 AM.

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