User Guide
Quick Reference
Modding
Development
User Guide
Quick Reference
Modding
Development
When using the Heretic Plugin, the following values can be edited in a Values definition:
Values { Menu Label { <label text> = "<replacement>"; } Intermission Label { <label text> = "<replacement>"; } AI { Infight = "0"; }; Player { Max ammo { <ammoname> = "0"; }; Max health = "100"; }; Weapon Info { <weaponnumber> { Id = "<weaponid>"; Static = "0"; Per shot { <ammoname> = "<amount>"; }; # Powered mode: 2 { Static = "0"; Per shot { <ammoname> = "<amount>"; }; }; }; }; }
There may be multiple Player blocks per Values definition, later definitions override earlier ones.
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 below).
Player weapons behave differently with the Tome of Power. Values for these powered weapons are defined in the subgroup 2
inside the weapon's value group. For example, the definition below applies to the Gold Wand (weapon number 1) in the Powered state:
Values { Weapon Info { 1 { 2 { Per shot { Crystal = "2" } } } } }
In Heretic the weapon numbering is as follows:
Number | Weapon ID |
---|---|
0 | staff |
1 | goldwand |
2 | crossbow |
3 | blaster |
4 | skullrod |
5 | phoenixrod |
6 | mace |
7 | gauntlets |
Note that when the player is transformed to a Chicken, all weapons are replaced with the Beak.
In Heretic the following ammo types are defined (since 2.1):
Ammo name |
---|
Crystal |
Arrow |
Orb |
Rune |
FireOrb |
MSphere |