User Tools

Site Tools


ded:values_for_heretic

This is an old revision of the document!


Values for Heretic

When using the Heretic Plugin, the following values can be edited in a Values definition:

Syntax

Values
{
  Player {
    Max ammo {
      <ammoname> = "0";
    };
  };

  Weapon Info {
    <weaponnumber> {
      Id = "<weaponid>";
      Static = "0";
    };
  };
}

Player

There may be multiple Player blocks per Values definition, later definitions override earlier ones.

Max ammo
Maximum amount of ammo that the player can carry. Remember that this will be doubled by a back pack pickup. (Since 2.1)

Weapon Info

There may be multiple Weapon Info blocks per Values definition, later definitions override earlier ones. A Weapon Info block begins with the number of the weapon that is to be configured (see reference table bellow).

Static
Setting this to “1” will prevent the lowering/raising of the weapon when switching (e.g., if a weapon model has raise/lower animations). However the weapon will still take the same amount of time to switch as the raise/lower animation would take.

Reference Tables

Weapon Numbers

In Heretic the weapon numbering is as follows:

Number Weapon name
0 Staff
1 Gold Wand
2 Crossbow
3 Blaster
4 Skull Rod
5 Phoenix Rod
6 Mace
7 Gauntlets

Ammo names

In Heretic the following ammo types are defined (since 2.1):

Ammo name
Crystal
Arrow
Orb
Rune
FireOrb
MSphere
ded/values_for_heretic.1535524318.txt.gz · Last modified: 2018-08-29 09:31 by skyjake