Help:Writing Guntower pages: Difference between revisions
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
==== Build time ==== | ==== Build time ==== | ||
.gettimeout of vhcl. | .gettimeout of vhcl.bauphase.statewatch | ||
Search for "flakbuildingwatch_bauphase" | Search for "flakbuildingwatch_bauphase" | ||
Line 36: | Line 36: | ||
==== Build time ==== | ==== Build time ==== | ||
.gettimeout of vhcl. | .gettimeout of vhcl.bauphase.statewatch | ||
Search for "flakbuildingwatch_bauphase" | Search for "flakbuildingwatch_bauphase" |
Revision as of 16:35, 29 September 2022
Guntower pages are to use the Template:Guntower infobox template
Getting infobox information from game files
Machine Guns
Guntowers are defined in the data(1).npk files.
At the root of each Guntower prototype, the vhcl property of type nfactory contains most of the information needed.
Energy cost
vhcl.getartefactuseenergy
Build time
.gettimeout of vhcl.bauphase.statewatch
Search for "flakbuildingwatch_bauphase"
Health
vhcl.getenergy
Damage
turret.vhcl.normal.gun.getdamage Note that this is a different vhcl!
Guns
First int argument of turret.vhcl.normal.gun.beginbarrels
Rate
turret.vhcl.normal.gun.getmgspeed
Missile
Energy cost
vhcl.getartefactuseenergy
Build time
.gettimeout of vhcl.bauphase.statewatch
Search for "flakbuildingwatch_bauphase"
Health
vhcl.getenergy
Damage
weapon.vhcl.explode.explo.getenergy Note that this is a different vhcl!
Guns
Count of calls to "addweapon" in turret.vhcl.normal.weapon
Delay
turret.vhcl.normal.weapon.getshotdelay
Missile speed
turret.vhcl.normal.weapon.getstartspeed