mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-15 15:01:42 +00:00
a7e40b56f6
have those escapes stripped before printing so that they do not merge with subsequent text. - Moved default weapon slot assignments into the player classes. Weapon.SlotNumber is now used solely for mods that want to add new weapons without completely redoing the player's arsenal. Restored some config-based weapon slot customization, though slots are no longer automatically saved to the config and section names have changed slightly. However, unlike before, config slots are now the definitive word on slot assignments and cannot be overridden by any other files loaded. - Fixed: Several weapons were missing a game filter from their definitions. - Removed storage of weapon slots in the config so that weapon slots can be setup in the weapons themselves. Slots are still configurable, since they need to be for KEYCONF to work; any changes simply won't be saved when you quit. - Removed limit on weapon slot sizes. SVN r1428 (trunk)
71 lines
1.2 KiB
Text
71 lines
1.2 KiB
Text
|
|
// The Mage's Wand ----------------------------------------------------------
|
|
|
|
ACTOR MWeapWand : MageWeapon
|
|
{
|
|
Game Hexen
|
|
Weapon.SelectionOrder 3600
|
|
Weapon.KickBack 0
|
|
Weapon.YAdjust 9
|
|
|
|
States
|
|
{
|
|
Select:
|
|
MWND A 1 A_Raise
|
|
Loop
|
|
Deselect:
|
|
MWND A 1 A_Lower
|
|
Loop
|
|
Ready:
|
|
MWND A 1 A_WeaponReady
|
|
Loop
|
|
Fire:
|
|
MWND A 6
|
|
MWND B 6 Bright Offset (0, 48) A_FireCustomMissile ("MageWandMissile")
|
|
MWND A 3 Offset (0, 40)
|
|
MWND A 3 Offset (0, 36) A_ReFire
|
|
Goto Ready
|
|
}
|
|
}
|
|
|
|
// Wand Smoke ---------------------------------------------------------------
|
|
|
|
ACTOR MageWandSmoke
|
|
{
|
|
+NOBLOCKMAP +NOGRAVITY +SHADOW
|
|
+NOTELEPORT +CANNOTPUSH +NODAMAGETHRUST
|
|
RenderStyle Translucent
|
|
Alpha 0.6
|
|
States
|
|
{
|
|
Spawn:
|
|
MWND CDCD 4
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Wand Missile -------------------------------------------------------------
|
|
|
|
ACTOR MageWandMissile : FastProjectile native
|
|
{
|
|
Speed 184
|
|
Radius 12
|
|
Height 8
|
|
Damage 2
|
|
+RIPPER +CANNOTPUSH +NODAMAGETHRUST
|
|
+SPAWNSOUNDSOURCE
|
|
SeeSound "MageWandFire"
|
|
States
|
|
{
|
|
Spawn:
|
|
MWND CD 4 Bright
|
|
Loop
|
|
Death:
|
|
MWND E 4 Bright
|
|
MWND F 3 Bright
|
|
MWND G 4 Bright
|
|
MWND H 3 Bright
|
|
MWND I 4 Bright
|
|
Stop
|
|
}
|
|
}
|