- Changed P_SpawnPlayerMissile() to use the same height calculation as
P_(Aim)LineAttack(). - Added an AttackZOffset to PlayerPawn. This is the offset from the center of the player at which their attacks are fired and scales according to their crouched height. - Changed the version of P_SpawnPlayerMissile() that takes coordinates to use that location as an offset from the standard attack location rather than as an explicit attack location. SVN r498 (trunk)
This commit is contained in:
parent
e01ff5707c
commit
72643bece6
12 changed files with 81 additions and 26 deletions
|
|
@ -377,6 +377,7 @@ BEGIN_STATELESS_DEFAULTS (APlayerPawn, Any, -1, 0)
|
|||
PROP_Flags (MF_SOLID|MF_SHOOTABLE|MF_DROPOFF|MF_PICKUP|MF_NOTDMATCH|MF_FRIENDLY)
|
||||
PROP_Flags2 (MF2_SLIDE|MF2_PASSMOBJ|MF2_PUSHWALL|MF2_FLOORCLIP|MF2_WINDTHRUST|MF2_TELESTOMP)
|
||||
PROP_Flags3 (MF3_NOBLOCKMONST)
|
||||
PROP_PlayerPawn_AttackZOffset (8)
|
||||
// [GRB]
|
||||
PROP_PlayerPawn_JumpZ (8*FRACUNIT)
|
||||
PROP_PlayerPawn_ViewHeight (41*FRACUNIT)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue