- Fixed: Strife's quest based line actions also work in Deathmatch.
- Fixed: Gravity application was not correct. For actors with no vertical momentum the initial pull is supposed to be twice as strong as when vertical movement already takes place. - added invquery CCMD like in Strife. Also removed all underscores from the tag strings so that they can be printed properly. - Fixed: Skill baby was missing 'autousehealth' for all games. - Added a new CVAR: sv_disableautohealth - Autouse of health items is no longer hardwired to the default item classes. There's a new property HealthPickup.Autouse. 0 means no autouse, 1 a small Raven health item, 2 a large Raven health item and 3 a Strife item. SVN r1452 (trunk)
This commit is contained in:
parent
37aa4c2c28
commit
42ac64d964
27 changed files with 248 additions and 144 deletions
|
|
@ -374,6 +374,17 @@ CCMD (invuse)
|
|||
players[consoleplayer].inventorytics = 0;
|
||||
}
|
||||
|
||||
CCMD(invquery)
|
||||
{
|
||||
AInventory *inv = players[consoleplayer].mo->InvSel;
|
||||
if (inv != NULL)
|
||||
{
|
||||
const char *description = inv->GetClass()->Meta.GetMetaString(AMETA_StrifeName);
|
||||
if (description == NULL) description = inv->GetClass()->TypeName;
|
||||
Printf(PRINT_HIGH, "%s (%dx)\n", description, inv->Amount);
|
||||
}
|
||||
}
|
||||
|
||||
CCMD (use)
|
||||
{
|
||||
if (argv.argc() > 1 && who != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue