preload button hover image:
HomeSearchRankingsStatisticsAboutContact
Current Time: May 03, 2024, 06:11:31 pm
 Dwarf Fortress File Depot » Utilities » Mace testing scripts
      
Registration is not required to download. However, it will allow you to vote, comment, and upload. Forgot your password?
File Listing: Mace testing scripts
Last Updated: Sep 18, 2014, 12:03:42 pm
First Created: Sep 17, 2014, 10:36:00 pm
File version: 1.1
For DF version: 0.40.12
Downloads: 37 (38) Size: 7.94 MB
Views: 242 (256) Type: ZIP
Home:  Forum page
Rating (0 votes): Unrated
Description
These files are to aid in arena testing of maces vs. warhammers

Install Instructions:

1) Just unzip and run. I have packaged this into the windows version of DF 40.13. If you want to run on another OS, you would need to copy the data, init, and calc_deflect_simple.pl script to a fresh DF install.

Useage:
0) Rename or remove gamelog.txt. You only want to parse data from the current test, not other tests or anything else.

1) Open the arena, and move to the upper left cell, and create one creature on side 1 armed as you want side 1 to be. Then run one of the armor_[skilllevel] or naked_[skilllevel] scripts.

3) Unpause the game, and watch the !FUN!. It may run very slowly if your computer is as crappy as mine (it takes up to 20 minutes, and at first appears to be locked up - I think the original pathing to decide who kills who is slow, but once they choose targets it goes much faster).

4) After you are happy with the carnage, run calc_deflect_simple.pl (a perl script). You can also run this before the test if done if you want to see how it's going. Download Strawberry Perl for windows and install. Then open a command prompt (go to the start menu and type cmd), navigate to your DF install, and type "perl calc_deflect_simple.pl". The output will be the number of battles won by each side (more precisely, the number of deaths out of the first 1000 for the opposing side). If you decide to run with creatures other than dwarves, you will need to edit the first couple of lines of calc_deflect_simple.pl that contain "side1=Dwarf" and "side2=Dwarf" to the appropriate creatures. Capitalization matters.
Raw Data: JSON / Text
Checksum / Hash
SHA-256: cd05e7f7275b954d4ce0e3e221015a274ade0145522e5caf684064f0e0c3d994
IP: logged
Commands
More From This Author
Comments
No comments have been posted for this file yet.
HomeSearchRankingsStatisticsAboutContact

Website by Brett Flannigan. The core site script is PHCDownload (© 2005-2024).
Hosted by Linode.