Various fixes and tweaks. Adjusted collision for most things (turns out projectiles with 0 height break with 3d floors).

Added brightmaps to flak chunks. Reverted chunk trail to be sprite-based.
This commit is contained in:
Marisa the Magician 2018-05-30 21:31:41 +02:00
commit 92ae39afba
32 changed files with 209 additions and 46 deletions

View file

@ -184,6 +184,10 @@ Class RandomSpawner2 : RandomSpawner
Class UTWeapon : Weapon
{
double droppedheight;
Property DroppedHeight : droppedheight;
// Drawstuffs under HUD
virtual ui void PreRender() {}
// Drawstuffs over HUD
@ -197,6 +201,7 @@ Class UTWeapon : Weapon
{
d.SetState(d.ResolveState("Spawn")+1);
d.bALWAYSPICKUP = true;
d.A_SetSize(-1,UTWeapon(d).droppedheight);
}
return d;
}
@ -205,6 +210,7 @@ Class UTWeapon : Weapon
{
SetState(ResolveState("Spawn")+1);
bALWAYSPICKUP = true;
A_SetSize(-1,droppedheight);
return false;
}
@ -228,6 +234,7 @@ Class UTWeapon : Weapon
Weapon.BobRangeX 0.2;
Weapon.BobRangeY 0.4;
+WEAPON.NOALERT;
UTWeapon.DroppedHeight 16;
}
}