Difference between revisions of "Classes:MachineGun"
From ECWolf Wiki
(Created page with "{{Actor| | type = Weapon | game = Wolf3D | name = Machine Gun | class = MachineGun | doomednum = 60 }}Classes: {{Class|Actor}} → {{Class|Inventory}} → {{Class|We...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
actor <u>MachineGun</u> : {{Class|WolfWeapon}} 60 | actor <u>MachineGun</u> : {{Class|WolfWeapon}} 60 | ||
{ | { | ||
− | {{property| | + | {{property|AttackSound}} "weapon/machine/attack" |
{{property|inventory.icon}} "MACHGUN" | {{property|inventory.icon}} "MACHGUN" | ||
{{property|inventory.pickupsound}} "weapon/machine/pickup" | {{property|inventory.pickupsound}} "weapon/machine/pickup" | ||
{{property|weapon.selectionorder}} 1300 | {{property|weapon.selectionorder}} 1300 | ||
+ | +{{flag|INVENTORY.ALWAYSPICKUP}} | ||
states | states | ||
{ | { | ||
Line 29: | Line 30: | ||
MCHG B 3 | MCHG B 3 | ||
Hold: | Hold: | ||
− | MCHG C 3 bright [[A_GunAttack]] | + | MCHG C 3 bright |
− | + | MCHG D 3 [[A_GunAttack]] | |
MCHG E 3 [[A_ReFire]] | MCHG E 3 [[A_ReFire]] | ||
goto Ready | goto Ready | ||
} | } | ||
} | } |
Latest revision as of 06:02, 24 December 2013
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
Machine Gun | |||
---|---|---|---|
Actor type | Weapon | Game | |
DoomEd Number | 60 | Class Name | MachineGun |
Classes: Actor → Inventory → Weapon → WolfWeapon → MachineGun
→BlueAK47
Overview
Automatic rifle in Wolfenstein 3D.
DECORATE Definition
actor MachineGun : WolfWeapon 60 { AttackSound "weapon/machine/attack" inventory.icon "MACHGUN" inventory.pickupsound "weapon/machine/pickup" weapon.selectionorder 1300 +INVENTORY.ALWAYSPICKUP states { Spawn: MGUN A -1 stop Ready: MCHG A 1 A_WeaponReady loop Fire: MCHG B 3 Hold: MCHG C 3 bright MCHG D 3 A_GunAttack MCHG E 3 A_ReFire goto Ready } }