Cut 6a: headless orbital drop kinematics, hover-slam, wave respawns, and DropPodEvent net seam
This commit is contained in:
parent
8ce9bece1f
commit
c2f1e5bf90
25 changed files with 2931 additions and 118 deletions
|
|
@ -11,7 +11,7 @@ namespace RustToDust.Tests
|
|||
[Fact]
|
||||
public void DrivingAndFiring_MovesBuggyInYmirAndBuildsWeaponHeat()
|
||||
{
|
||||
using var session = new ArenaSession(seed: 42, slot0Human: true);
|
||||
using var session = new ArenaSession(seed: 42, slot0Human: true, skipInitialDrop: true);
|
||||
var player = session.State.Contenders[0];
|
||||
float startX = player.X;
|
||||
float startZ = player.Z;
|
||||
|
|
@ -53,7 +53,7 @@ namespace RustToDust.Tests
|
|||
[Fact]
|
||||
public void ChassisSwap_ToManticoreAndRaptor_ReplacesBodyWithoutLeakingYmirLanes()
|
||||
{
|
||||
using var session = new ArenaSession(seed: 77, slot0Human: true);
|
||||
using var session = new ArenaSession(seed: 77, slot0Human: true, skipInitialDrop: true);
|
||||
var player = session.State.Contenders[0];
|
||||
int initialFreeSlots = session.World.FreeBodySlots;
|
||||
|
||||
|
|
@ -102,7 +102,7 @@ namespace RustToDust.Tests
|
|||
[Fact]
|
||||
public void BroadsideFire_UsesDirectionalSupportRadiusNotMaxExtent()
|
||||
{
|
||||
using var session = new ArenaSession(seed: 19, slot0Human: true);
|
||||
using var session = new ArenaSession(seed: 19, slot0Human: true, skipInitialDrop: true);
|
||||
var player = session.State.Contenders[0];
|
||||
|
||||
// Swap to Tank / Anvil (HalfWidth = 1.93m, HalfLength = 2.83m) where broadside vs forward differs by ~0.9m.
|
||||
|
|
@ -139,7 +139,7 @@ namespace RustToDust.Tests
|
|||
[Fact]
|
||||
public void TracerEvent_AssignsMonotonicId_AndPreservesAcrossAdvance()
|
||||
{
|
||||
using var session = new ArenaSession(seed: 19, slot0Human: true);
|
||||
using var session = new ArenaSession(seed: 19, slot0Human: true, skipInitialDrop: true);
|
||||
var player = session.State.Contenders[0];
|
||||
float aimX = player.X + MathF.Sin(player.Yaw) * 25f;
|
||||
float aimZ = player.Z + MathF.Cos(player.Yaw) * 25f;
|
||||
|
|
|
|||
Loading…
Reference in a new issue