diff --git a/Readme.md b/Readme.md index 8305b6f..05fd8a0 100644 --- a/Readme.md +++ b/Readme.md @@ -64,7 +64,7 @@ This mod requires GZDoom 4.2.4 or later. ## In progress - - N/A this is the 1.1.1 release. + - N/A this is the 1.1.2 release. ## Planned diff --git a/zscript/utcommon.zsc b/zscript/utcommon.zsc index dc4b0d7..4b6e30a 100644 --- a/zscript/utcommon.zsc +++ b/zscript/utcommon.zsc @@ -2783,10 +2783,28 @@ Class UTTeleParticle : UTMeshParticle } } +Class WaterHit +{ + Sector sect; + Vector3 hitpos; +} + +Class UTInvisibleSplasher : Actor +{ + States + { + Spawn: + TNT1 A 2; + Stop; + } +} + // Follows a single line trail, spawns bubbles if underwater // In addition, also activates shoot-through lines, since LineTrace can't do it +// Also spawns splashes when crossing water sectors Class UTBulletTrail : LineTracer { + Array WaterHitList; Array ShootThroughList; Actor ignoreme; @@ -2794,10 +2812,16 @@ Class UTBulletTrail : LineTracer { let t = new("UTBulletTrail"); t.ignoreme = target; + t.WaterHitList.Clear(); t.ShootThroughList.Clear(); t.Trace(pos,level.PointInSector(pos.xy),dir,dist,0); for ( int i=0; i