v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "v0.34:Object testing arena"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(some changes)
m
 
(11 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{av}}
 
{{av}}
 
{{Quality|Exceptional|08:10, 8 June 2010 (UTC)}}
 
{{Quality|Exceptional|08:10, 8 June 2010 (UTC)}}
The '''object testing arena'' is a fun place; you can test things, or just have some fun carnage. The arena is accessed through the main menu. Note that the object testing arena is not the same as an arena created in [[fortress mode]].
+
The '''object testing arena''' is a fun place; you can test things, or just have some fun carnage. The arena is accessed through the main menu. Note that the object testing arena is not the same as an arena created in [[fortress mode]].
  
 
== Spawning creatures ==
 
== Spawning creatures ==
Line 10: Line 10:
  
 
=== Teams ===
 
=== Teams ===
It is possible to 'Team' creatures up by pressing {{k|s}} and {{k|d}} in the Creation menu which is shown on the top left hand side.  There are 99 teams, as well as "Independent", which is the default and acts as every creature for himself.
+
It is possible to 'Team' creatures up by pressing {{k|s}} and {{k|d}} in the Creation menu which is shown on the top left hand side.  There are 99 teams, as well as "Independent", which is the default and acts as every creature for themselves
  
In this way you can create simulated battles against beasts or enemies. For example, you can test twenty sword-users versus twenty macemen and analyze the battle from the gamelog.txt.
+
In this way, you can create simulated battles against beasts or enemies. For example, you can test twenty sword-users versus twenty mace-users, and analyze the battle from the gamelog.txt.
  
 
[[Necromancer]]s and [[mummy|disturbed dead]] that are marked as Independent will not be at peace with the [[undead|zombies]] that they raise. This is not a bug because arena independence overrides anything else.
 
[[Necromancer]]s and [[mummy|disturbed dead]] that are marked as Independent will not be at peace with the [[undead|zombies]] that they raise. This is not a bug because arena independence overrides anything else.
 +
 +
===Butchering===
 +
Corpses can be butchered by moving over them and pressing {{k|a}}. This can be an easy way to obtain butchering information, although there tends to be a distinct lack of variation in the results (unless the corpse is missing a body part), partly due to the fact that no child creatures can be created.
  
 
== Fighting in the Arena yourself ==
 
== Fighting in the Arena yourself ==
 
Loo{{key|k}} at any creature, and press {{key|a}} to play as them, and {{key|ctrl+a}} to exit back to the main mode.
 
Loo{{key|k}} at any creature, and press {{key|a}} to play as them, and {{key|ctrl+a}} to exit back to the main mode.
*The controls here are exactly the same as in [[Adventurer mode]], if you are playing a previous version of Dwarf Fortress you may be unable to set combat preference (as it used to require the same key to stop controlling a unit)
+
*The controls here are exactly the same as in [[Adventurer mode]].
 
 
 
*Attempting to {{key|a}} a corpse results in the corpse being butchered.
 
*Attempting to {{key|a}} a corpse results in the corpse being butchered.
  
 
== Spawning liquids ==
 
== Spawning liquids ==
From the loo{{key|k}} menu, press {{key|l}} to spawn a 7/7 unit of lava, or {{key|w}} to spawn 7/7 water on the currently selected tile. If you place water and then lava in the same tile, they will immediately form a 'Rough-hewn Rock Wall' (i.e. before you unpause, or immediately as you do), resulting in no spillage. However, placing lava and then water simply fills the tile with water, with the same effect as placing water without magma. You can place fluids in a tile that also has a wall in it; the result is a tile with both a wall ''and'' 7/7 units of the fluid you placed (water or lava). This combination behaves exactly the same normal water without the wall would, except the area is still considered inaccessible for water to move through.
+
From the loo{{key|k}} menu, press {{key|l}} to spawn a 7/7 unit of lava, or {{key|w}} to spawn 7/7 water on the currently selected tile. If you place water and then lava in the same tile, they will immediately form a 'Rough-hewn Rock Wall' (i.e. before you unpause), resulting in no spillage. However, placing lava and then water simply fills the tile with water, with the same effect as placing water without magma. You can place fluids in a tile that also has a wall in it; the result is a tile with both a wall ''and'' 7/7 units of the fluid you placed (water or lava). This combination behaves exactly the same normal water without the wall would, except the area is still considered inaccessible for water to move through.
  
 
==Modifying the Arena layout==
 
==Modifying the Arena layout==
The layout of the arena zone is stored in <Dwarf Fortress dir>\data\init\arena.txt
+
{{file|DF/data/init/arena.txt|section=yes}}
 
+
The layout of the arena zone is stored in the (DF)/data/init folder. Modifications to this file will not change the dimensions of the arena; they can only change the initial tiles and fluids present.
This .txt doesnt change the arena space, just whats in it when you enter.  
 
  
The arena is composed of 9 z-levels (including 0, from Z=-4 to Z=4) of 144 x 144 tiles; the contents of each tile are specified by a single character:
+
The arena is composed of 9 [[z-level]]s (including Z=0, from Z=-4 to Z=4) of 144 x 144 tiles; the contents of each tile are specified by a single character:
  
{| {{prettytable}}
+
{| class="wikitable pre-table"
 
|- bgcolor="#ddd"
 
|- bgcolor="#ddd"
 
! Character
 
! Character
Line 38: Line 39:
  
 
|-
 
|-
| {{k|#}}
+
| <pre>#</pre>
| Empty tile<sup>1</sup>
+
| [[Open space|Empty tile]] <sup>[1]</sup>
 +
|-
 +
| <pre>C</pre>
 +
| [[Chasm]]
  
 
|-
 
|-
| {{k|.}}
+
| <pre>.</pre>
| Block floor
+
| [[Block]] [[floor]]
  
 
|-
 
|-
| {{k|P}}
+
| <pre>P</pre>
| Block pillar/wall
+
| [[Block]] [[wall|pillar/wall]]
  
 
|-
 
|-
| {{k|R}}
+
| <pre>R</pre>
| Block ramp
+
| [[Block]] [[ramp]]
  
 
|-
 
|-
| {{k|F}}
+
| <pre>F</pre>
| Block fortification
+
| [[Block]] [[fortification]]
  
 
|-
 
|-
| {{k|+}}
+
| <pre>+</pre>
| Water source?<sup>1 2</sup>
+
| [[Water]] source <sup>[1] [2]</sup>
 
|-
 
|-
| {{k|W}}
+
| <pre>W</pre>
| 7/7 water<sup>1</sup>
+
| 7/7 [[water]] <sup>[1]</sup>
 
|-
 
|-
| {{k|w}}
+
| <pre>w</pre>
| 7/7 water + ramp
+
| 7/7 [[water]] + upward [[ramp]]
  
 
|-
 
|-
| {{k|L}}
+
| <pre>L</pre>
| 7/7 magma/lava<sup>1</sup>
+
| 7/7 [[magma|magma/lava]] <sup>[1]</sup>
 
|-
 
|-
| {{k|l}}
+
| <pre>l</pre>
| 7/7 magma/lava + ramp
+
| 7/7 [[magma|magma/lava]] + upward [[ramp]]
  
 
|}
 
|}
 
+
<small>
 
# Tile will have no floor unless a pillar/wall is constructed on the z-level below.
 
# Tile will have no floor unless a pillar/wall is constructed on the z-level below.
# Only seems to work when placed on map edge; behaves identically to {{k|W}} otherwise.
+
# Only seems to work when placed on map edge; behaves identically to capital <code>W</code> otherwise.
 +
</small>
  
 
There is no way of altering the temperature of the arena directly, and the arena temperature is considerably higher than what would be encountered in most areas of a world generated with the default temperatures. However, tiles that have formerly had lava or magma on them are considerably cooler.
 
There is no way of altering the temperature of the arena directly, and the arena temperature is considerably higher than what would be encountered in most areas of a world generated with the default temperatures. However, tiles that have formerly had lava or magma on them are considerably cooler.
  
The standard arena temperature is {{ct|10069}}, and for some reason the temperature of magma-cooled tiles is {{ct|10037}} {{version|0.34.07}}. Note that the temperature of magma that has not been removed remains at {{ct|12000}}. For comparison, the temperature of a subterranean tile is {{ct|10015}} and the dwarven homeotherm is {{ct|10067}}.
+
The standard arena temperature is {{ct|10069}}, and for some reason the temperature of magma-cooled tiles is {{ct|10037}} {{version|0.34.11}}. Note that the temperature of magma that has not been removed remains at {{ct|12000}}. For comparison, the temperature of a subterranean tile is {{ct|10015}} and the dwarven homeotherm is {{ct|10067}}.
 +
 
 +
{{Category|Interface}}

Latest revision as of 19:10, 16 October 2023

This article is about an older version of DF.

The object testing arena is a fun place; you can test things, or just have some fun carnage. The arena is accessed through the main menu. Note that the object testing arena is not the same as an arena created in fortress mode.

Spawning creatures[edit]

Creatures can be spawned while in the look menu. Press c to create a creature. Select the creature type, skills and equipment, and then press enter. Press Esc (or whatever you bound "leave screen" to) to cancel without creating the creature. You cannot delete creatures. You can, however, press w then l to create a stone wall, instantly killing anything on that tile.

Inventory and skills[edit]

While in the creature placement menu, it is possible to add skills to your creatures such as the fighter skill. It is also possible to add weapons, ammo, and armour to your creatures. Creatures unable to use the weapons given to them will drop them upon unpausing, but creatures such as dwarves will happily use the weapon as long as they at least have dabbling in the weapon skill. You can also set exactly how much of a certain item you want when you select it, by using the + or - keys, which is the only way to get a creature to hold more than one piece of ammo, as the arena lacks an option for spawning quivers or backpacks.

Teams[edit]

It is possible to 'Team' creatures up by pressing s and d in the Creation menu which is shown on the top left hand side. There are 99 teams, as well as "Independent", which is the default and acts as every creature for themselves

In this way, you can create simulated battles against beasts or enemies. For example, you can test twenty sword-users versus twenty mace-users, and analyze the battle from the gamelog.txt.

Necromancers and disturbed dead that are marked as Independent will not be at peace with the zombies that they raise. This is not a bug because arena independence overrides anything else.

Butchering[edit]

Corpses can be butchered by moving over them and pressing a. This can be an easy way to obtain butchering information, although there tends to be a distinct lack of variation in the results (unless the corpse is missing a body part), partly due to the fact that no child creatures can be created.

Fighting in the Arena yourself[edit]

Look at any creature, and press a to play as them, and ctrl+a to exit back to the main mode.

  • The controls here are exactly the same as in Adventurer mode.
  • Attempting to a a corpse results in the corpse being butchered.

Spawning liquids[edit]

From the look menu, press l to spawn a 7/7 unit of lava, or w to spawn 7/7 water on the currently selected tile. If you place water and then lava in the same tile, they will immediately form a 'Rough-hewn Rock Wall' (i.e. before you unpause), resulting in no spillage. However, placing lava and then water simply fills the tile with water, with the same effect as placing water without magma. You can place fluids in a tile that also has a wall in it; the result is a tile with both a wall and 7/7 units of the fluid you placed (water or lava). This combination behaves exactly the same normal water without the wall would, except the area is still considered inaccessible for water to move through.

Modifying the Arena layout[edit]

File

Folder-orange.svg Dwarf Fortress

Folder.svg data

Folder.svg init

Text-x-generic.svg arena.txt

The layout of the arena zone is stored in the (DF)/data/init folder. Modifications to this file will not change the dimensions of the arena; they can only change the initial tiles and fluids present.

The arena is composed of 9 z-levels (including Z=0, from Z=-4 to Z=4) of 144 x 144 tiles; the contents of each tile are specified by a single character:

Character Description
#
Empty tile [1]
C
Chasm
.
Block floor
P
Block pillar/wall
R
Block ramp
F
Block fortification
+
Water source [1] [2]
W
7/7 water [1]
w
7/7 water + upward ramp
L
7/7 magma/lava [1]
l
7/7 magma/lava + upward ramp

  1. Tile will have no floor unless a pillar/wall is constructed on the z-level below.
  2. Only seems to work when placed on map edge; behaves identically to capital W otherwise.

There is no way of altering the temperature of the arena directly, and the arena temperature is considerably higher than what would be encountered in most areas of a world generated with the default temperatures. However, tiles that have formerly had lava or magma on them are considerably cooler.

The standard arena temperature is 10069 °U , and for some reason the temperature of magma-cooled tiles is 10037 °U v0.34.11. Note that the temperature of magma that has not been removed remains at 12000 °U . For comparison, the temperature of a subterranean tile is 10015 °U and the dwarven homeotherm is 10067 °U .