Design
WebsiteGitHubGitBook
  • âœī¸Design Intro
    • Gameplay Summary
    • Art Style
  • đŸ•šī¸Basic Game Mechanics
    • đŸ–Ĩī¸User Interface
      • Server Hub
      • Server Lobby
        • Edit Character
      • Game
        • Player HUD
        • In-game Settings
        • Inventory
        • Radial Menu
        • Misc. UI Elements
        • Windows
    • 🎮Controls
    • đŸ”ĻField of Vision
    • 🔍Examine
    • đŸ–ī¸Interactions
      • Move
      • Activate
      • Access
    • âŗRounds
  • đŸ›°ī¸Environment
    • đŸ—ēī¸Tilemaps
      • Stations
      • Planets
      • Tile Objects
        • Airlocks
    • â˜ī¸Atmospherics
      • Gas Substances
    • 🧩Connectables
      • Basic Adjacency Connections
      • Advanced Adjacency Connections
      • Window Divider Adjacency Connections
      • Counter Adjacency Connections
      • Directional Adjacency Connections
      • Disposal Adjacency Connections
        • Disposal Furniture Connections
      • Pipe Adjacency Connections
        • Pipe Furniture Connections
      • Transit Tube Adjacency Connections
      • Wire Adjacency Connections
      • Airlock Adjacency Connections
    • đŸ—ī¸Construction
      • Construction Recipes
        • Walls / Windows
        • Doors
      • Menu and User Case
      • Propositions and Suggestions
    • 🔓Crew Access
    • ⚡Electricity
      • Power Grid
    • 📞Communication Systems
  • đŸ‘ĢEntities
    • đŸŽĨRoles
      • 📋Crew
        • Nanotrasen
        • Command
        • Security
        • Engineering
        • Medical
        • Science
        • Supply
        • Civilian
        • Silicons
      • Antagonists
        • Primary Antags
        • Secondary Antags
      • Ghosts
    • đŸ§™â€â™‚ī¸Characters
      • Player Characters
      • NPCs
    • đŸŒĄī¸Health
      • Stamina
      • Damage
      • Body Systems
        • Organs
          • Lungs
          • Heart
        • Blood
        • Oxygen
        • Pain
        • Death
        • Body parts volume
      • Healing
        • Surgery
    • âš”ī¸Combat
      • Combat Mode
        • Help
        • Harm
        • Grab
        • Hold
        • Push
        • Toss and Throw
        • Items
          • Melee
          • Ranged
      • Melee combat
  • đŸ”ĻItems
    • 📌Hold Positions
    • 🍕Food
    • 🧰Containers
  • đŸŽŦActions
    • đŸ› ī¸Crafting
      • Makeshift, simple Crafting
      • Advanced Crafting
      • Specialized Crafting
    • âš—ī¸Chemistry
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Entities
  2. Combat
  3. Combat Mode
  4. Items

Ranged

PreviousMeleeNextMelee combat

Last updated 1 year ago

Was this helpful?

RANGED

Holding RIGHT_CLICK, while having a ranged weapon in an active hand, will make player character to aim at the cursor.

Aiming for the wall deliberately.

The character should follow their aim at the location cursor points at freely, until it points at the target (human or other living being that has individual parts that can be aimed at).

If cursor overlapses with the target, the aim of the character must automatically lock on and aim at the middle of the bodypart of the target, that was selected on the UI dummy.

Aim (and the animation of the aim via IK, probably) should change if the targeted bodypart on the dummy was changed via hotkeys.

In case the part of the character that is currently aimed at is obstructed, the aim on the UI dummy should be disregarded and the aim should remain “free” as in unlocked from the target and should simply follow the cursor.

If the said part of the character is no longer obstructed while the “free aim” is still on the targeted character, it should remain that way to prevent aim jumping. To re-aim and lock onto the targeted bodypart, cursor must be moved from the target character and then moved onto it again.

LEFT_CLICK while having a ranged weapon in an active hand AND aiming (holding RIGHT_CLICK) should make the gun shoot in the direction of the current aim, free or not.

There should also be a chance to miss the body part that is aimed at within a certain radius (represented by the transparent red circle on the image below) or even miss the character entirely.

This error radius should depend on:

¡ type and integrity of the weapon

· condition of the aiming character’s body (especially the arm holding the weapon)

¡ other effects on the aiming character, such as medication, drugs, alcohol or other

- Distance between characters

Once the point of the shot is established aiming should be locked (player should still be able to move the cursor), the animation of the fired shot should play for the character, damage and force of the shot should apply to the target. After that, the aiming process should continue as normal.

In case of the automatic weapons or other weapons that fire continuously, established aiming should not be locked, but should remain “free” from the point of starting fire (both time and aim coordinates). For example, longer LEFT_CLICK while aiming at target’s chest with a flamethrower should result in continuous fire in the general direction of the target’s chest, but

LEFT_CLICK while having a ranged weapon in an active hand will make player character shoot from-the-hip style, aiming rules above applied.

LEFT_CLICK on an active target character, while having a ranged weapon in an active hand AND aiming (holding RIGHT_CLICK), will make the player character shoot, aiming at the targeted area.

Aim is automatically taken to the selected bodypart.
Aiming for the eyes.
Aiming for a hand
The target bodypart is obstructed, so the aim is taken at whatever the coursor is pointing at.
A cone of possible directions to miss while shooting.
đŸ‘Ģ
âš”ī¸