User Tools

Site Tools


ded:values_for_heretic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ded:values_for_heretic [2018-08-29 09:33]
skyjake [Weapon Numbers]
ded:values_for_heretic [2019-04-07 15:09] (current)
skyjake [Syntax]
Line 8: Line 8:
   Values   Values
   {   {
 +    Menu Label {
 +      <label text> = "<​replacement>";​
 +    }
 +    ​
 +    Intermission Label {
 +      <label text> = "<​replacement>";​
 +    }
 +  ​
     Player {     Player {
       Max ammo {       Max ammo {
Line 18: Line 26:
         Id = "<​weaponid>";​         Id = "<​weaponid>";​
         Static = "​0";​         Static = "​0";​
 +        Per shot {
 +          <​ammoname>​ = "<​amount>";​
 +        };
 +        ​
 +        # Powered mode:
 +        2 {  ​
 +          Static = "​0";​
 +          Per shot {
 +            <​ammoname>​ = "<​amount>";​
 +          };
 +        };
 +        ​
       };       };
     };     };
Line 31: Line 51:
 ==== Weapon Info ==== ==== 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).+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).
  
   ; Static   ; 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.   : 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.
 +  ; Per shot 
 +  : Amount(s) of ammo used per shot. You can specify one or more ammo types. Any types not specified are automatically set to zero. (Since [[version:​2.2]])
 +
 +=== Power level 2 ===
 +
 +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"​ }
 +        }
 +      }
 +    }
 +  }
  
 ===== Reference Tables ===== ===== Reference Tables =====
ded/values_for_heretic.1535524392.txt.gz ยท Last modified: 2018-08-29 09:33 by skyjake