Boltwright is a gun editor. Stack boxes into a rifle, then load it and shoot it.

It isn't about reproducing real firearms. Every gun has to fit in 21–36 commands, so the work is figuring out how to make a shape read as a gun with almost nothing. What comes out is a gun you invented, not one you copied.

  • Build from 23 blocks — curved mags, flash hiders, trigger + guard, knurling, wood grain, rails, stocks
  • It moves — trigger, selector, forend, charging handle, magazine
  • It fires — full-auto, recoil, muzzle flash, brass, a target downrange
  • It sounds like your gun — the shot is synthesised from the mechanism you built, so no two sound the same
  • Tune it — damage, penetration, muzzle velocity, zero, falloff, spread, RPM
  • Optics with a cost — dot, holo, ACOG-type, switchable 1×/4×, 8×, magnifier
  • Paint it — hue, gloss, wear, generated camo, or your own image
  • A nagging validator — 23 rules, and it names exactly what you got wrong
  • A ledger — lines your gun up against everything you've built and scores how alike they look

Why it exists

This is the tool I use to model the guns for a game I'm making. Instead of building each one by hand in a 3D package, I write it as a short list of commands. The samples that ship with it are the actual weapons from that game's ledger.

Guns you build here export as JSON. Wiring that up so a gun made in this editor can be dropped straight into the game is what I'm working on next.

The game is still in development, and the editor will keep getting updates.

Controls

OrbitLeft-drag empty space
ZoomWheel
SelectClick a box, or pick from the list
MoveDrag the arrows, or arrow keys
Add a commandA
FireHold FIRE (bottom right)
Save to libraryCtrl+S
Compare with the ledgerC

Requirements

Desktop browser, 1100 px wide or more. It is a three-column editor and the 3D view has nowhere to go on a phone.


Boltwright(銃エディタ)。箱を積んで3Dの銃をつくり、その場で撃つ。

実銃を再現する道具ではありません。銃は21〜36本の命令に収める必要があるので、やることは 「少ない部品でどう銃らしく見せるか」になります。出来上がるのは、あなたが考えた銃です。

  • 23種の部品で組む — 湾曲弾倉、鳥籠消炎器、引金+用心金、ローレット、木目、レール、筒床
  • 動く — 引金・切替・先台・槓桿・弾倉
  • 撃てる — 連射、反動、マズルフラッシュ、薬莢、的
  • 自分の銃の音がする — 発砲音は組んだ機構から合成。同じ音の銃はできない
  • 数値をいじれる — 威力・貫通・初速・ゼロイン・減衰・散り・発射速度
  • 代償のある光学 — ドット、ホロ、ACOG型、1倍/4倍切替、8倍、マグニファイア
  • 塗れる — 色相・艶・擦れ、迷彩の自動生成、画像の持ち込み
  • 口うるさい検証 — 23項目を見張っていて、破綻を名指ししてくる
  • 台帳と比べる — 過去の全部と並べて、シルエットの似すぎを採点

なぜ作ったか

作っているゲームの銃をモデリングするために、自分用に作った道具です。3Dソフトで1挺ずつ組む代わりに、短い命令の並びで銃を書きます。同梱のサンプルは、そのゲームの台帳にある武器そのものです。

作った銃はJSONで書き出せます。それをゲームに取り込んで、このエディタで作った銃をそのまま使えるようにするのが次の目標です。

ゲームは製作中で、このエディタもアップデートしていく予定です。

操作

回す何もない所を左ドラッグ
寄るホイール
選ぶ3Dの箱をクリック、または一覧から
動かす矢印をドラッグ、または矢印キー
命令を追加A
撃つ右下の FIRE を押しっぱなし
一覧に保存Ctrl+S
台帳と比べるC

動作環境

幅1100px以上のPCブラウザ。 3カラムのエディタなので、スマホだと3Dビューが潰れます。three.js 製。一度読み込めばオフラインでも動きます。


このツールは匿名の利用状況(画面幅・どの機能が使われたか・滞在時間)を作者のサーバーに送ります。続きを作る価値があるかの判断に使うだけで、個人を特定する情報は含まず、外部にも渡しません。

Anonymous usage counts (screen width, which buttons were used, session length) are sent to my own server so I can tell whether the tool is worth continuing. No account, no personal data, nothing shared with anyone.

Leave a comment

Log in with itch.io to leave a comment.