본문으로 건너뛰기
온라인 플레이

Weapons

A def fights with its weapons, each one a gun of its own class, damage, range and rate of fire. With extends, leave weapons out to keep the base's guns, or write your own list to replace them.

Damage

Damage is dmg × the armour matrix cell for the weapon's class against the target's armour, with mult overriding single cells. The counter web explains the classes; the matrix:

무기경장갑중형 장갑중장갑건물함선잠수함항공기
정찰 버기
×1.50×1×0.40×0.35———
울프 경전차
×1.50×1×0.50×0.50×0.70——
바이슨 주력 전차
×0.60×1.30×1×0.80×0.90—×0.70
매머드 중전차
×0.60×1.30×1.10×1×0.90—×0.70
바이퍼 구축전차
×0.40×1.10×1.80×0.70×0.75——
험비 대공 차량
×0.50×0.35×0.15×0×0.40—×1.10
카라페이스 복합 대공 차량
——————×1
선더 곡사포
×1.20×1×0.75×1.60×1——
템페스트 다연장 로켓포
×1.20×1×0.75×1.60×1——
샐러맨더 열압력 박격포
×1.20×1×0.60×1.60×1——
불워크 C-RAM
×1.50×1.50×0.50×0×0.70——
센티넬 레이저 차량
×2×0.10×0.10×0.10×1—×1.20
드레이크 화염 전차
×1.50×1.10×0.45×1.30×0.50——
게이터 상륙 전투차
×1.50×1×0.50×0.50×0.70——
호넷 자폭 드론
×0.40×1.10×1.80×0.70×0.75——
스콜피온 탄도 미사일 발사차
×1.20×1×0.75×1.60×1——
포함
×1.50×1×0.50×0.50×0.80—×0.25
미사일정
————×1.60——
이지스 호위함
×1×1×0.75×0.75×1×1.90×1
바라쿠다 잠수함
————×1.30×1.20—
소버린 전함
×1.20×1×1×1.60×1.20—×1
항공모함
×1×1×0.75×0.75×1—×1
크라켄 순항 미사일 잠수함
×1.20×1×0.75×1.60———
팔콘 전투기
——————×1
코브라 공격 헬기
×0.60×1.10×1.80×0.50×0.75——
선더볼트 공격기
×1.40×1.40×0.90×0.70×0.90——
알바트로스 대함 공격기
————×1.70——
벌처 폭격기
×1.20×1.20×1×1.60×1.10——
스펙터 건십
×1.20×1.20×0.80×0.80×0.70——
레이스 스텔스 폭격기
×1×0.90×0.60×1.60×1——
코모란트 대잠 헬기
————×0.90×1.80—
사령부
×1×1×1×0.10×1—×1
사령부 2단계
×1×1×1×0.10×1—×1
기관총 포탑
×1.50×1.50×0.40×0.30×0.60——
개틀링 포탑
×1.50×1.50×0.50×0.30×0.70——
캐논 포탑
×0.60×1.30×1.10×0.60×1——
요새 캐논
×0.60×1.30×1.20×0.60×1.10——
화염 방사 포탑
×1.50×1.10×0.50×0.50×0.50——
대공 포탑
——————×1
대공 미사일 진지
——————×1
지뢰
×1.20×1×0.25×0.10———
기뢰
————×1×1—

A look of its own

A weapon may look like its own thing with a look: its own round (a prj.<name> sheet), flash and burst (fx.<name> sheets), or a beam — a laser or a Tesla bolt drawn from the muzzle to the target, which strikes at once.

A weapon whose sound names one of the mod's recordings fires with it; one without uses the game's sound for its class. A gun that turns on a building, or several guns on one hull, are drawn as turrets.

Reference

A weapon (defs[].weapons[])

필드유형필수기본값설명
extensions{ capability: configuration }Optional engine weapon configuration (format 3)
idstringw1, w2…a name for the weapon
clsmg | autocannon | cannon | at | he | rocket | navgun | ashm | torpedo | aayeswhat it was built to kill; picks its row of the armour matrix
dmgnumber 0–100000yesdamage per hit
reloadnumber 0.05–600yesseconds between shots or bursts
rangenumber 0.5–64yestiles
minRangenumber 0–64tiles it cannot fire inside
projectilebullet | shell | missile | rocket | bomb | torpedo | flak | flameby classthe round drawn
speednumber 1–5000by projectileround speed, world px/s
targets(ground | ship | sub | air)[]by classwhat it may fire at: ground, ship, sub, air
mult{ armour: number }overrides of the class row, by armour class
splashnumber 0–500blast radius, world px
burstinteger 1–32shots per burst
burstDelaynumber 0–5seconds between the shots of a burst
salvobooleanthe burst is fired a mount at a time: every muzzle of a mount (`bores`, `muzzlePoints`) at once, heard as one report, and the next mount (`turretMounts`) `burstDelay` later; a `burst` of all the mounts' muzzles fires each once
ammointeger 1–9999rounds carried, a burst one: dry, a unit goes home for more on its own (an airbase for an aircraft, a naval yard for a hull, a war factory for the rest) and a building refills where it stands; absent never runs dry
vsWarheadnumber 0–101against a warhead in flight, this share of what it does to an aircraft
homingbooleanthe round tracks its target
interceptablebooleanpoint defence may shoot it down
rackinteger 2–8rounds held ready and loaded one at a time, `reload` seconds each, where it stands: it fires whenever one is loaded, every round it has `burstDelay` apart, and its reload bar is a segment a round; with a `burst`, each is a pod of that many rounds, loaded as one and fired together from its own muzzles, and at a target only the pods it needs go
interceptRoundsinteger 1–201point-defence rounds it takes to shoot one of its rounds down; a hit short of that strikes sparks and the round flies on
arcbooleana ballistic arc (artillery)
turretbooleantrue when the def has a turretSpritefired from the rotating part
recoilnumber 0–10cosmetic barrel recoil stroke, art px; requires barrel regions on the turret art, changes no weapon statistic
verticalbooleanlaunched straight up out of the hull, like a submarine's missile tubes: it fires at any bearing and the hull never turns for it; `muzzleOffset` then runs along the keel to the tubes
muzzleOffsetnumber 0–200pivot to muzzle, world px; a unit's art is drawn 1.5625×, so measure on the sheet and multiply
boresinteger 1–81barrels, fired one after another
boreSpacingnumber 0–60gap between adjacent barrels, world px
muzzlePointsstringexplicit muzzle positions, fired in list order: 1–16 `{ forward, lateral }` points in world px from the firing pivot (forward along the bore, lateral to its right; either may be negative); replaces `muzzleOffset`, `bores` and `boreSpacing`; a `rack` of pods takes them a pod at a time, the first pod the first `burst` of them
spreadnumber 0–200inaccuracy at full range, world px
friendlyFirebooleanthe blast hurts your own side too
fannumber 0–1.5a `flame` jet: the half-angle it is sprayed across, radians
burnnumber 0–1000a `flame` jet: damage a second the fire it leaves does, to both sides
burnLifenumber 0–120a `flame` jet: seconds that fire keeps burning
spinUpnumber 0.05–10a rotary gun: seconds its barrels take to spin up from rest; it fires only once they are at speed, and with nothing to shoot they coast to a stop over 1.5 s
heatLimitnumber 0.5–120barrels that heat with fire: seconds of unbroken fire before it overheats, stops and cools; firing in bursts, the heat drains between them
coolTimenumber 0.1–602with `heatLimit`: seconds an overheated gun takes to cool before it fires again
overheatbooleanthe reload is shown as the weapon overheating: named so, counted down, and the muzzle glows while it cools
soundstringby classthe firing sound: mg, hmg, gatling, autocannon, cannon, missile, tbm, flak, arty, rocket, torpedo, bomb, flame, or the key of one of this mod's `sounds`
looklookhow it looks, in place of its class: its own round, flash, burst where it lands, or a beam (see Weapon looks)

A weapon's look (weapons[].look)

필드유형필수기본값설명
spritestringthe round: one of this mod's `prj.<name>` sheets — its frames play as it flies, or, baked `rotated`, it is turned to its heading
scalenumber 0.1–81the round and its flash drawn at this multiple
beam{ color, width, style, life }the round is light: `{ color, width, style, life }` — a line from the muzzle to where it strikes, `laser` straight or `lightning` jagged, held `life` seconds; it strikes at once
muzzlestringthe class's flashthe muzzle flash: one of this mod's `fx.<name>` sheets, or `none`
impactstringthe class's burstthe burst where it lands: an `fx.<name>` sheet of this mod, one of fx.expl.s, fx.expl.m, fx.expl.l, fx.spark, fx.flak, fx.smoke, fx.splash, fx.splash.l, fx.muzzle, fx.repair, fx.emp, fx.nuke, or `none`
impactScalenumber 0.1–81the burst drawn at this multiple
impactLifenumber 0.05–50.5seconds the burst plays over
trailsmoke | nonesmokea rocket's or a missile's smoke trail, or none

마지막 수정