Explosion Types
Client-side
Server-side
Shared
The following explosion types are used by createExplosion function.
| ID | Name | Description |
|---|---|---|
| 0 | Grenade | When a grenade or satchel projectile explodes. |
| 1 | Molotov | When a molotov projectile explodes |
| 2 | Rocket | When a rocket projectile explodes. When a type 7 explosion occurs (with a victim i.e. vehicle source) and a 5% chance. If plane or heli (not RC vehicle) and below 250 hp and a 1.2% chance. |
| 3 | Rocket Weak | If a HS rocket projectile and the launcher is not local player. |
| 4 | Car | When a car or bike explodes. |
| 5 | Car Quick | When ID 564 or 441 blows up. (RC Tiger & Bandit) |
| 6 | Boat | When a boat blows up. |
| 7 | Aircraft | When a plane or helicopter blows up. |
| 8 | Mine | Related to PICKUP_NAUTICAL_MINE_ARMED. |
| 9 | Object | Exploding object e.g. explosive barrel, tank stations. |
| 10 | Tank Grenade | Rhino shooting. |
| 11 | Small | Most likely only used by scripts. |
| 12 | Tiny | When ID 464, 465 or 501 (RC Baron, RC Raider, Goblin) blows up. |
Explosion types in a Lua table:
Section Explosion types in a Lua table:local explosionTypes = { [0] = "Grenade", -- When a grenade or satchel projectile explodes. [1] = "Molotov", -- When a molotov projectile explodes [2] = "Rocket", -- When a rocket projectile explodes. When a type 7 explosion occurs (with a victim i.e. vehicle source) and a 5% chance. If plane or heli (not RC vehicle) and below 250 hp and a 1.2% chance. [3] = "Rocket Weak", -- If a HS rocket projectile and the launcher is not local player. [4] = "Car", -- When a car or bike explodes. [5] = "Car Quick", -- When ID 564 or 441 blows up. (RC Tiger & Bandit) [6] = "Boat", -- When a boat blows up. [7] = "Aircraft", -- When a plane or helicopter blows up. [8] = "Mine", -- Related to PICKUP_NAUTICAL_MINE_ARMED. [9] = "Object", -- Exploding object e.g. explosive barrel, tank stations. [10] = "Tank Grenade", -- Rhino shooting. [11] = "Small", -- Most likely only used by scripts. [12] = "Tiny", -- When ID 464, 465 or 501 (RC Baron, RC Raider, Goblin) blows up.}