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 [2019-03-03 19:46]
skyjake [Syntax]
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 21: Line 29:
           <​ammoname>​ = "<​amount>";​           <​ammoname>​ = "<​amount>";​
         };         };
-      }; +        ​ 
-      <​weaponnumber>​|2 {  ​# Power Level 2 +        # Powered mode: 
-        Static = "​0";​ +        ​2 {   
-        Per shot { +          Static = "​0";​ 
-          <​ammoname>​ = "<​amount>";​+          Per shot { 
 +            <​ammoname>​ = "<​amount>"​
 +          };
         };         };
 +        ​
       };       };
     };     };
Line 40: 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.1551635196.txt.gz · Last modified: 2019-03-03 19:46 by skyjake