- 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.
Difference between revisions of "DF2014:Object testing arena"
LethosorBot (talk | contribs) (LethosorBot moved page DF2014:Object testing arena to Object testing arena: Migrating v50 page (2925/4618) (content)) Tag: New redirect |
LethosorBot (talk | contribs) (Migrating v50 page (2925/4618) (content)) Tag: Removed redirect |
||
Line 1: | Line 1: | ||
− | # | + | {{av}} |
+ | {{Quality|Exceptional|08:10, 8 June 2010 (UTC)}} | ||
+ | {{Distinguish|Megaproject#Colosseum|l1=arena created in fortress mode}} | ||
+ | [[File:Arenafighting.png|right|350px|thumb|The arena is great for testing creature capabilities... or if you just want to set everything on fire.]] | ||
+ | The '''object testing arena''' is a special game mode accessible through the main menu where the player can alternate between spawning [[creature]]s, manipulating objects and features such as the [[weather]] and [[temperature]], or taking direct control of characters in an [[adventurer mode]]-like interface for the purpose of testing whatever it is they want. It is a tremendously useful place, usable for testing [[modding|modded]] [[raws]], practicing for adventurer mode, or determining which skills to train against which enemies…or you can just have some fun carnage by spawning 50 [[steel]]-clad [[Dwarf|dwarves]] and setting them on some unarmed [[Elf|elves]] for that combat log goodness. It's possible to save games in it, in order to continue testing from a previous session.{{version|0.42.06}} | ||
+ | |||
+ | == Spawning creatures == | ||
+ | Creatures can be spawned while in the loo{{key|k}} menu - press {{key|c}} to create a creature, select the creature type, skills and equipment, and then press {{key|enter}}. Press {{key|Esc}} (or whatever you bound "leave screen" to) to cancel without creating the creature. You cannot delete creatures, but you can, however, press {{key|w}} then {{key|l}} (in the {{k|k}} menu) to create a stone wall, instantly killing anything on that tile. Creatures with the {{token|ARENA_RESTRICTED}} or {{token|DOES_NOT_EXIST}} tokens can't be spawned in the object testing arena, unless the aforementioned tags are removed from their raw files. Note that some creatures with no combat capabilities (such as [[vermin]]) cannot be spawned, regardless of having the aforementioned tokens or not. | ||
+ | |||
+ | === Inventory and skills === | ||
+ | While in the creature placement menu, it is possible to add skills to your creatures, such as the fighter skill, or weapons, ammo, and armor. Creatures unable to use the weapons given to them will drop them upon unpausing, but creatures such as dwarves will happily do so, as long as they at least have dabbling-rank in its associated skill. You can also set exactly how much of a certain item you want when you select it, by using the {{key|+}} or {{key|-}} 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. | ||
+ | |||
+ | === Effects === | ||
+ | A creature can be created with an effect from an [[interaction token|interaction]] by pressing {{key|u}} in the creation menu. In vanilla games, the available effects are the interactions of [[necromancer]]s, [[undead|animated corpse]]s, [[mummy|disturbed dead]], [[Mummy|accursed]], [[werebeast]]s and [[vampire]]s. Any modded interaction with a defined arena name will also be available. | ||
+ | |||
+ | === 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 itself. | ||
+ | |||
+ | 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 [[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.) | ||
+ | |||
+ | ===Butchering=== | ||
+ | Corpses can be butchered by loo{{k|k}}ing at them and then 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). This is partly due to the fact that no child creatures can be created. | ||
+ | |||
+ | ===Nature of conflict=== | ||
+ | The [[level of conflict]] between creatures or alliances can be controlled in the main screen with the keys {{key|shift+C}} and {{key|c}}. The available settings are, from most lethal to least: | ||
+ | |||
+ | *{{DFtext|No Quarter|5:1}} | ||
+ | *{{DFtext|Lethal|4:1}} | ||
+ | *{{DFtext|Non-lethal|6:1}} | ||
+ | *{{DFtext|Brawl|3:1}} | ||
+ | *{{DFtext|Training|7:1}} | ||
+ | *{{DFtext|Horseplay|2:1}} | ||
+ | *{{DFtext|Encounter|7:0}} | ||
+ | |||
+ | [[Morale]] may also be switched on or off with {{key|m}} on the main screen. | ||
+ | |||
+ | == Spawning liquids and trees == | ||
+ | From the loo{{key|k}}/create 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 fills the tile with lava-hot water, which then instantly turns to steam upon unpausing. It is also possible to spawn rock walls in mid-air, usually causing a [[cave-in]]. 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 as normal water without the wall would, except the area is still considered inaccessible for water to move through. | ||
+ | |||
+ | Multi-tile [[tree]]s are also available from the loo{{key|k}}/create menu, under {{key|t}}ree. Using the submenu on the right, you can select the species of tree and set its {{key|a}}ge. Pressing {{key|enter}} will spawn a tree at the cursor using the current settings. Trees can be placed anywhere, even a rock block floor or in ''mid-air'' (the latter will also cause a cave-in, replacing intermediate rock block floors with sand). Arena-created trees do not spawn with roots. At present it's not possible to chop down a tree, though they can be burned by spawning lava, killing the tree. | ||
+ | |||
+ | == Fighting in the Arena yourself == | ||
+ | Loo{{key|k}} at any creature, and press {{key|a}} to play as them, or {{key|ctrl+a}} to exit back to the main mode. | ||
+ | *The controls here are exactly the same as in [[adventurer mode]]. | ||
+ | *Attempting to {{key|a}} a [[corpse]] results in the corpse being [[butcher]]ed. | ||
+ | |||
+ | ==Controlling the environment== | ||
+ | The arena's environment can be modified in-game by pressing {{k|w}}. From this screen, you can adjust Weather, Temperature, and Time. You can also press {{k|s}} to cover every map tile in snow, {{k|m}} to make everything muddy, and {{k|x}} to remove all mud and snow. | ||
+ | |||
+ | ===Weather=== | ||
+ | This section has 4 options, each of which can be set to various settings: | ||
+ | * Cumulus | ||
+ | ** No cumulus clouds | ||
+ | ** Scattered cumulus | ||
+ | ** Many cumulus (rain) | ||
+ | ** Cumulonimbus (rain) | ||
+ | * Cirrus (toggle) | ||
+ | * Stratus | ||
+ | ** No stratus | ||
+ | ** Altostratus | ||
+ | ** Stratus (rain) | ||
+ | ** Nimbostratus (rain) | ||
+ | * Fog | ||
+ | ** No fog | ||
+ | ** Thin mist | ||
+ | ** Fog | ||
+ | ** Thick fog | ||
+ | |||
+ | As expected, the options marked with "(rain)" will cause it to start raining. | ||
+ | |||
+ | ===Temperature & Time=== | ||
+ | The arena's temperature and time can be set to one of 13 settings, each: | ||
+ | |||
+ | * Dragonfire - {{ct|50000}} | ||
+ | * Magma - {{ct|12000}} | ||
+ | * Fire - {{ct|11000}} | ||
+ | * Scorching - {{ct|10080}} | ||
+ | * Hot - {{ct|10070}} | ||
+ | * Warm - {{ct|10050}} | ||
+ | * Cool - {{ct|10035}} | ||
+ | * Cold - {{ct|10020}} | ||
+ | * Subterranean - {{ct|10015}} | ||
+ | * Freezing - {{ct|9999}} | ||
+ | * Below freezing - {{ct|9968}} | ||
+ | * Deathly cold - {{ct|9850}} | ||
+ | * Absolute zero - {{ct|9508}} | ||
+ | |||
+ | ------------ | ||
+ | |||
+ | * Dawn (5:30am) | ||
+ | * Morning (8:00am) | ||
+ | * Late morning (10:30am) | ||
+ | * Noon (1:00pm) | ||
+ | * Early afternoon (2:00pm) | ||
+ | * Late afternoon (3:30pm) | ||
+ | * Early evening (5:00pm) | ||
+ | * Evening (6:30pm) | ||
+ | * Dusk (8:30pm) | ||
+ | * Night (10:00pm) | ||
+ | * Midnight (12:00am) | ||
+ | * Late night (2:00am) | ||
+ | * Early morning (4:00am) | ||
+ | |||
+ | ==Modifying the Arena layout== | ||
+ | {{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. | ||
+ | |||
+ | 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: | ||
+ | |||
+ | {| class="wikitable pre-table" | ||
+ | |- bgcolor="#ddd" | ||
+ | ! Character | ||
+ | ! Description | ||
+ | |||
+ | |- | ||
+ | | <pre>#</pre> | ||
+ | | [[Open space|Empty tile]] <sup>[1]</sup> | ||
+ | |- | ||
+ | | <pre>C</pre> | ||
+ | | [[Chasm]] | ||
+ | |||
+ | |- | ||
+ | | <pre>.</pre> | ||
+ | | [[Block]] [[floor]] | ||
+ | |||
+ | |- | ||
+ | | <pre>P</pre> | ||
+ | | [[Block]] [[wall|pillar/wall]] | ||
+ | |||
+ | |- | ||
+ | | <pre>R</pre> | ||
+ | | [[Block]] [[ramp]] | ||
+ | |||
+ | |- | ||
+ | | <pre>F</pre> | ||
+ | | [[Block]] [[fortification]] | ||
+ | |||
+ | |- | ||
+ | | <pre>+</pre> | ||
+ | | [[Water]] source <sup>[1] [2]</sup> | ||
+ | |- | ||
+ | | <pre>W</pre> | ||
+ | | 7/7 [[water]] <sup>[1]</sup> | ||
+ | |- | ||
+ | | <pre>w</pre> | ||
+ | | 7/7 [[water]] + upward [[ramp]] | ||
+ | |||
+ | |- | ||
+ | | <pre>L</pre> | ||
+ | | 7/7 [[magma|magma/lava]] <sup>[1]</sup> | ||
+ | |- | ||
+ | | <pre>l</pre> | ||
+ | | 7/7 [[magma|magma/lava]] + upward [[ramp]] | ||
+ | |||
+ | |- | ||
+ | | <pre>g</pre> | ||
+ | | [[Grass]] <sup>[3]</sup> | ||
+ | |- | ||
+ | | <pre>T</pre> | ||
+ | | [[Tree]] <sup>[3]</sup> | ||
+ | |- | ||
+ | | <pre>~</pre> | ||
+ | | [[Sand]] <sup>[3]</sup> | ||
+ | |- | ||
+ | | <pre>,</pre> | ||
+ | | [[Soil]] <sup>[3]</sup> | ||
+ | |||
+ | |} | ||
+ | <small> | ||
+ | # 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 capital <code>W</code> otherwise. | ||
+ | # Only one type will be present, but it will be randomly selected each time you enter the Arena. | ||
+ | </small> | ||
+ | |||
+ | ==Trivia== | ||
+ | *Due to how "teams" are handled in the testing arena, strange behaviors can occur when necromancers are resurrecting nearby deceased and detached body parts. For example, a necromancer revives the body parts of a dead, dismembered dwarf in an effort to aid itself in fighting, but because the dwarf was on the "independent" team (or just a different one from the necromancer), the body parts just end up attacking the necromancer that raised them. So said necromancer may end up killing what it resurrected, only to keep resurrecting what it just killed to fight it again, which can happen over and over in an endless loop - all due to the clashing of how the arena handles teams/sides and the necromancer's natural AI in raising the dead to help itself. | ||
+ | |||
+ | {{Category|Interface}} | ||
+ | [[ru:Object testing arena]] |
Revision as of 03:46, 20 December 2022
This article is about an older version of DF. |
The object testing arena is a special game mode accessible through the main menu where the player can alternate between spawning creatures, manipulating objects and features such as the weather and temperature, or taking direct control of characters in an adventurer mode-like interface for the purpose of testing whatever it is they want. It is a tremendously useful place, usable for testing modded raws, practicing for adventurer mode, or determining which skills to train against which enemies…or you can just have some fun carnage by spawning 50 steel-clad dwarves and setting them on some unarmed elves for that combat log goodness. It's possible to save games in it, in order to continue testing from a previous session.v0.42.06
Spawning creatures
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, but you can, however, press w then l (in the k menu) to create a stone wall, instantly killing anything on that tile. Creatures with the [ARENA_RESTRICTED]
or [DOES_NOT_EXIST]
tokens can't be spawned in the object testing arena, unless the aforementioned tags are removed from their raw files. Note that some creatures with no combat capabilities (such as vermin) cannot be spawned, regardless of having the aforementioned tokens or not.
Inventory and skills
While in the creature placement menu, it is possible to add skills to your creatures, such as the fighter skill, or weapons, ammo, and armor. Creatures unable to use the weapons given to them will drop them upon unpausing, but creatures such as dwarves will happily do so, as long as they at least have dabbling-rank in its associated 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.
Effects
A creature can be created with an effect from an interaction by pressing u in the creation menu. In vanilla games, the available effects are the interactions of necromancers, animated corpses, disturbed dead, accursed, werebeasts and vampires. Any modded interaction with a defined arena name will also be available.
Teams
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 itself.
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 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
Corpses can be butchered by looking at them and then 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). This is partly due to the fact that no child creatures can be created.
Nature of conflict
The level of conflict between creatures or alliances can be controlled in the main screen with the keys shift+C and c. The available settings are, from most lethal to least:
- No Quarter
- Lethal
- Non-lethal
- Brawl
- Training
- Horseplay
- Encounter
Morale may also be switched on or off with m on the main screen.
Spawning liquids and trees
From the look/create 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 fills the tile with lava-hot water, which then instantly turns to steam upon unpausing. It is also possible to spawn rock walls in mid-air, usually causing a cave-in. 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 as normal water without the wall would, except the area is still considered inaccessible for water to move through.
Multi-tile trees are also available from the look/create menu, under tree. Using the submenu on the right, you can select the species of tree and set its age. Pressing enter will spawn a tree at the cursor using the current settings. Trees can be placed anywhere, even a rock block floor or in mid-air (the latter will also cause a cave-in, replacing intermediate rock block floors with sand). Arena-created trees do not spawn with roots. At present it's not possible to chop down a tree, though they can be burned by spawning lava, killing the tree.
Fighting in the Arena yourself
Look at any creature, and press a to play as them, or 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.
Controlling the environment
The arena's environment can be modified in-game by pressing w. From this screen, you can adjust Weather, Temperature, and Time. You can also press s to cover every map tile in snow, m to make everything muddy, and x to remove all mud and snow.
Weather
This section has 4 options, each of which can be set to various settings:
- Cumulus
- No cumulus clouds
- Scattered cumulus
- Many cumulus (rain)
- Cumulonimbus (rain)
- Cirrus (toggle)
- Stratus
- No stratus
- Altostratus
- Stratus (rain)
- Nimbostratus (rain)
- Fog
- No fog
- Thin mist
- Fog
- Thick fog
As expected, the options marked with "(rain)" will cause it to start raining.
Temperature & Time
The arena's temperature and time can be set to one of 13 settings, each:
- Dragonfire - 50000 °U
- Magma - 12000 °U
- Fire - 11000 °U
- Scorching - 10080 °U
- Hot - 10070 °U
- Warm - 10050 °U
- Cool - 10035 °U
- Cold - 10020 °U
- Subterranean - 10015 °U
- Freezing - 9999 °U
- Below freezing - 9968 °U
- Deathly cold - 9850 °U
- Absolute zero - 9508 °U !
- Dawn (5:30am)
- Morning (8:00am)
- Late morning (10:30am)
- Noon (1:00pm)
- Early afternoon (2:00pm)
- Late afternoon (3:30pm)
- Early evening (5:00pm)
- Evening (6:30pm)
- Dusk (8:30pm)
- Night (10:00pm)
- Midnight (12:00am)
- Late night (2:00am)
- Early morning (4:00am)
Modifying the Arena layout
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 |
g |
Grass [3] |
T |
Tree [3] |
~ |
Sand [3] |
, |
Soil [3] |
- 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 capital
W
otherwise. - Only one type will be present, but it will be randomly selected each time you enter the Arena.
Trivia
- Due to how "teams" are handled in the testing arena, strange behaviors can occur when necromancers are resurrecting nearby deceased and detached body parts. For example, a necromancer revives the body parts of a dead, dismembered dwarf in an effort to aid itself in fighting, but because the dwarf was on the "independent" team (or just a different one from the necromancer), the body parts just end up attacking the necromancer that raised them. So said necromancer may end up killing what it resurrected, only to keep resurrecting what it just killed to fight it again, which can happen over and over in an endless loop - all due to the clashing of how the arena handles teams/sides and the necromancer's natural AI in raising the dead to help itself.