ACE3/docs/wiki/feature/grenades.md
johnb432 be9797d11d
Grenades - Add grenade rolling (#10005)
* Add grenade rolling

* Added some safeguards

* Use `setVectorDirAndUp` instead of rotation

* Don't allow players to roll grenades when in vehicles

* Grenades - Rolling only add PFEH when needed (#10015)

* Grenades - Rolling only add PFEH when needed

* Corrected minor typo, moved variable init in preInit, fixed bugs

---------

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Don't switch modes if grenade can't be thrown

* Minor tweaks

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2024-05-27 02:19:52 -07:00

45 lines
1.5 KiB
Markdown

---
layout: wiki
title: Grenades
component: grenades
description: Different throwing modes for grenades, a flashbang, incendiary grenade and hand flares.
group: feature
category: equipment
parent: wiki
mod: ace
version:
major: 3
minor: 0
patch: 0
---
<div class="panel callout">
<h5>Note:</h5>
<p>Check out the <a href="{{ site.baseurl }}/wiki/feature/advanced-throwing.html">Advanced Throwing</a> page for the new alternative system introduced in version 3.7.0.</p>
</div>
## 1. Overview
### 1.1 Throw modes
Provides different modes for throwing grenades (high throw, precision throw and drop mode).
A grenade is only rollable if the fuse time (`explosionTime`) is >= 1 second and the player isn't in a vehicle.
### 1.2 Hand flares
Adds throwable hand flares in the colors white, red, green and yellow. Additionally buffs existing flares by making them brighter and last longer.
### 1.3 M84 stun grenade
Adds the M84 stun grenade. The stun effect will also affect AI.
### 1.4 M14 Incendiary grenade
Adds the AN-M14 incendiary grenade. This grenade has a thermate filler and is primarily used for the destruction of material.
## 2. Usage
### 2.1 Switching between throw modes
- Press <kbd>8</kbd> (ACE3 default key bind `Switch Grenade Mode`)
### 2.2 Switching between grenades
- Press <kbd>6</kbd> (ACE3 default key bind `Select frag`) to switch between `LETHAL` grenades
- Press <kbd>7</kbd> (ACE3 default key bind `Select non-frag`) to switch between `NON LETHAL` grenades