ozkriff / zoc

⬡ Zone of Control is a hexagonal turn-based strategy game written in Rust. [DISCONTINUED]
https://ozkriff.itch.io/zoc
Apache License 2.0
378 stars 31 forks source link

Partial damage for vehicles #233

Open ozkriff opened 8 years ago

ozkriff commented 8 years ago

Надо, что бы был шанс не только уничтожить боевую единицу одним попаданием, но и обездвижить ее (возможно, просто временно замедлить), на несколько ходов сломать оружие или еще что подобное.

Как всегда, ориентироваться буду на Battle Academy 2 и Wargame (секунды как-то заменить на ходы)

image

ozkriff commented 8 years ago

В Wargame:RD вот что есть:

When a vehicle is hit by enemy fire, it may suffer from a critical hit. These usually take the form of debuffs that last a certain duration, and negatively effects the way a unit operates unit the timer expires. Some critical hits have no timer and take effect instantly, such as Ammunition Hit and Turbine Failure.

  • Stabilizer Malfunction: Vehicle is treated as having no stabilizer until the timer expires.
  • Fuel Leak: The unit rapidly loses fuel for the effect's duration, even at a standstill.
  • Critical Hit: The shot inflicts double damage.
  • Firing Computer Reset: The unit cannot fire for the duration of the effect.
  • Ammunition Hit: All rounds for one or more of the vehicle's weapons is instantly depleted.
  • Optical Failure: The unit cannot see or fire on enemy units until the timer expires.
  • Weapon Jammed: One or more of a vehicle's weapons cannot be used until the timer expires.
  • Gearbox Hit: The unit has considerably reduced speed until the timer expires.
  • Engine Stall: The vehicle is immobilized until the timer expires.
  • Turbine Hit: Affects helicopters, reducing their speed unit the timer expires.
  • Turbine Failure: Causes the affected helicopter to crash regardless of remaining hit points.
  • Tail Rotor Hit: Affected helicopter loses control and spins until the timer expires.
  • Ammo Box Hit: Affects helicopters, causing them to lose half of their remaining ammo.
  • Collective Malfunction: Affected helicopter changes altitude randomly until the timer expires.

Some critical hits are not caused by enemy fire, but by the environment. Most are caused by vehicles moving through rough terrain such as forests.

  • Rough Ground: The unit moves slower until the timer expires or the unit leaves the forested area.
  • Mud: The unit moves slower until the timer expires.
  • Stuck in the Mud / Track in the Mud: The unit is immobilized until the timer expires.
  • Detracked: The unit is immobilized until the timer expires.
ozkriff commented 7 years ago

Working in https://github.com/ozkriff/zoc/tree/WIP_effects branch

ozkriff commented 7 years ago

It looks like I need https://github.com/ozkriff/zoc/issues/192 to implement the effect system properly.