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
Last revision Both sides next revision
ded:values_for_heretic [2019-03-03 19:46]
skyjake [Syntax]
ded:values_for_heretic [2019-03-03 20:09]
skyjake
Line 21: Line 21:
           <​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 43:
 ==== 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.txt · Last modified: 2019-04-07 15:09 by skyjake