Backport some changes from development branch:
- Made Kinsie's Test Map changes toggleable (off by default) - Corrected physics of various projectiles - Replaced textures of health items to something better looking - Biosludge now only has a hitbox when stuck to surfaces, to be more consistent with vanilla behavior - Some code cleanup
This commit is contained in:
parent
2ea4a9cb9c
commit
5435f06d4e
20 changed files with 222 additions and 285 deletions
|
|
@ -115,6 +115,7 @@ Class TranslocatorGlow : Actor
|
|||
Class TranslocatorModule : Actor
|
||||
{
|
||||
Actor b;
|
||||
bool alreadyhit;
|
||||
|
||||
Default
|
||||
{
|
||||
|
|
@ -128,12 +129,10 @@ Class TranslocatorModule : Actor
|
|||
+HITTRACER;
|
||||
+MOVEWITHSECTOR;
|
||||
+CANBOUNCEWATER;
|
||||
-BOUNCEAUTOOFF;
|
||||
+BOUNCEAUTOOFFFLOORONLY;
|
||||
+BLOCKASPLAYER;
|
||||
BounceType "Doom";
|
||||
BounceFactor 0.5;
|
||||
WallBounceFactor 0.5;
|
||||
BounceType "Hexen";
|
||||
BounceFactor 0.3;
|
||||
WallBounceFactor 0.3;
|
||||
}
|
||||
|
||||
override void PostBeginPlay()
|
||||
|
|
@ -207,8 +206,17 @@ Class TranslocatorModule : Actor
|
|||
Bounce:
|
||||
TMOD A 0
|
||||
{
|
||||
A_SetPitch(0);
|
||||
A_PlaySound("transloc/bounce");
|
||||
if ( alreadyhit )
|
||||
{
|
||||
ClearBounce();
|
||||
ExplodeMissile();
|
||||
}
|
||||
else
|
||||
{
|
||||
A_SetPitch(0);
|
||||
A_PlaySound("transloc/bounce");
|
||||
if ( BlockingFloor ) alreadyhit = true;
|
||||
}
|
||||
}
|
||||
Goto Spawn;
|
||||
Death:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue