1.2 update w/ GZDoom 4.9 features:

- Changeable player skins.
 - Ammo LEDs are now 1:1 with UT by using canvas textures.
 - Integrate some add-ons, including reskins.
 - Various fixes (some backported from Demolitionist).
 - Migrated from libeye to Gutamatics.
This commit is contained in:
Marisa the Magician 2022-11-05 23:59:16 +01:00
commit 602a89cc68
1761 changed files with 4461 additions and 1597 deletions

View file

@ -1,5 +1,21 @@
Class UDamage : PowerupGiver
{
bool bOldSkin;
void A_CheckSkin()
{
if ( flak_oldudamage )
{
if ( !bOldSkin ) A_ChangeModel("",0,"models/220","UDamage_d.3d",0,"models/220","Judamage1.png");
bOldSkin = true;
}
else
{
if ( bOldSkin ) A_ChangeModel("",0,"models","UDamage_d.3d",0,"models","GoldSkin2.png");
bOldSkin = false;
}
}
Default
{
Tag "$T_UDAMAGE";
@ -16,8 +32,8 @@ Class UDamage : PowerupGiver
States
{
Spawn:
UDAM A -1;
Stop;
UDAM A 1 A_CheckSkin();
Wait;
}
}