Classes:StrifeGrenadeLauncher
Classes: Inventory→Weapon→StrifeWeapon→StrifeGrenadeLauncher
→StrifeGrenadeLauncher2
A double barreled grenade launcher, with two modes of fire. This mode fires Explosive Grenades, which do exactly that after three or four bounces.
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
Dual grenade launcher | |||
---|---|---|---|
Actor type | Weapon | Game | ![]() |
DoomEd Number | 154 | Class Name | StrifeGrenadeLauncher |
Conversation ID | 195, 189, 193 | Puzzle Item ID | N/A |
DECORATE definition
ACTOR StrifeGrenadeLauncher : StrifeWeapon { +FLOORCLIP Weapon.SelectionOrder 2400 Weapon.AmmoUse1 1 Weapon.AmmoGive1 12 Weapon.AmmoType1 "HEGrenadeRounds" Weapon.SisterWeapon "StrifeGrenadeLauncher2" Inventory.Icon "GRNDA0" Tag "$TAG_GLAUNCHER1" // "Grenade Launcher" Inventory.PickupMessage "$TXT_GLAUNCHER" // "You picked up the Grenade launcher." action native A_FireGrenade(class<Actor> grenadetype, float angleofs, state flash); States { Spawn: GRND A -1 Stop Ready: GREN A 1 A_WeaponReady Loop Deselect: GREN A 1 A_Lower Loop Select: GREN A 1 A_Raise Loop Fire: GREN A 5 A_FireGrenade("HEGrenade", -90, "Flash") GREN B 10 GREN A 5 A_FireGrenade("HEGrenade", 90, "Flash2") GREN C 10 GREN A 0 A_ReFire Goto Ready Flash: GREF A 5 Bright A_Light1 Goto LightDone Flash2: GREF B 5 Bright A_Light2 Goto LightDone } }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.