Some work in progress here.

- Upstreamed GetClipAmount() from Doomreal, for inter-compatibility.
- Fix missing unique pickup messages for clips and single flak shell.
- Implement ice death support.
- Fix frictionless corpses sliding around.
- Add support for a Red Heretic key, should work with any custom maps that use it.
- Added anti-bd feature, thanks to Skerion for letting me use this hilarious video.
- Fixed missing drown sound for Female skins.
- Added missing Redeemer altfire sound.
- Fix damage scaling of Biorifle alt.
- Flak Cannon altfire has been adjusted so it fires faster and reloads slower, like in UT.
- Voodoo dolls can now produce liquid splashes.
- Pain and death sounds will always be overriden by drowning when underwater, like in UT.
- Add player portraits to each class for the settings menu.
This commit is contained in:
Marisa the Magician 2019-11-27 21:27:34 +01:00
commit 6b248cd843
226 changed files with 369 additions and 54 deletions

View file

@ -559,12 +559,19 @@ Class PulseMag : UTCasing
Class PulseGun : UTWeapon
{
int clipcount;
bool ClipOut;
double sangle;
Actor beam;
transient ui Font usmf;
Property ClipCount : clipcount;
override int, int, bool, bool GetClipAmount()
{
if ( !flak_pulsereload ) return Super.GetClipAmount();
return ClipOut?-1:ClipCount, -1, (ClipCount<10), false;
}
action void A_DrainAmmo()
{
Weapon weap = Weapon(invoker);
@ -737,6 +744,10 @@ Class PulseGun : UTWeapon
PGNP B -1;
Stop;
Ready:
PGNS A 0
{
invoker.clipout = false;
}
PGNS ABCDEFGHIJKLMNOPQRSTUVW 1 A_WeaponReady(WRF_NOFIRE);
Idle:
PGNI A 1
@ -800,6 +811,7 @@ Class PulseGun : UTWeapon
PGNR BCDEFGHIJKLMNO 1;
PGNR P 1
{
invoker.clipout = true;
invoker.clipcount = 0;
}
PGNR QRSTUVWXYZ 1;
@ -816,6 +828,7 @@ Class PulseGun : UTWeapon
PGR2 BCD 1;
PGR2 E 1
{
invoker.clipout = false;
invoker.clipcount = Min(invoker.default.clipcount,invoker.Ammo1.Amount);
}
PGR2 FGHIJKLMNOPQRSTUVWX 1;