preload button hover image:
HomeSearchRankingsStatisticsAboutContact
Current Time: Apr 26, 2024, 07:50:07 pm
 Dwarf Fortress File Depot » Utilities » Melee Testing Scripts
      
Registration is not required to download. However, it will allow you to vote, comment, and upload. Forgot your password?
File Listing: Melee Testing Scripts
Last Updated: Sep 15, 2014, 10:01:47 pm
File version: 1.0
For DF version: Multiple
Downloads: 28 Size: 5.2 KB
Views: 273 Type: ZIP
Home:  Visit Homepage
Rating (0 votes): Unrated
Description
These files are to aid in arena testing of melee combat in large batches.

Install Instructions:

1) Unpack a new install of dwarf fortress. You will be messing with the raws, so best not to use the one you use to actually play the game...

2) It is recommended to delete the raws of creatures you will not be using. This makes adding each creature quite a lot faster, which adds up a lot when you are adding over 1000. Remove any [dwarf fortress]/raw/objects/creature*.txt files you won't need (probably everything but creature_standard.txt, unless you want to test exotic critters). You may also want to delete some of the extra critters from creature_standard as well.

3) Copy the contents of this folder to the new DF install. This will overwrite the standard arena, so you can make a backup of arena.txt by renaming it if you want, but hopefully you started by making a backup install of DF.

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 the 0_add_1152 macro to add 1151 copies of this creature, 1 per cell.

2) Repeat for side 2. Make sure you change the side before placing the creature, or Amrok will not be pleased.

3) Unpause the game, and watch the !FUN!. It may run very slowly if your computer is as crappy as mine (it take about 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. Perl is included with (and integral to) Linux and OSX, and can be downloaded free for Windows here: https://www.perl.org/get.html. I haven't tested the script on Windows, but it's pretty simple so I hope it will work - you might just have to change the first line that tells where the perl executable is.
Raw Data: JSON / Text
Checksum / Hash
SHA-256: 7fa04ab315b399b7493d221176ac673e7da9401560127108fcf38f2fafa51821
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.