Implement particle mesh effects.
Append heal amount to health pickup messages.
This commit is contained in:
parent
e0d01f730e
commit
416b15683e
19 changed files with 282 additions and 27 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue