Assorted changes, including some code cleanup and more accurate UT physics for various projectiles.
I also made the Kinsie's Test Map tweaks toggleable because someone didn't like them.
This commit is contained in:
parent
b398a27919
commit
4189150f17
11 changed files with 174 additions and 103 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