Help:Writing Guntower pages: Difference between revisions
From Project Nomads Unofficial Wiki
(Created page with "Guntower pages are to use the Templates: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 ==== Health ==== vhcl.getenergy ==== Damage ==== turret.vhcl.normal.gun.getdamage Note that this is a different vhc...") |
No edit summary |
||
Line 1: | Line 1: | ||
Guntower pages are to use the [[ | Guntower pages are to use the [[Template:Guntower infobox]] template | ||
== Getting infobox information from game files == | == Getting infobox information from game files == |
Revision as of 19:12, 23 May 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
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
TBD