Implement particle mesh effects.

Append heal amount to health pickup messages.
This commit is contained in:
Marisa the Magician 2019-10-02 17:37:44 +02:00
commit 416b15683e
19 changed files with 282 additions and 27 deletions

View file

@ -13,6 +13,10 @@ Class UTHealthPack : Health
Inventory.PickupSound "misc/ut_keg";
Inventory.RespawnTics 3500;
}
override String PickupMessage()
{
return String.Format("%s +%d",PickupMsg,Amount);
}
States
{
Spawn:
@ -30,6 +34,10 @@ Class UTHealthBox : Health
Inventory.PickupMessage "$I_HEALTHBOX";
Inventory.PickupSound "misc/ut_heal";
}
override String PickupMessage()
{
return String.Format("%s +%d",PickupMsg,Amount);
}
States
{
Spawn:
@ -48,6 +56,10 @@ Class UTMedBox : Health
Inventory.PickupSound "misc/ut_heal";
Inventory.RespawnTics 700;
}
override String PickupMessage()
{
return String.Format("%s +%d",PickupMsg,Amount);
}
States
{
Spawn:
@ -69,6 +81,10 @@ Class UTHealthBonus : Health
Inventory.PickupSound "misc/ut_heal";
RenderStyle "Add";
}
override String PickupMessage()
{
return String.Format("%s +%d",PickupMsg,Amount);
}
States
{
Spawn: