Help:Writing Guntower pages: Difference between revisions
(Build time) |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Getting infobox information from game files == | == Getting infobox information from game files == | ||
=== Using nebula2-assets-extractor === | |||
Using the <code>wikibox</code> subcommand with boxes <code>GUNTOWER_MACHINEGUN</code> and <code>GUNTOWER_FIREMISSILE</code> | |||
=== Machine Guns === | === Machine Guns === | ||
Line 13: | Line 15: | ||
==== Build time ==== | ==== Build time ==== | ||
.gettimeout of vhcl. | .gettimeout of vhcl.bauphase.statewatch | ||
Search for "flakbuildingwatch_bauphase" | Search for "flakbuildingwatch_bauphase" | ||
Line 32: | Line 34: | ||
=== Missile === | === 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 |
Latest revision as of 20:28, 31 October 2022
Guntower pages are to use the Template:Guntower infobox template
Getting infobox information from game files[edit source]
Using nebula2-assets-extractor[edit source]
Using the wikibox
subcommand with boxes GUNTOWER_MACHINEGUN
and GUNTOWER_FIREMISSILE
Machine Guns[edit source]
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[edit source]
vhcl.getartefactuseenergy
Build time[edit source]
.gettimeout of vhcl.bauphase.statewatch
Search for "flakbuildingwatch_bauphase"
Health[edit source]
vhcl.getenergy
Damage[edit source]
turret.vhcl.normal.gun.getdamage Note that this is a different vhcl!
Guns[edit source]
First int argument of turret.vhcl.normal.gun.beginbarrels
Rate[edit source]
turret.vhcl.normal.gun.getmgspeed
Missile[edit source]
Energy cost[edit source]
vhcl.getartefactuseenergy
Build time[edit source]
.gettimeout of vhcl.bauphase.statewatch
Search for "flakbuildingwatch_bauphase"
Health[edit source]
vhcl.getenergy
Damage[edit source]
weapon.vhcl.explode.explo.getenergy Note that this is a different vhcl!
Guns[edit source]
Count of calls to "addweapon" in turret.vhcl.normal.weapon
Delay[edit source]
turret.vhcl.normal.weapon.getshotdelay
Missile speed[edit source]
turret.vhcl.normal.weapon.getstartspeed