mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 05:21:02 +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)
90 lines
1.8 KiB
Text
90 lines
1.8 KiB
Text
// The player ---------------------------------------------------------------
|
|
|
|
ACTOR StrifePlayer : PlayerPawn
|
|
{
|
|
Health 100
|
|
Radius 18
|
|
Height 56
|
|
Mass 100
|
|
PainChance 255
|
|
Speed 1
|
|
MaxStepHeight 16
|
|
Player.ColorRange 128, 143
|
|
Player.DisplayName "Rebel"
|
|
Player.StartItem "PunchDagger"
|
|
Player.WeaponSlot 1, PunchDagger
|
|
Player.WeaponSlot 2, StrifeCrossbow2, StrifeCrossbow
|
|
Player.WeaponSlot 3, AssaultGun
|
|
Player.WeaponSlot 4, MiniMissileLauncher
|
|
Player.WeaponSlot 5, StrifeGrenadeLauncher2, StrifeGrenadeLauncher
|
|
Player.WeaponSlot 6, FlameThrower
|
|
Player.WeaponSlot 7, Mauler2, Mauler
|
|
Player.WeaponSlot 8, Sigil
|
|
|
|
action native A_ItBurnsItBurns();
|
|
action native A_CrispyPlayer();
|
|
action native A_HandLower();
|
|
|
|
States
|
|
{
|
|
Spawn:
|
|
PLAY A -1
|
|
stop
|
|
See:
|
|
PLAY ABCD 4
|
|
loop
|
|
Missile:
|
|
PLAY E 12
|
|
goto Spawn
|
|
Melee:
|
|
PLAY F 6
|
|
goto Missile
|
|
Pain:
|
|
PLAY Q 4
|
|
PLAY Q 4 A_Pain
|
|
Goto Spawn
|
|
Death:
|
|
PLAY H 3
|
|
PLAY I 3 A_PlayerScream
|
|
PLAY J 3 A_NoBlocking
|
|
PLAY KLMNO 4
|
|
PLAY P -1
|
|
Stop
|
|
XDeath:
|
|
RGIB A 5 A_TossGib
|
|
RGIB B 5 A_XScream
|
|
RGIB C 5 A_NoBlocking
|
|
RGIB DEFG 5 A_TossGib
|
|
RGIB H -1 A_TossGib
|
|
Burn:
|
|
BURN A 3 Bright A_ItBurnsItBurns
|
|
BURN B 3 Bright A_DropFire
|
|
BURN C 3 Bright A_Wander
|
|
BURN D 3 Bright A_NoBlocking
|
|
BURN E 5 Bright A_DropFire
|
|
BURN FGH 5 Bright A_Wander
|
|
BURN I 5 Bright A_DropFire
|
|
BURN JKL 5 Bright A_Wander
|
|
BURN M 5 Bright A_DropFire
|
|
BURN N 5 Bright A_CrispyPlayer
|
|
BURN OPQPQ 5 Bright
|
|
BURN RSTU 7 Bright
|
|
BURN V -1
|
|
Stop
|
|
Disintegrate:
|
|
DISR A 5 A_PlaySoundEx("misc/disruptordeath", "Voice")
|
|
DISR BC 5
|
|
DISR D 5 A_NoBlocking
|
|
DISR EF 5
|
|
DISR GHIJ 4
|
|
MEAT D -1
|
|
Stop
|
|
Firehands:
|
|
WAVE ABCD 3
|
|
Loop
|
|
Firehandslower:
|
|
WAVE ABCD 3 A_HandLower
|
|
Loop
|
|
}
|
|
}
|
|
|