Speed: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
m (added categories.)
No edit summary
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Default value: 100 | Min value: 25 | Max value: --
Default value: 100 | Min value: 25 | Max value: --


''Moves'', or ''move points'', or ''movement points'', determine the amount of actions you or any creature can perform in a [[turn]] (so, in six seconds).  
<u>Speed</u> determines how many action points you receive each <u>turn</u>(1sec).


''Speed'' determines how many move points you start with each turn.
<u>Actions</u> (move/craft/fight) reduce action points.


''Base move cost'' is the final value where both speed and any possible modifier, be it positive or negative, is applied (such as [[traits]], [[encumbrance]], [[#stim|stim]] level, queued actions, etc).  
<u>Turn ends</u> once you don't have any action points left. Any ongoing action will be paused and queued for the next turn. Queued actions will be subtracted from the available action points of the next turn.


Base move cost = Speed + Move modifiers
You always perform actions first, then unfriendly creatures and, finally, friendly ones.


Note that you'll always perform actions first, then unfriendly creatures and, finally, friendly ones.
Example: Your speed is 100, and you perform an action that costs 110 points;


;Performing Actions
- On turn 1 you won't be able to finish the action, so it will be queued to be finished on the next turn


Each action you perform during a turn reduces your available move points by the move cost of such action. Your turn will be over once you don't have any move points left. Any ongoing action will be paused and queued for the next turn.  
- On turn 2 the base action points will be 90 - reduced by 10 - because that didn't fit in turn 1.


Queued actions will be subtracted from the available move points of the next turn. Example: your base move cost is 100, and you perform an action that costs 110 points; you won't be able to finish the action this turn, so it will be queued to be finished the next turn, and the base move cost for that turn will be reduced by 10 (the extra moves that didn't fit in the previous turn).
Actions that take longer than one turn (refuelling vehicles, crafting, reading, sleeping, etc) can be interrupted at any time by pressing the wait ({{k|5}} or {{k|.}}) key.
 
 
Some effects influence your general speed, thus all actions:
* [[Pain]], [[Stimulants]], [[Happy]], [[Sad]], etc - ch{{k|@}}racter menu
* [https://github.com/CleverRaven/Cataclysm-DDA/issues/42343 Weary effect] - up to <code>x10</code> (<b><span style="color:#ff0000">!!!</span></b>)
 
 
Other modifiers affect only certain <u>types of actions</u>, such as:
 
*1) Movement
*2) Crafting
*3) Combat
 
 
 
;1. Movement
 
<code>Base move cost = Speed + Movement modifiers</code>
 
''Base move cost'' is the cost of moving to a neighbouring tile, where any possible Movement modifiers are applied, be it positive or negative. Those include
* [[Traits]] - ch{{k|@}}racter menu
* Legs & Feet [[Encumbrance]] - ch{{k|@}}racter menu
* +8 for every bare foot (up to +16)
* Movement mode - Crouch <code>x2</code> / Walk <code>x1</code> / Run <code>x0.5</code>
* Leg & Feet Health - even pain-free, quick, and fleet-footed survivors can have extreme difficulty outrunning zombies if their legs are damaged.
* [[Stim]] level
* ...?
 
Afterwards there are <u>additional costs</u> depending on:
* Terrain Start and Destination - up to <code>x4</code> (check in-game by hovering with mouse, {{k|e}}xamining or far-looking at the tile you want to move to)
* Diagonal movement - <code>x1.4</code>
 
 
 
;2. Crafting [https://github.com/CleverRaven/Cataclysm-DDA/blob/master/src/crafting.cpp#L280]


Actions that take longer than one turn (refuelling vehicles, crafting, reading, sleeping, etc) can be interrupted at any time by pressing the wait ({{k|5}} or {{k|.}}) key.
Affected by:
 
* Lighting
* Crafting spot / Wield / Table / Workbench 
** base speed - [https://github.com/CleverRaven/Cataclysm-DDA/blob/master/data/json/furniture_and_terrain/furniture-surfaces.json <code>x0.85-1.2</code> multiplier]
** recipe <u>volume</u> & <u>weight</u> - Up to x0.25 speed for each if they exceed work place limits, so careful with big batches of bulky / heavy items
* Morale
* Arms health
 
Tip: Check craft screen top right corner before starting to see penalty.
 
 
 
;3. Combat
 
Affected by:


;Running cost
* Weapon base speed(check weapon description)
* <u>Torso</u> & <u>Hand</u> [[Encumbrance]]
* (ranged) Aim cost
* (ranged) Reload cost - depending on ammo container - quiver / pouches / belts are generally better than bags
* [https://github.com/CleverRaven/Cataclysm-DDA/issues/42343 Weariness]
*...?


When moving around (normally you walk, press {{key|"}} to really start running, which consumes stamina as well) you consume as many move points as the movement cost of the current [[terrain type]] to which you move. You can check that cost in-game by {{k|e}}xamining or far-looking at the tile you want to move to.


;Display
;Movement & Combat Speed Display
You can see it in the status panel, by default in the top right.
{{igs|Spd |c_white}}{{igs|100 &nbsp;115|c_white}}
{{igs|Spd |c_white}}{{igs|100 &nbsp;115|c_white}}


The speed will be {{igs|green|c_green}} if above 100 and {{igs|red|c_red}} if below that. Besides the speed value you'll find the move cost of your last action.
The <u>first value</u> is your current speed. It is {{igs|green|c_green}} / {{igs|red|c_red}} if above / below 100.


;Calculation
The <u>second value</u> is last action cost(movement type in brackets, {{k|C}}rouch/{{k|W}}alk/{{k|R}}un)
This value is calculated each turn, where the following bonus and penalties are applied:
This value is calculated each turn with following bonus and penalties are applied:


;Penalties<!-- player::recalc_speed_bonus player.cpp-->
;Penalties<!-- player::recalc_speed_bonus player.cpp-->
Line 45: Line 100:


;Bonus<!-- player::recalc_speed_bonus player.cpp-->
;Bonus<!-- player::recalc_speed_bonus player.cpp-->
* <u>Morale</u>: when morale is higher than 100 there will be a bonus that can't be higher than 10.
* <u>[[Morale]]</u>: when morale is higher than 100 there will be a bonus that can't be higher than 10.
* <u>[[Hidden_stats#Stim|Stimulants]]</u>: Based on the potency of all stimulants taken. It can't be higher than 40.
* <u>[[Hidden_stats#Stim|Stimulants]]</u>: Based on the potency of all stimulants taken. It can't be higher than 40.
* <u>[[Quick]] trait</u>: gives a 10% bonus.
* <u>[[Quick]] trait</u>: gives a 10% bonus.
* <u>[[Fleet-Footed]] and [[Road-Runner]]</u>: gives 15% and 30% respectively when on stable surface.
* <u>[[Synaptic Accelerator]] bionic</u>: gives a 10% bonus.
* <u>[[Synaptic Accelerator]] bionic</u>: gives a 10% bonus.
* <u>[[Martial arts]]</u>: some martial arts give a speed bonus.
* <u>[[Martial arts]]</u>: some martial arts give a speed bonus.
Line 53: Line 109:
* {{spoiler|<u>Speed up artifact</u>: 20 bonus points}}.
* {{spoiler|<u>Speed up artifact</u>: 20 bonus points}}.


Some [[diseases]] and status effects can also affect this value (usually negatively).
Some [[effects|diseases and status effects]] can also affect this value (usually negatively).


Move points can't be below 25 in any case.
Move points can't be below 25 in any case.

Latest revision as of 04:19, 19 August 2023

Default value: 100 | Min value: 25 | Max value: --

Speed determines how many action points you receive each turn(1sec).

Actions (move/craft/fight) reduce action points.

Turn ends once you don't have any action points left. Any ongoing action will be paused and queued for the next turn. Queued actions will be subtracted from the available action points of the next turn.

You always perform actions first, then unfriendly creatures and, finally, friendly ones.

Example: Your speed is 100, and you perform an action that costs 110 points;

- On turn 1 you won't be able to finish the action, so it will be queued to be finished on the next turn

- On turn 2 the base action points will be 90 - reduced by 10 - because that didn't fit in turn 1.

Actions that take longer than one turn (refuelling vehicles, crafting, reading, sleeping, etc) can be interrupted at any time by pressing the wait (5 or .) key.


Some effects influence your general speed, thus all actions:


Other modifiers affect only certain types of actions, such as:

  • 1) Movement
  • 2) Crafting
  • 3) Combat


1. Movement

Base move cost = Speed + Movement modifiers

Base move cost is the cost of moving to a neighbouring tile, where any possible Movement modifiers are applied, be it positive or negative. Those include

  • Traits - ch@racter menu
  • Legs & Feet Encumbrance - ch@racter menu
  • +8 for every bare foot (up to +16)
  • Movement mode - Crouch x2 / Walk x1 / Run x0.5
  • Leg & Feet Health - even pain-free, quick, and fleet-footed survivors can have extreme difficulty outrunning zombies if their legs are damaged.
  • Stim level
  • ...?

Afterwards there are additional costs depending on:

  • Terrain Start and Destination - up to x4 (check in-game by hovering with mouse, examining or far-looking at the tile you want to move to)
  • Diagonal movement - x1.4


2. Crafting [1]

Affected by:

  • Lighting
  • Crafting spot / Wield / Table / Workbench
    • base speed - x0.85-1.2 multiplier
    • recipe volume & weight - Up to x0.25 speed for each if they exceed work place limits, so careful with big batches of bulky / heavy items
  • Morale
  • Arms health

Tip: Check craft screen top right corner before starting to see penalty.


3. Combat

Affected by:

  • Weapon base speed(check weapon description)
  • Torso & Hand Encumbrance
  • (ranged) Aim cost
  • (ranged) Reload cost - depending on ammo container - quiver / pouches / belts are generally better than bags
  • Weariness
  • ...?


Movement & Combat Speed Display

You can see it in the status panel, by default in the top right. Spd 100  115

The first value is your current speed. It is green / red if above / below 100.

The second value is last action cost(movement type in brackets, Crouch/Walk/Run) This value is calculated each turn with following bonus and penalties are applied:

Penalties
  • Weight: when the weight carried is 25% higher than the weight capacity.
  • Pain: when pain is higher than the potency of the consumed painkillers. This penalty is more severe if the difference is higher than 60.
  • Painkillers: when the potency of the consumed painkillers is 10 or higher than the pain. More severe if it's higher than 30.
  • Morale: when morale bonus (morale level / 25) is below -10.
  • Radiation: when radiation is 20 or higher. 40 or higher increases the penalty further.
  • Thirst: when thirst is above 40.
  • Hunger: when hunger is above 100.
  • Sunlight dependent mutation: penalties relative to the current light level when not under sunlight.
  • The heat dependent mutation line: (Heat Dependent, Very Heat Dependent, Cold Blooded, Ectothermic), when temperature is below 65F.
  • Mycus fireproofing: 20 penalty points.
  • Speed down artifact: 20 penalty points.
Bonus
  • Morale: when morale is higher than 100 there will be a bonus that can't be higher than 10.
  • Stimulants: Based on the potency of all stimulants taken. It can't be higher than 40.
  • Quick trait: gives a 10% bonus.
  • Fleet-Footed and Road-Runner: gives 15% and 30% respectively when on stable surface.
  • Synaptic Accelerator bionic: gives a 10% bonus.
  • Martial arts: some martial arts give a speed bonus.
  • Ectothermic mutation: when temperature is above 65F.
  • Speed up artifact: 20 bonus points.

Some diseases and status effects can also affect this value (usually negatively).

Move points can't be below 25 in any case.