Body model, lights, glass and mirrors, file layout and JSON, sounds, and the spec.車体のモデル、灯火・ガラス・ミラー、置き場所と JSON、音、諸元(走り)。
新しい車を 1 台ゲームに出すのに、これだけは要るという流れです。各手順の詳しいことは、手順の最後にある章にあります。ここでは、パックの名前を mypack、車種の名前を ae86 とします。
The bare minimum to get one new car into the game. Each step links to the chapter with the details. Here the pack is called mypack and the car ae86.
mods/ に入れる。 → 配布の 1 章これで、自分の車体で、既定の諸元のまま走る車が 1 台増えます。
mods/. → chapter 1 of ShippingYou now have one more car: your body, driving on the default spec.
リソースパックで KurumaMod の既定の車を自分の車体に差し替えれば、jar を作らずに F3+T で何度でも試せます。手順は6 章の「既定の車の見た目だけ差し替えたい(リソースパック)」にあります。
Override KurumaMod's built-in car with your body using a resource pack. No jar needed, and F3+T reloads it as often as you like. See "Only replace the look of the built-in car (resource pack)" in chapter 6.
| What you want | Where |
|---|---|
| Working lights, see-through windows, reflecting mirrors | Chapter 3 |
| Paint a texture, or let players pick the colour | Chapter 4 |
| Fix the body size | Chapter 6 |
| Fit the tyre size and track to the body | Chapter 7 |
| Fix where the licence plates go | Chapter 8 |
| Fix the seat position | Chapter 9 |
| Fix the steering wheel position or angle | Chapter 10 |
| Change the engine sound | Chapter 11 |
| Change how it drives (weight, engine, suspension) | Chapter 12 |
| Fit your own wheels | Chapter 1 of the Wheel guide |
| Fit your own tyres | Chapter 1 of the Tyre guide |
| Make wings or bumpers swappable | Chapter 1 of the Parts guide |
assets/ の中(モデル・テクスチャ・見た目の JSON・lang)を直したら、ゲームで F3+Tdata/ の中(諸元)を直したら、ゲームで /reloadjar に入れて試しているときは、jar を作り直して入れ替え、ゲームを起動し直します。
assets/ (model, texture, look JSON, lang), press F3+T in gamedata/ (the spec), run /reload in gameIf you are testing from a jar, rebuild the jar, swap it in and restart the game.
META-INF/ is not at the top of the jar), or modId contains - or .data/mypack/cars/ae86.json is in the wrong place or not valid JSON. The reason is in the logbody.model path or namespace (mypack:) is wrongOther symptoms are in "When it doesn't work" in chapter 6 and in chapter 3 of Shipping.
車体を作る前に、寸法の目安になる枠(ゲージ)を Blender に置きます。ゲージに合わせて作れば、JSON の寸法は既定のままで済みます。
Before you model, put a reference frame (the gauge) into Blender. Build to it and the sizes in the JSON can stay at their defaults.
Scripting タブを開き、新規(New)を押す。modeling_tools/blender_gauge.py の中身を全部貼り付けて、実行する。▶ を押すか Alt+Pこれで、タイヤ 4 つ・地面・シャシー基準面がワイヤーフレームで置かれます。
Scripting tab at the top and press New.modeling_tools/blender_gauge.py and run it. Press ▶ or Alt+PFour wheels, the ground and the chassis plane now appear as wireframes.
Scripting タブ(左上)を開き、New を押してから貼り付けますScripting tab (top left), press New, then paste.| 名前 | 何か |
|---|---|
gauge_wheel_FL ほか 4 つ | タイヤの位置と大きさ。ここにタイヤハウスが来るように車体を作る |
gauge_ground | 地面(Z = 0)。ワールド原点はこの高さ |
gauge_chassis_plane | シャシー基準面(Z = 0.632m)。ゲームが車の「位置」とする高さ。4 隅が車軸の真上 |
| Name | What it is |
|---|---|
gauge_wheel_FL and 3 more | Where the wheels sit and how big they are. Build the wheel arches around these |
gauge_ground | The ground (Z = 0). The world origin is at this height |
gauge_chassis_plane | The chassis plane (Z = 0.632 m), the height the game treats as the car's position. Its corners sit right above the axles |
もう一度実行するだけです。前のゲージは消えてから置き直されます。
ゲージは選択できない設定になっています。作業中に間違って動かすことはなく、A で全部を選んでも入りません。
Just run it again. The old gauge is removed before the new one goes in.
The gauge cannot be selected. You cannot move it by accident, and A (select all) leaves it out.
| ホイールベース | 3.12 m(前後輪の距離) |
|---|---|
| トレッド | 2.00 m(左右輪の距離) |
| タイヤ半径 | 0.45 m(直径 90cm) |
| シャシー基準面 | 0.632 m |
実車より 2 割大きめです。Minecraft のプレイヤーはずんぐりしているので、実寸だと車が小さく見えるためです。
| Wheelbase | 3.12 m (front axle to rear axle) |
|---|---|
| Track | 2.00 m (left wheel to right wheel) |
| Wheel radius | 0.45 m (90 cm diameter) |
| Chassis plane | 0.632 m |
That is 20% bigger than a real car. Minecraft players are stocky, and a true-size car looks small next to them.
それでも動きます。実際に作った寸法を、見た目の JSON の designWheelBase(ホイールアーチの前後の距離)に書きます(6 章)。ゲームがその比で車体を拡大・縮小して、ゲージの大きさに合わせます。
It still works. Write the sizes you actually built into designWheelBase (distance between the arches) in the look JSON (chapter 6). The game scales the body by that ratio to fit the gauge size.
スクリプトの先頭の SCALE = 1.2 を 1.0 にします。そのときは諸元(data/<pack>/cars/<car>.json)の wheel_base・track_width・wheel_radius も同じ寸法に揃えます(12 章)。揃えないと、タイヤだけが元の位置と大きさで出ます。
はじめての車では触らないでください。
Change SCALE = 1.2 at the top of the script to 1.0. Then set wheel_base, track_width and wheel_radius in the spec (data/<pack>/cars/<car>.json) to the same sizes (chapter 12). If you don't, the wheels still appear at the old positions and size.
Leave it alone for your first car.
Wheels and tyres are both made in files separate from the body, each with its own gauge.
modeling_tools/blender_wheel_gauge.py. Chapter 1 of the Wheel guidemodeling_tools/blender_tire_gauge.py. Chapter 1 of the Tyre guideIf you make neither, the car gets KurumaMod's wheels and tyres.
車体のメッシュを作る章です。決まりは原点の位置と向きだけで、大きさと形は自由です。
This chapter is about modelling the body. The only rules are where the origin is and which way the car faces; size and shape are up to you.
これで、書き出せばゲームのタイヤと車体が合います。
Once exported, the body and the in-game wheels line up.

| 高さ | 地面(Z = 0)。車体の底ではない |
|---|---|
| 前後 | 前輪と後輪のちょうど中間。全長の中心とは限らない |
| 左右 | 中央 |
| Height | Ground level (Z = 0), not the underside of the body |
|---|---|
| Front–rear | Exactly halfway between the axles, not necessarily the middle of the overall length |
| Left–right | On the centreline |
合わせるのはワールド原点です。オブジェクトを選んだときに出るオレンジの点(オブジェクト原点)はどこにあっても構いません。
What matters is the world origin. The orange dot you see on a selected object (its object origin) can be anywhere.
車体を全部選び(A)、G で動かします。ゲージは選択できないので一緒には動きません。
Select the whole body (A) and move it with G. The gauge cannot be selected, so it stays put.
ミラーモディファイアを使います。書き出しのときに自動で適用されるので、「適用」は押さなくてかまいません。
ただし、左右のドアミラーの鏡だけは別々のオブジェクトにします(3 章のミラー)。
Use a mirror modifier. The exporter applies it for you, so you don't need to press "Apply".
The one exception is the glass of the two door mirrors, which must be separate objects (mirrors in chapter 3).
分けても分けなくても同じです。ゲームは名前の決まっていないオブジェクトを全部まとめて車体として描きます。同梱の S15 は、車体の大部分を body 1 つにまとめ、ドアミラーの筐体や車内などを作業のしやすさで別のオブジェクトにしています。
ライト・ガラス・ミラー・ハンドル・付け替える部品だけは名前で働きが決まるので、別のオブジェクト(または別のマテリアル)にします(3 章)。
Split or not, it makes no difference. The game draws every object without a special name as body. The bundled S15 keeps most of the body in one body object and splits off the mirror housings, the cabin and so on only for convenience while modelling.
Lights, glass, mirrors, the steering wheel and swappable parts are the exception: their names decide what they do, so they need their own objects (or materials) (chapter 3).
作らなくてもかまいません。何も作らなければ、車体の裏面がそのまま内装として見えます。作るなら、ふつうの車体として作れば描かれます。座席の位置は見た目の JSON の seat で決まり、座席のメッシュとは関係ありません(9 章)。
You don't have to. Without one, the back faces of the body show through and serve as the cabin. If you do model one, build it as ordinary body and it is drawn. Where the player sits comes from seat in the look JSON, not from any seat mesh (chapter 9).
あまり気にしなくてかまいません。同梱の S15 の車体は約 3,200 面、ホイール(TE37)は約 1,200 面、タイヤは約 380 面です。面は四角形のまま作って構いません(三角形に割る必要はありません。5 章)。
Don't worry much about it. The bundled S15 body is about 3,200 faces, the wheel (TE37) about 1,200 and the tyre about 380. Model in quads as usual; there is no need to triangulate (chapter 5).
Forward Axis を触った(5 章)Forward Axis was changed on export (chapter 5)オブジェクトに決まった名前を付けるだけで、ライトが光り、窓が透け、ミラーに後ろが映り、ハンドルが回ります。JSON には何も書きません。
Give an object one of a few set names and it lights up, turns see-through, reflects what is behind or turns with the steering. Nothing goes into the JSON.
mirror_rear)は室内のフロントガラス上端に、ハンドル(steering_wheel)は室内の運転席の前にありますmirror_rear) is inside the cabin at the top of the windscreen, and the steering wheel (steering_wheel) is inside the cabin in front of the driver's seat.
glass_…・light_…・mirror_…・steering_wheel)だけを表示したところ。アウトライナーの名前が、そのままゲームの中の役目になりますglass_…, light_…, mirror_…, steering_wheel). The names in the outliner are what the game reads.| オブジェクトの名前 | ランプ | 点くとき | 色 |
|---|---|---|---|
light_head | ヘッドライト | L で点く・消える。路面を照らす | 電球色 |
light_tail | テールランプ | いつもうっすら光り、ブレーキで明るくなる | 赤 |
light_reverse | バックランプ | ギアを R に入れたとき | 白 |
| Object name | Lamp | When it lights | Colour |
|---|---|---|---|
light_head | Headlights | On and off with L; lights up the road | Warm white |
light_tail | Tail lights | Always glow dimly; brighten under braking | Red |
light_reverse | Reverse lights | When the gear is in R | White |
色はゲームが付けます(レンズの UV を展開してテクスチャに色を塗れば、その色が出ます)。light_ で始まる名前は、この 3 つしか使えません。
The game adds the colour (unwrap the lens UVs and paint the texture to use your own). These three are the only light_ names.
これで、L でヘッドライトが点き、テールランプはいつもうっすら光ってブレーキで明るくなり、ギアを R に入れるとバックランプが点きます。
L now turns the headlights on, the tail lights glow dimly and brighten under braking, and the reverse lights come on in R.

light_tail という名前のオブジェクトにしたところ(見本の S15)。light_head・light_reverse も同じく役目ごとに 1 つ。左右は 1 つのオブジェクトのままでよいlight_tail (the S15 example). light_head and light_reverse are one object per role in the same way; both sides can stay in one object.light_ で始まる名前はこの 3 つだけ
light_fog のような名前を付けると、そこが穴になって何も描かれません。フォグランプは light_head に含めるか、ふつうの車体として作ります。
light_ NAMES
Name something light_fog and it becomes a hole where nothing is drawn. Fold fog lights into light_head, or model them as plain body.
| オブジェクトの名前 | ガラスになるか |
|---|---|
glass・glass_front・glass.side など | なる。glass のすぐ後ろが _ か . なら、何枚に分けてもよい |
glasshouse のように続けた名前 | ならない(ふつうの車体) |
| Object name | Is it glass? |
|---|---|
glass, glass_front, glass.side and so on | Yes. As long as glass is followed by _ or ., split it into as many as you like |
A run-on name like glasshouse | No (plain body) |
濃さは 0.35 です。変えたいときはマテリアルの Alpha で(下の「ガラスの濃さを変えたい」)。
Opacity is 0.35. To change it, use the material's Alpha (see "Change how dark the glass is" below).
glass で始める。これで、窓が透けます(濃さは 0.35)。
glass, as in the table above.The windows are now see-through (opacity 0.35).

glass_front・glass_rear・glass_side_front・glass_side_rear に分けたところ。名前が glass で始まっていればよく、1 つにまとめてもよいglass_front, glass_rear, glass_side_front and glass_side_rear. Any name starting with glass works, and one object for all of them is fine too.| オブジェクトの名前 | ミラー | 映すもの |
|---|---|---|
mirror_rear | ルームミラー | 真後ろ(1 度下向き) |
mirror_left | 左のドアミラー | 左後ろ(1.5 度下向き。内側に自分の車の横腹が少し映る) |
mirror_right | 右のドアミラー | 右後ろ(同じ) |
| Object name | Mirror | What it shows |
|---|---|---|
mirror_rear | Rear-view mirror | Straight behind (1° down) |
mirror_left | Left door mirror | Behind on the left (1.5° down, with a little of your own car's flank on the inside) |
mirror_right | Right door mirror | Behind on the right (likewise) |
映す向きはゲームが決めるので、鏡の角度は合わせなくてかまいません。ミラーは既定で切なので、H のメニューで入れます。
The game decides where each mirror looks, so you don't need to aim the glass. Mirrors are off by default; turn them on in the H menu.
これで、ミラーに後ろの景色が実際に映ります。
The mirrors now show what is really behind you.

mirror_left・mirror_rear・mirror_right を選んだところ。左右のドアミラーは別々のオブジェクト。鏡の面を運転席へ向けた箱でよいmirror_left, mirror_rear and mirror_right selected. The two door mirrors are separate objects; a box with its mirror face turned to the driver is enough.| オブジェクト | 名前 | 動き |
|---|---|---|
| ハンドルの回る部分(リムとスポーク) | steering で始まる(steering_wheel など。大文字小文字は問わない) | 切れ角に合わせて回り、運転している人の手が握る |
| Object | Name | What it does |
|---|---|---|
| The part of the wheel that turns (rim and spokes) | Starts with steering (steering_wheel and so on; case doesn't matter) | Turns with the steering; the driver's hands hold it |
steering_wheel にする。これで、ハンドルが切れ角に合わせて回り、運転している人の手がハンドルを握ります(一人称でも三人称でも)。回す中心と軸は形から自動で決まるので、原点の位置を合わせる必要も、JSON に書くこともありません。
steering_wheel.The wheel now turns with the steering, and the driver's hands hold it (in first and third person). The centre and axis it turns about are worked out from its shape, so you don't need to place the origin or write anything in the JSON.

steering_wheel にしたところ。コラムやダッシュボードは車体のままsteering_wheel. The column and dashboard stay as body.回る軸は「いちばん薄い向き」から決めるので、形は丸くなくてもかまいません(F1 のような横長のハンドルも回ります)。ただ、コラムまで 1 つのオブジェクトに入れたハンドルや、ボタンや画面で厚みのあるハンドルは、形から軸が取れず、止まったまま描かれます(手も置かれません。ログに理由が出ます)。そのときは Ctrl+G でコラムの角度を設定すれば回ります(すぐ下)。リムとスポークだけに分けておけば、何も設定しなくても回ります。
The axis is taken from the object's thinnest direction, so it doesn't have to be round (a wide F1-style wheel turns too). But a wheel with the column in the same object, or one made thick by buttons and a screen, gives no axis from its shape and is drawn without turning (no hands are placed either; the log says why). Then set the column angle with Ctrl+G and it turns (just below). Keep it to the rim and spokes and it turns with nothing to set.
形から軸が決まらないハンドル(コラムまで入っている、ボタンや画面で厚みがある)は、コラムの角度を設定すると回ります。乗ったまま Ctrl+G の「ハンドル」の「コラム」で合わせ、「JSON をコピー」で vehicles/<車>.json に貼ります。貼られるのはこの形です:
"steering": { "column": 10.0 }
column はコラム(ハンドルの付け根の筒)の角度 [度]。水平から、運転者へ向かって上がる向きが正。0 でハンドルの面が垂直(F1)、90 で面が水平(バス)。普通の乗用車は 20〜30 くらい(S15 は 25)column も一緒に書き出されます下が平らな D 型のハンドルや、上にだけ画面が付いたハンドルは、外形の真ん中が本当の中心からずれ、円を描くように揺れながら回ります。そのときは同じ画面の「中心 上下」の行で、揺れが止まるところまで中心を動かします(直径 37cm で下を 3cm 削った形なら -0.015 くらい)。JSON には "center": -0.015 のように書き出されます。
A wheel whose axis can't be found from its shape (the column is included, or buttons and a screen make it thick) turns once you set the column angle. Set it from the driver's seat with "Column" under "Steering" in Ctrl+G, then paste it into vehicles/<car>.json with "Copy JSON". It looks like this:
"steering": { "column": 10.0 }
column is the angle of the column (the shroud the wheel sits on) in degrees, measured from horizontal, positive as it rises towards the driver. 0 makes the wheel face vertical (F1), 90 makes it flat (a bus). Ordinary cars are around 20 to 30 (the S15 is 25)column as wellA D-shaped wheel with a flat bottom, or one with a screen only on top, has its outline's middle away from the real centre, so it turns while circling. Then move the centre with the "Centre up" row in the same screen until the circling stops (about -0.015 for a 37 cm wheel with 3 cm cut off the bottom). It is written out as "center": -0.015.
| 名前 | なるもの |
|---|---|
light_head | ヘッドライト。L で点く。光の筋もここから出る |
light_tail | テールランプ。いつもうっすら、ブレーキで最大 |
light_reverse | バックランプ。ギアが R のとき |
glass で始まる | 半透明のガラス |
mirror_rear | ルームミラー |
mirror_left / mirror_right | ドアミラー |
steering で始まる | ハンドル。切れ角に合わせて回り、運転者の手が握る |
part_ で始まる | 付け替える部品。その部品を付けているときだけ描かれる(パーツの 1 章) |
gauge_ で始まる | 捨てられる(ゲージが混ざっても描かれない) |
text_ で始まる | 描かれない(ナンバーの字の枠のための名前)。車体に付けると、そこが穴になる |
susp で始まる | 車体として描かれるが、シェーダーパックの影に落ちない。ダンパーやバネなど足まわりに使う(大文字小文字は問わない) |
| それ以外 | 車体 |
| Name | What it becomes |
|---|---|
light_head | Headlight. L turns it on; the light beam starts here too |
light_tail | Tail light. Dim at all times, full under braking |
light_reverse | Reverse light. On in R |
starts with glass | Translucent glass |
mirror_rear | Rear-view mirror |
mirror_left / mirror_right | Door mirrors |
starts with steering | Steering wheel. Turns with the steering; the driver's hands hold it |
starts with part_ | A swappable part. Drawn only while that part is fitted (chapter 1 of the Parts guide) |
starts with gauge_ | Discarded, so a stray gauge is never drawn |
starts with text_ | Not drawn (reserved for licence plate text boxes). On the body it leaves a hole |
starts with susp | Drawn as body, but casts no shadow under shader packs. For dampers, springs and other suspension parts (case doesn't matter) |
| anything else | Body |
面に割り当てるマテリアルの名前を light_tail・glass・mirror_left などにします。その面だけがその働きになります。バンパーの一部の面をテールランプにする、といった使い方です。
body など)なら、オブジェクト名の働きのまま.001 は無視されます。light_tail.001 もテールランプ.glb にいつも入ります(Wavefront で書き出すときは、「マテリアル」の「書き出し」を入れたままにします。既定で入っています)| オブジェクト名 | 面のマテリアル | その面 |
|---|---|---|
light_head | body | ヘッドライト |
light_head | glass | ガラス |
Bumper | light_tail | テールランプ |
Bumper | body | 車体 |
Name the material on those faces light_tail, glass, mirror_left and so on. Only those faces take the role. A few faces of a bumper can become a tail light this way.
body, say) leaves the object's role in place.001 is ignored: light_tail.001 is still a tail light.glb (when exporting as Wavefront, keep "Export Materials" ticked; it is on by default)| Object name | Face material | That face |
|---|---|---|
light_head | body | Headlight |
light_head | glass | Glass |
Bumper | light_tail | Tail light |
Bumper | body | Body |
レンズの UV を展開して、テクスチャに色を塗ります。展開したレンズは塗った色がそのまま出ます。
| レンズの UV | 色 |
|---|---|
| 1 点に潰す | ゲームが付ける(ヘッドは電球色、テールは赤、バックは白)。UV の場所を取らない |
| 展開する | テクスチャの色 |
どちらでも、点いたときの明るさと消えたときの暗さはゲームが付けます。テクスチャで暗く塗る必要はありません。
Unwrap the lens and paint it in the texture. An unwrapped lens shows exactly the painted colour.
| Lens UVs | Colour |
|---|---|
| Collapsed to one point | Set by the game (warm white head, red tail, white reverse). Uses no UV space |
| Unwrapped | From the texture |
Either way, the game handles how bright it is when on and how dim when off. Don't paint that into the texture.
窓にマテリアルを割り当てて、その Alpha を下げます(例 0.2 でもっと薄く、0.6 で濃く)。その値がそのまま濃さになります。Alpha が 1 のまま、またはマテリアルが無ければ 0.35 です。
濃さは .glb の中のマテリアルが運びます。読むのはマテリアルが半透明(alphaMode が BLEND)として書き出されたときだけで、そうでなければ 0.35 になります。Wavefront では .mtl が運ぶので、.obj と一緒に置いてください。
Give the window a material and turn its Alpha down (0.2 for lighter, 0.6 for darker). That value is the opacity. With Alpha left at 1, or no material at all, it is 0.35.
The opacity travels in the material inside the .glb. It is only read when the material is exported as transparent (alphaMode BLEND); otherwise it is 0.35. With Wavefront the .mtl carries it, so keep it next to the .obj.
全部 glass で始めれば、何枚でもかまいません(glass.front / glass.front_side / glass.rear など)。glass のすぐ後ろに _ か . を置きます。glasshouse のように続けた名前はガラスになりません。
light_ と違い、glass の名前は自由に増やしても穴は開きません。
Any number is fine as long as each starts with glass (glass.front, glass.front_side, glass.rear and so on). Put _ or . right after glass; a name that runs straight on, like glasshouse, is not glass.
Unlike light_, new glass names never leave a hole.
筐体はふつうの名前(見本では body_mirror_left)にして、鏡の板だけを mirror_left にします。こうすると、どの面が鏡になるか迷いません。
筐体ごと 1 つの mirror_ にした場合は、いちばん広い平らな面だけが鏡になり、ほかの面はふつうの車体として描かれます。
Give the housing an ordinary name (body_mirror_left in the sample) and name only the glass plate mirror_left. Then there is no doubt about which face reflects.
If the whole housing is one mirror_ object, only its largest flat face reflects; the other faces are drawn as ordinary body.
部品のオブジェクト(part_…)の中の面に、ライトのマテリアルを割り当てます。GT ウイングのハイマウントストップランプなら light_tail です。ウイングを外せばランプも消えます。
部品の中のミラーは映りません(ふつうの面として描かれます)。部品の作り方はパーツの 1 章にあります。
Assign a light material to faces inside the part object (part_…). For a high-mounted brake light on a GT wing, use light_tail. Take the wing off and the lamp goes with it.
Mirrors inside a part don't reflect (they are drawn as plain faces). How to make parts is in chapter 1 of the Parts guide.
left / right の名前が実際の左右と逆でも正しく映りますleft / right are swapped, it still reflects correctlylight_head / light_tail / light_reverse 以外の light_ 名を付けたglass で始まっていない(glasshouse のように続けていないか)。マテリアルの Alpha を使っているなら、マテリアルが半透明で書き出されているか(Wavefront なら .mtl を一緒に置いたか)light_ name other than light_head / light_tail / light_reverseglass (or runs straight on, like glasshouse). If you use material Alpha, was the material exported as transparent? (For Wavefront, is the .mtl next to the .obj?)車体に色や模様を付ける章です。テクスチャが無くても車は走るので、形だけ先に作ってあとで貼ってもかまいません。
This chapter is about giving the body colour and detail. The car drives without a texture, so you can build the shape first and paint it later.
assets/mypack/textures/entity/mycar.png に置いて、assets/mypack/vehicles/mycar.json の body に書く:
"body": { "model": "mypack:models/entity/mycar.glb",
"texture": "mypack:textures/entity/mycar.png" }これで、ゲームで F3+T を押すと車体にテクスチャが貼られます。
assets/mypack/textures/entity/mycar.png and write it into body in assets/mypack/vehicles/mycar.json:
"body": { "model": "mypack:models/entity/mycar.glb",
"texture": "mypack:textures/entity/mycar.png" }Press F3+T in game and the body is textured.
車体のテクスチャを色違いで何枚か用意すると、プレイヤーが換装画面の「塗装」タブで色を選べるようになります。選んだ色はマルチプレイの他の人にも見え、車をアイテムにして回収しても残ります。モデルは 1 つのままで、テクスチャだけを差し替えます。
Make a few colour versions of the body texture and players can pick one on the Paint tab of the parts screen. The chosen colour is seen by everyone in multiplayer and stays when the car is picked up as an item. The model stays the same; only the texture is swapped.
assets/mypack/textures/entity/mycar_red.png、mycar_black.pngpaints を書く。並べた順に換装画面に出て、先頭が新車の色になります:
"paints": [
{ "id": "blue", "name": "Blue", "texture": "mypack:textures/entity/mycar.png", "swatch": "#051F8C" },
{ "id": "red", "name": "Red", "texture": "mypack:textures/entity/mycar_red.png", "swatch": "#B41018" },
{ "id": "black", "name": "Black", "texture": "mypack:textures/entity/mycar_black.png", "swatch": "#0E0E10" }
]assets/mypack/textures/entity/mycar_red.png, mycar_black.pngpaints into the looks JSON. They appear in the parts screen in this order, and the first one is the factory colour:
"paints": [
{ "id": "blue", "name": "Blue", "texture": "mypack:textures/entity/mycar.png", "swatch": "#051F8C" },
{ "id": "red", "name": "Red", "texture": "mypack:textures/entity/mycar_red.png", "swatch": "#B41018" },
{ "id": "black", "name": "Black", "texture": "mypack:textures/entity/mycar_black.png", "swatch": "#0E0E10" }
]| キー | 必須 | 意味 |
|---|---|---|
id | 必須 | 塗装の名前。車の中で重ならないこと。小文字・数字・_ - . だけ、64 字まで。車に保存されるので、配ったあとは変えない |
texture | 必須 | 車体のテクスチャ。body.texture と同じ書き方 |
name | タイルに出す名前。そのままの文字でも、lang ファイルの翻訳キーでもよい。書かなければ id | |
swatch | タイルの色見本。"#RRGGBB"。書かなければ灰色の車に「?」 |
| Key | Required | Meaning |
|---|---|---|
id | yes | The paint's name, unique within the car. Lower-case letters, digits and _ - . only, up to 64 characters. It is saved on the car, so don't change it after release |
texture | yes | The body texture, written like body.texture |
name | Name shown on the tile. Plain text or a translation key from your lang file. Defaults to id | |
swatch | Colour sample on the tile, as "#RRGGBB". Without it the tile shows a grey car with “?” |
そのままでかまいません。UV 展開していない面は、テクスチャの 1 点の色で塗りつぶされます。絵がまだ無ければ、白く塗った小さな PNG を置いておけば足ります。
ライトのレンズは、UV を展開しないほうが都合がよいことがあります(3 章)。
That works as it is. Faces without UVs are filled with the colour of a single pixel of the texture. If you have no art yet, a small all-white PNG is enough.
For light lenses, leaving them unwrapped is often the better choice (chapter 3).
Wheels and tyres are parts separate from the body, and each part's JSON names its own texture. How to make them is in chapter 1 of the Wheel guide and chapter 1 of the Tyre guide; how to make them parts and fit them to the car is in chapter 2 of the Wheel guide and chapter 2 of the Tyre guide.
They are independent of the body texture: picking a body colour (paint) does not change the wheels or tyres.
paints を書いた車では、body.texture の代わりに先頭の塗装が使われます。先頭に元のテクスチャを置いておけば迷いませんname に翻訳キー(例 paint.mypack.red)を書き、assets/mypack/lang/ja_jp.json などにそのキーを足しますid を変えたとき、その色を選んでいた車は先頭の色で描かれます。id を戻せば元の色に戻りますid だけで、画像は各自のパックから読むためです。パックが古い人には先頭の色で見えますpaints, the first paint is used instead of body.texture. Put your original texture first to avoid confusionname (e.g. paint.mypack.red) and add that key to assets/mypack/lang/en_us.json and so onid, cars that had it are drawn in the first colour. Restore the id and they get their colour backid; each player loads the image from their own pack. Players with an older pack see the first colourできます。マテリアルの Base Color が、テクスチャの色に掛け合わされて出ます。テクスチャを白一色にしておけば、マテリアルの色がそのまま出ます。色は .glb の中に入ります(Wavefront なら .mtl が運ぶので、.obj と一緒に置いてください)。
You can. A material's Base Color is multiplied over the texture, so with an all-white texture the material colour comes through as is. The colours go inside the .glb (with Wavefront the .mtl carries them, so keep it next to the .obj).
.mtl を .obj と一緒に置いていない)。マテリアルを使わないつもりなら、それで問題ないtexture のパスと名前空間(mypack:)が合っているかpaints が 2 つ以上あるか。id に大文字や空白が入っているとその塗装は読み飛ばされる(ログに理由が出る).mtl is not next to the .obj). If you don't use materials, that is finetexture path and namespace (mypack:) match?paints? A paint whose id has capitals or spaces is skipped (the log says why)Blender の車体を、ゲームが読む glTF ファイル(.glb)にする章です。変える設定は 3 つだけで、あとは既定のままにします。
This chapter turns the Blender body into the glTF file (.glb) the game reads. You change three settings and leave everything else at its default.
これまでの形式の Wavefront(.obj と .mtl)も、今までどおり読めます。作ってあるパックを書き出し直す必要はありません。見た目と重さはどちらも同じです。違いは 2 つだけです。
Wavefront での書き出し方は、下の「Wavefront(.obj)で書き出したい」にあります。
The older format, Wavefront (.obj plus .mtl), is still read as before. You don't need to re-export a pack you have already made. Both look and perform the same. There are only two differences.
How to export Wavefront is under "Export as Wavefront (.obj)" below.
ファイル → エクスポート → glTF 2.0 (.glb/.gltf) を開く。mycar.glb.glb を assets/mypack/models/entity/ に置く。ファイルはこの 1 つだけこれで、見た目の JSON(6 章)の body.model から指せる車体ができます。
File → Export → glTF 2.0 (.glb/.gltf).mycar.glb.glb in assets/mypack/models/entity/. It is the only fileYou now have a body that body.model in the look JSON (chapter 6) can point at.
| 項目 | どうする |
|---|---|
| Format | glTF Binary (.glb) にする(全部が 1 つのファイルに入る) |
| Include → Limit to → Selected Objects | 入れる(ゲージを書き出さないため) |
| Mesh → Apply Modifiers | 入れる(ミラーモディファイアがこれで適用される。入れないと片側しか出ない) |
| Material → Images | 触らなくてよい。None にするとファイルが軽くなる(テクスチャは JSON の body.texture から読むため) |
| Animation | 触らない(入ったまま)。付けたアクションがそのまま入る(13 章) |
| Setting | Do this |
|---|---|
| Format | Set it to glTF Binary (.glb) (everything goes into one file) |
| Include → Limit to → Selected Objects | Tick it (keeps the gauge out) |
| Mesh → Apply Modifiers | Tick it (this applies the mirror modifier; without it only one half comes out) |
| Material → Images | No need to touch. None makes the file smaller (the texture comes from body.texture in the JSON) |
| Animation | Leave alone (on). Your actions go in as they are (chapter 13) |
マテリアルの名前と色は .glb の中に入ります。テクスチャは glTF の中からはまだ読まないので、body.texture に書きます(4 章)。
Material names and colours go inside the .glb. Textures inside the glTF are not read yet, so set body.texture (chapter 4).
Wheels and tyres go into files separate from the body (e.g. my_wheel.glb, my_tire.glb), with the same settings as the body. How to make them is in chapter 1 of the Wheel guide and chapter 1 of the Tyre guide. If you use KurumaMod's wheels and tyres, there is nothing to export.
これまでの形式です。アニメーションの無い車や、2.2.0 より前の KurumaMod でも動かしたいパックに使えます。このガイドで .glb と書いてある所は、そのまま .obj に読み替えられます(JSON の model も .obj を指す)。
ファイル → エクスポート → Wavefront (.obj) を開く。Selected Only を入れる。ほかの設定は触らない。mycar.obj.obj と .mtl を、両方 assets/mypack/models/entity/ に置く。| 項目 | どうする |
|---|---|
| Selected Only (古い版では Selection Only) | 入れる(ゲージを書き出さないため) |
| Forward Axis / Up Axis | 触らない(−Z / Y のまま) |
| Apply Modifiers | 触らない(入ったまま)。ミラーモディファイアがこれで適用される |
| Triangulated Mesh (古い版では Triangulate Faces) | 触らない(入れない) |
| マテリアルの「書き出し」 | 触らない(入ったまま)。マテリアルの名前と色が .mtl に入る |
.mtl は .obj と同じ場所に置く。マテリアルの色・ガラスの濃さ・マテリアル名で付けたライトなどの働きは、このファイルが運びます。どれも使っていなければ消してもかまいません(全体がテクスチャの色そのままになります)Forward Axis を触らない。設定には −Z Forward と書いてありますが、Blender の前(−Y)は +Z になって出てきます。この読み替えは MOD が済ませています。変えると前後と左右がまとめて裏返り、車体は左右対称なので気づけず、あとで「タイヤの向きだけおかしい」という形で出てきますThis is the older format. Use it for cars with no animations, or for packs that must also work on KurumaMod older than 2.2.0. Wherever this guide says .glb, you can read .obj instead (and point the JSON model at the .obj).
File → Export → Wavefront (.obj).Selected Only in the right-hand panel. Don't touch anything else.mycar.obj.obj and the .mtl in assets/mypack/models/entity/.| Setting | Do this |
|---|---|
| Selected Only (older versions: Selection Only) | Tick it (keeps the gauge out) |
| Forward Axis / Up Axis | Leave alone (−Z / Y) |
| Apply Modifiers | Leave alone (on). This applies the mirror modifier |
| Triangulated Mesh (older versions: Triangulate Faces) | Leave alone (off) |
| Materials: Export | Leave alone (on). Material names and colours go into the .mtl |
.mtl next to the .obj. It carries material colours, glass opacity, and roles given by material names (lights and so on). If you use none of those, you may delete it (everything then shows the texture as is)Forward Axis. The dialog says −Z Forward, but Blender's front (−Y) actually comes out as +Z, and the mod already accounts for that. Changing it flips front–back and left–right together; a symmetric body gives no clue it has been mirrored, and it shows up later as "only the wheels point the wrong way"glTF は三角形しか持てないので、Blender が面を三角形に割って書き出します。MOD が読み込むときに四角形へ組み直すので、重くはなりません。自分で三角形にしておく必要はありません。5 角形以上の面は、凹んでいても正しく割られます。
glTF only holds triangles, so Blender splits faces into triangles on export. The mod puts them back into quads when loading, so nothing gets heavier, and there is no need to triangulate yourself. Faces with five or more corners are split correctly, even concave ones.
Apply Modifiers を入れて書き出し直すSelected Objects を入れ忘れた。ゲージ(gauge_)は描かれないので害はないが、入れて書き出し直すpart_…)が出ない … 非表示のまま書き出した。非表示のオブジェクトは選べないので書き出したファイルに入らない。全部表示にしてから選ぶ(パーツの 1 章)Forward Axis を変えた。既定(−Z / Y)へ戻して書き出し直す.mtl を .obj と同じ場所に置いていないApply Modifiers and export againSelected Objects was off. Gauge objects (gauge_) are never drawn, so it is harmless, but tick it and export againpart_…) never appears — it was hidden when you exported. Hidden objects cannot be selected, so they are left out of the exported file. Unhide everything before selecting (chapter 1 of the Parts guide)Forward Axis was changed. Put it back to −Z / Y and export again.mtl is not next to the .obj作ったモデルを、ゲームで走る車種にします。見本のパックをコピーして、名前と中身を入れ替えるのがいちばん早い道です。
This turns your model into a car you can drive in game. The quickest way is to copy the example pack and swap in your own names and files.
ここでは、パックの名前を mypack、車種の名前を ae86 とします。
Here the pack is called mypack and the car ae86.
assets/mypack/models/entity/ae86.glb と assets/mypack/textures/entity/ae86.pngassets/mypack/vehicles/sample.json を ae86.json に改名して、中身をこうする:
{
"body": { "model": "mypack:models/entity/ae86.glb",
"texture": "mypack:textures/entity/ae86.png" }
}data/mypack/cars/sample.json を ae86.json に改名して、中身をこうする(走りは12 章で詰める):
{
"values": { "mass": 1200.0 }
}assets/mypack/lang/ja_jp.json と en_us.json に "car.mypack.ae86": "AE86"mods/ に入れる。固め方は配布の 1 章これで、クリエイティブタブに「AE86」が並び、自分の車体で走ります。
assets/mypack/models/entity/ae86.glb and assets/mypack/textures/entity/ae86.pngassets/mypack/vehicles/sample.json to ae86.json and make it:
{
"body": { "model": "mypack:models/entity/ae86.glb",
"texture": "mypack:textures/entity/ae86.png" }
}data/mypack/cars/sample.json to ae86.json and make it (tune the handling in chapter 12):
{
"values": { "mass": 1200.0 }
}"car.mypack.ae86": "AE86" in assets/mypack/lang/en_us.json and ja_jp.jsonmods/. See chapter 1 of the Shipping guide"AE86" now appears in the creative tab and drives with your body.
できあがりの形:
What you end up with:
mypack.jar
├── META-INF/
│ ├── mods.toml ← Forge 用
│ └── neoforge.mods.toml ← NeoForge 用
├── fabric.mod.json ← Fabric 用
├── pack.mcmeta
├── assets/ ← 見た目
│ └── mypack/
│ ├── lang/
│ │ ├── en_us.json
│ │ └── ja_jp.json
│ ├── models/
│ │ └── entity/
│ │ └── ae86.glb
│ ├── textures/
│ │ └── entity/
│ │ └── ae86.png
│ └── vehicles/
│ └── ae86.json
└── data/ ← 走り
└── mypack/
└── cars/
└── ae86.json
mypack.jar
├── META-INF/
│ ├── mods.toml <- for Forge
│ └── neoforge.mods.toml <- for NeoForge
├── fabric.mod.json <- for Fabric
├── pack.mcmeta
├── assets/ <- looks
│ └── mypack/
│ ├── lang/
│ │ ├── en_us.json
│ │ └── ja_jp.json
│ ├── models/
│ │ └── entity/
│ │ └── ae86.glb
│ ├── textures/
│ │ └── entity/
│ │ └── ae86.png
│ └── vehicles/
│ └── ae86.json
└── data/ <- handling
└── mypack/
└── cars/
└── ae86.json
名前がずれてもエラーは出ません。車種 id mypack:ae86 から、次の 3 つが決まります。1 つでもずれると、黙って既定の姿や名前になります。
A mismatched name gives no error. The car id mypack:ae86 fixes these three names; if one is off, the car quietly gets the default body or name.
| 名前 | |
|---|---|
| 諸元 | data/mypack/cars/ae86.json |
| 見た目 | assets/mypack/vehicles/ae86.json |
| 表示名の翻訳キー | car.mypack.ae86 |
| Name | |
|---|---|
| Spec | data/mypack/cars/ae86.json |
| Looks | assets/mypack/vehicles/ae86.json |
| Display-name translation key | car.mypack.ae86 |
新しい車種は増やさず、KurumaMod 付属の車を自分のモデルで上書きします。jar を作らずに済み、F3+T で何度でも入れ直せるので、モデルを試すのにも向いています。
.minecraft/resourcepacks/MyCar/
├── pack.mcmeta
└── assets/kurumamod/
├── models/entity/car.glb ← 自分の車体
├── models/entity/tire.obj ← 自分のタイヤ(全車に効く。付属のタイヤを上書きするので、この名前のまま Wavefront で)
├── textures/entity/car.png
└── vehicles/car.json ← 見た目の JSON(書き方は最小のカーパックと同じ)pack.mcmeta を書く:
{
"pack": { "description": "MyCar", "pack_format": 15 }
}開発環境で試すときは run/resourcepacks/ に置きます。人に配るなら、最小のカーパックの形にします。
vehicles/car.json を上書きすると、既定の車の塗装(paints)・部品の対応(parts)・ナンバーの位置(plates)も、書いたものに置き換わります。残したいものは書き写してください。
Instead of adding a car, override KurumaMod's own car with your model. No jar to build, and F3+T reloads it as often as you like, so it is also handy for trying out a model.
.minecraft/resourcepacks/MyCar/
├── pack.mcmeta
└── assets/kurumamod/
├── models/entity/car.glb <- your body
├── models/entity/tire.obj <- your tyre (applies to every car; it replaces the bundled tyre, so keep this name and export it as Wavefront)
├── textures/entity/car.png
└── vehicles/car.json <- looks JSON (written as in the minimal car pack)pack.mcmeta:
{
"pack": { "description": "MyCar", "pack_format": 15 }
}In a development environment it goes in run/resourcepacks/. To hand the car to others, use the minimal car pack layout instead.
Overriding vehicles/car.json also replaces the built-in car's paints (paints), part mapping (parts) and plate positions (plates) with whatever you write. Copy over anything you want to keep.
ゲージ(1 章)にぴったり合わせて作ったなら、何も書かなくて済みます。合わせられなかったときは、見た目の JSON(assets/mypack/vehicles/ae86.json)のいちばん外側に、メッシュを実際に作った寸法を書きます。
{
"body": { "model": "mypack:models/entity/ae86.glb",
"texture": "mypack:textures/entity/ae86.png" },
"designWheelBase": 3.12,
"designRideHeight": 0.632
}
designWheelBase … メッシュの前後のホイールアーチが何 m 離れているか(既定 3.12)。5.2m で作ってしまったなら 5.2 と書けば、ゲージの大きさに縮みますdesignRideHeight … 車体をシャシー基準面から下げる量 [m](既定 0.632)。車体が埋まる・浮くときに直すあとは body の中で細かく直せます:
"body": { "model": "...", "texture": "...",
"offset": [0.0, 0.02, 0.0],
"scale": 1.05 }
offset … 車体をずらす [m]。[x, y, z] で +X 右・+Y 上・−Z 前scale … 大きさの微調整。数字 1 つでも [x, y, z] でもよい。原点が地面なので上へ伸びる大きい車にしたいときは、ここではなく諸元を変えます。ゲームの調整画面でホイールベースとトレッドを広げ、body.scale を同じ倍率にします(1.2 倍なら 3.12→3.74m、2.0→2.4m、scale 1.2)。
If you built exactly to the gauge (chapter 1), there is nothing to write. If not, write the sizes you actually built the mesh at at the top level of the looks JSON (assets/mypack/vehicles/ae86.json):
{
"body": { "model": "mypack:models/entity/ae86.glb",
"texture": "mypack:textures/entity/ae86.png" },
"designWheelBase": 3.12,
"designRideHeight": 0.632
}
designWheelBase — how far apart the front and rear arches are in your mesh, in m (default 3.12). If you built it at 5.2 m, write 5.2 and it shrinks to the gauge's sizedesignRideHeight — how far to drop the body below the chassis plane, in m (default 0.632). Change it if the body sinks or floatsThen fine-tune inside body:
"body": { "model": "...", "texture": "...",
"offset": [0.0, 0.02, 0.0],
"scale": 1.05 }
offset — shift the body, in m. [x, y, z] with +X right, +Y up, −Z forwardscale — fine size adjustment; one number or [x, y, z]. The origin is on the ground, so it grows upwardFor a bigger car, change the spec instead. Widen the wheelbase and track in the game's tuning screen, and set body.scale to the same ratio (for 1.2×: 3.12→3.74 m, 2.0→2.4 m, scale 1.2).
見た目の JSON にはホイールの項目がありません。タイヤの位置は諸元の寸法が決めます。物理はその位置にタイヤがあるものとして走りを解いているので、見た目だけでタイヤを動かすことはできません。
data/mypack/cars/<車>.json の track_width。前後で変えるなら front_track_width・rear_track_width)。幅の広い車は、物理的にもトレッドが広いwheel_base)。車体のほうを合わせるなら designWheelBase(上の「車体の大きさ・位置を合わせたい」)wheel_radius)。ゲージのタイヤは実車の比率より大きめなので、実車の比率で車体を作ると、タイヤがタイヤハウスに収まらないことがある。そのときは wheel_radius と track_width を車体に合わせて書く(7 章)front_camber・rear_camber)。グリップが変わり、タイヤもその角度で傾いて描かれる。プレイヤーはセッティング画面(G)で変えられるThe looks JSON has no wheel entries. Where the wheels sit is set by the spec's dimensions. The physics solves the driving with the wheels at that position, so they cannot be moved for looks alone.
track_width in data/mypack/cars/<car>.json, or front_track_width and rear_track_width to set each end). A wide car has a wide track in physics toowheel_base). To fit the body instead, use designWheelBase ("Make the body the right size and position" above)wheel_radius). The gauge tyres are larger than real-car proportions, so a body built to real proportions may not fit them in its wheel arches. Then write wheel_radius and track_width to suit the body (chapter 7)front_camber, rear_camber). It changes the grip, and the wheels are drawn leaning by it. Players can change it in the tuning screen (G)置き場所は assets/<パック>/vehicles/<車>.json。書かなかった項目は既定値になります。
| キー | 既定値 | 意味 |
|---|---|---|
body.model | 既定の車 | 車体のモデル(.glb。Wavefront の .obj も可) |
body.texture | 既定の車 | 車体のテクスチャ |
body.offset | [0,0,0] | 車体をずらす [m](+X 右・+Y 上・−Z 前) |
body.scale | 1.0 | 車体の大きさの微調整。数字 1 つか [x,y,z]。上へ伸びる |
wheel(model・texture・offset・camber・scale・rimRadius)、designWheelRadius | — | 以前の書き方(読める)。いまはホイールの JSON に書き、諸元の default_parts.wheel で指す(書かなければ TE37)。タイヤの位置は諸元のトレッド・ホイールベース |
designWheelBase | 3.12 | メッシュのホイールアーチが何 m 離れているか |
designRideHeight | 0.632 | 車体をシャシー基準面から下げる量 [m] |
seat | [0.5, -0.55, 0.2] | 運転席の位置 [m]。右ハンドル。助手席は左右反転(9 章) |
steering | なし | ハンドルの位置・傾き(offset・tilt・column・center)(10 章) |
shadowRadius | 1.4 | 影の大きさ |
icon | 車のモデルから作る | アイテムのアイコンの画像。テクスチャのパスを .png まで書く(例 mypack:textures/item/kei.png) |
sounds | KurumaMod の音 | 音の差し替え(11 章) |
parts | 名前の決まりどおり | 外装パーツの部品 id → 出すオブジェクト(パーツの 1 章) |
plates | 車体の形から自動で置く | ナンバーを付ける位置の候補(前・後ろ)。8 章 |
paints | なし | 選べる色違いのテクスチャ。先頭が新車の色(4 章) |
アイコンは用意しなくても構いません。icon を書かなければ、車のモデルを斜め前から写した絵が自動で作られます。自分で描いた絵にしたいときだけ、PNG を assets/<パック>/textures/item/ に置いて icon に書きます。正方形で、32×32 か 64×64 がおすすめ。持ち物・手に持ったとき・地面に落ちたときのどれにもこの絵が出ます。パスを間違えると、自動で作った絵に戻ってログに残ります。
走りを決める値(車重・トルクなど)はここには書けません。data/ の諸元に書きます(12 章)。
The file is assets/<pack>/vehicles/<car>.json. Anything you leave out takes the default.
| Key | Default | Meaning |
|---|---|---|
body.model | built-in car | Body model (.glb; a Wavefront .obj works too) |
body.texture | built-in car | Body texture |
body.offset | [0,0,0] | Shift the body [m] (+X right, +Y up, −Z forward) |
body.scale | 1.0 | Fine size adjustment; one number or [x,y,z]. Grows upward |
wheel (model, texture, offset, camber, scale, rimRadius), designWheelRadius | — | The older way (still read). Now write them in the wheel's JSON and point to it with default_parts.wheel in the spec (left out, the TE37). Wheel position comes from the spec's track and wheelbase |
designWheelBase | 3.12 | How far apart the arches are in your mesh |
designRideHeight | 0.632 | How far to drop the body below the chassis plane [m] |
seat | [0.5, -0.55, 0.2] | Driver's seat [m]. Right-hand drive; the passenger seat is mirrored (chapter 9) |
steering | none | Steering wheel position and angle (offset, tilt, column, center) (chapter 10) |
shadowRadius | 1.4 | Size of the shadow |
icon | made from the car model | Image for the item icon. Write the texture path including .png (e.g. mypack:textures/item/kei.png) |
sounds | KurumaMod's sounds | Replace sounds (chapter 11) |
parts | follows the naming rule | Body part id → objects to show (chapter 1 of the Parts guide) |
plates | placed from the body shape | Candidate licence plate positions (front and rear). See chapter 8 |
paints | none | Colour versions of the body texture players can pick. The first is the factory colour (chapter 4) |
You do not have to make an icon. Without icon, a picture of your car model seen from the front corner is made automatically. Only if you want your own drawing, put a PNG under assets/<pack>/textures/item/ and name it in icon. Make it square; 32×32 or 64×64 works well. The same picture is used in the inventory, in the hand and when dropped on the ground. If the path is wrong, the automatic picture is used and the log says so.
Handling values (mass, torque and so on) cannot go here. They go in the spec under data/ (chapter 12).
Put the part objects inside the body model and, if needed, map object names to parts with parts in the looks JSON. See chapter 1 of the Parts guide. To have them fitted when the car is spawned, see "Fit parts from the start" in chapter 12.
mypack)は a-z 0-9 _ . -、車種名はこれに / を加えたものmodId は名前空間より狭く、- も . も使えない(^[a-z][a-z0-9_]{1,63}$)。外れると読み込みが Invalid modId で落ちる。区切りは _ だけにするmodId と同じにする。違っても動くが、ほかのパックとぶつかったときにどちらが読まれるか分からなくなるcars/toyota/ae86.json は id が mypack:toyota/ae86、翻訳キーが car.mypack.toyota/ae86 になるae86 とそのまま出るmods.toml の logoFile で指す。neoforge.mods.toml は bannerFile にする(logoFile だと NeoForge 26.3 が起動のたびに警告の画面を出す。代わりに NeoForge 1.21.1 の MOD 一覧には画像が出ない)mypack) allow a-z 0-9 _ . -; car names allow those plus /modId is stricter: no -, no . (^[a-z][a-z0-9_]{1,63}$). Breaking that fails the load with Invalid modId. Use _ as the only separatormodId. It works either way, but if two packs collide you cannot tell which one woncars/toyota/ae86.json becomes the id mypack:toyota/ae86 and the key car.mypack.toyota/ae86ae86logoFile in mods.toml. Use bannerFile in neoforge.mods.toml (with logoFile, NeoForge 26.3 shows a warning screen at every launch; in exchange, the NeoForge 1.21.1 mod list shows no image)| id | 何の見本か |
|---|---|
kurumamod_example_carpack:sample | 車体メッシュ・テクスチャ・灯火まで自前で持つ、一通り揃った車 |
kurumamod_example_carpack:sample_wheel | 自前のメッシュを持つホイールの部品(ホイールの 2 章) |
ホイールの部品が要らなければ、assets/mypack/car_parts/ と data/mypack/car_parts/ のファイル、wheel-sample.obj・.mtl、lang の part.… の行を消します。使わなくなった sample.glb なども消してかまいません。
隣の carpack/basic/ はプレイヤーへ配っている公式パックで、作りは同じです。出来上がったパックに何が入るかを見るのに向いています。
| Id | What it demonstrates |
|---|---|
kurumamod_example_carpack:sample | A complete car — its own body mesh, texture and lights |
kurumamod_example_carpack:sample_wheel | A wheel part with its own mesh (chapter 2 of the Wheel guide) |
If you do not want the wheel part, delete the files in assets/mypack/car_parts/ and data/mypack/car_parts/, wheel-sample.obj and its .mtl, and the part.… lines in lang. Unused files such as sample.glb can go too.
carpack/basic/ next door is the official pack that ships to players, built the same way — a good look at what a finished pack contains.
assets/ はプレイヤーのゲームだけが読み、data/ はサーバーが読みます。誰も乗っていない車はサーバーが動かすので、走りを決める値は data/ に置きます。もし assets/ に置けたら、無人の車の動きが各プレイヤーのリソースパック次第になってしまいます。そのため、見た目の JSON に書けるのは見た目だけです。
jar 1 つにすれば、assets/ と data/ の両方が一緒に読まれます。
assets/ is read only by each player's game; data/ is read by the server. The server drives cars nobody is in, so handling values belong in data/. If they could live in assets/, a driverless car would behave according to each player's resource pack. That is why the looks JSON can only describe appearance.
In a single jar, both assets/ and data/ are read together.
modId に - や . を使っていないか。META-INF/ が jar の直下にあるか(配布の 1 章)data/mypack/cars/ae86.json の場所と、JSON の書き間違い。ログに理由が出るvehicles/ の JSON のファイル名が車種名と同じか。model の名前空間(mypack:)が合っているかae86 のまま … lang のキーが car.mypack.ae86 になっているかdesignWheelBase がメッシュの実寸かdesignRideHeight。メッシュの原点が地面の高さにあるかwheel の中の designRadius がメッシュの実寸かbody.scalemass などを書いても効かない … 走りの値は data/ の諸元に書く(12 章)ほかの症状は配布の 3 章にあります。
modId contain - or .? Is META-INF/ at the top of the jar (chapter 1 of the Shipping guide)?data/mypack/cars/ae86.json is, and the JSON for typos. The reason is in the logvehicles/ JSON named the same as the car? Does the namespace in model (mypack:) match?ae86 — is the lang key car.mypack.ae86?designWheelBase the real size of your mesh?designRideHeight. Is the mesh origin at ground level?designRadius inside wheel the real size of your mesh?body.scale to match the bodymass and the like in the looks JSON do nothing — handling values go in the spec under data/ (chapter 12)More symptoms in chapter 3 of the Shipping guide.
ゲージどおりに作った車は、寸法を何も書かなくてもタイヤがタイヤハウスの位置に付きます。ただ、ゲージのタイヤは実車の比率より大きめです。実車の比率で車体を作ると、図 13 のようにタイヤがタイヤハウスいっぱいになったり、フェンダーからはみ出したりします。そのときは、諸元のタイヤ半径とトレッドを車体に合わせます。
A car built to the gauge gets its wheels in the arches without writing any sizes. But the gauge tyres are larger than real-car proportions. Build the body to real proportions and, as in Fig. 13, the tyres fill the arches or poke out of the fenders. Then fit the spec's tyre radius and track to the body.

data/mypack/cars/<車>.json の values に書く。
"values": {
"wheel_base": 3.15,
"track_width": 1.9,
"wheel_radius": 0.4
}
| 調整画面の項目 | values のキー | 単位 | 上の例 |
|---|---|---|---|
| ホイールベース | wheel_base | m | 3.15 |
| タイヤ半径 | wheel_radius | m | 0.4 |
| フロント トレッド・リア トレッド(前後が同じとき) | track_width | m | 1.9 |
| フロント トレッド(前後で違うとき) | front_track_width | m | — |
| リア トレッド(前後で違うとき) | rear_track_width | m | — |
前後で違う車は、track_width の代わりに front_track_width と rear_track_width を書きます。両方書いたときは前後別のキーが優先されます。
/reload を打ち、クリエイティブタブから出し直して確かめる。values in data/mypack/cars/<car>.json.
"values": {
"wheel_base": 3.15,
"track_width": 1.9,
"wheel_radius": 0.4
}
| Tuning screen item | Key in values | Unit | Example above |
|---|---|---|---|
| Wheelbase | wheel_base | m | 3.15 |
| Tyre radius | wheel_radius | m | 0.4 |
| Front and rear track width (when both are the same) | track_width | m | 1.9 |
| Front track width (when they differ) | front_track_width | m | — |
| Rear track width (when they differ) | rear_track_width | m | — |
For a car with different widths, write front_track_width and rear_track_width instead of track_width. If you write both, the separate keys win.
/reload, take a fresh car from the creative tab and check.
wheel_base 3.15・track_width 1.9・wheel_radius 0.4)。タイヤがタイヤハウスに収まり、上に余裕ができましたwheel_base 3.15, track_width 1.9, wheel_radius 0.4). The tyres sit inside the arches with room above them.何も書かなくても、ナンバーは車体の形から自動で置かれます(前は中央・左・右、後ろは中央)。ずれているときだけ、乗ったまま Ctrl+G で動かして、コピーした JSON を貼ります。数字を手で探す必要はありません。
Even if you write nothing, plates are placed from the body shape (centre, left and right at the front; centre at the rear). Only when they are off, move them with Ctrl+G while sitting in the car and paste the JSON it copies. No need to hunt for numbers by hand.
vehicles/<車>.json のいちばん外側に貼る。前後の両方がまとめて plates としてコピーされる。前からあれば置き換えるvehicles/<car>.json. Front and rear are copied together as plates; replace it if it is already there画面で動かした値は自分の画面だけで、ゲームを閉じると消えます。貼るまでは JSON に残りません。「全部戻す」で JSON の値(書いていなければ自動の位置)に戻ります。
Changes made on the screen apply only on your screen and only until you quit; nothing is saved to the JSON until you paste it. "Reset all" goes back to the JSON (or to the automatic positions if you wrote none).

plates がまとめてコピーされます。ゲームは止まらないので、車を見ながら合わせられますplates for both front and rear. The game keeps running, so you can watch the car as you adjust.貼られる JSON はこの形です。候補の数や名前を変えるときは、ここを直接書き換えます:
"plates": {
"front": [
{ "id": "center", "pos": [0.0, 0.635, -2.404] },
{ "id": "left", "pos": [-0.5377, 0.88, -2.404], "yaw": -14, "anchor": "left" }
],
"rear": [
{ "id": "center", "pos": [0.0, 0.595, 2.504], "pitch": -8 }
]
}
pos … プレートの原点(取り付け面の中心)を置く位置 [m]。基準は seat と同じ(+X 右・+Y 上・−Z 前)yaw … 上から見て時計回りが正 [度]。pitch … 表が上を向くのが正 [度]。scale … この位置だけの大きさの倍率(0.1〜3)anchor … pos に揃える端。center・left・right(車から見た左右)。角に寄せた候補は角の側の端を揃えると、横に長いプレート(EU など)は内側へ伸びるid … center・left・right は換装画面に「中央」「左」「右」と出る。ほかの名前はそのまま出る(lang に "screen.kurumamod.plate.mount.<id>" を書けば訳せる)rear だけ)The pasted JSON looks like this. To change how many candidates there are or what they are called, edit it directly:
"plates": {
"front": [
{ "id": "center", "pos": [0.0, 0.635, -2.404] },
{ "id": "left", "pos": [-0.5377, 0.88, -2.404], "yaw": -14, "anchor": "left" }
],
"rear": [
{ "id": "center", "pos": [0.0, 0.595, 2.504], "pitch": -8 }
]
}
pos — where the plate's origin (the centre of its mounting face) goes [m]. Same reference as seat (+X right, +Y up, −Z forward)yaw — clockwise seen from above is positive [degrees]. pitch — face tilted up is positive [degrees]. scale — size multiplier for this position only (0.1 to 3)anchor — which edge lines up with pos: center, left or right (as seen from the car). For a corner position, anchor the corner-side edge so long plates (EU and the like) grow inwardsid — center, left and right show as "Centre", "Left" and "Right" in the parts screen. Other names are shown as written (add "screen.kurumamod.plate.mount.<id>" to your lang to translate them)rear)諸元の default_parts にナンバーを書きます(12 章の「最初から部品を付けておきたい」)。書かなければ、プレイヤーが選ぶまでナンバーは付きません。
Add it to default_parts in the spec (chapter 12, "Fit parts from the start"). Otherwise there is no plate until the player picks one.
ナンバーの種類(形・絵・字の決まり)は部品として作ります。パーツの 4 章にあります。どの種類のナンバーも、この章で決めた位置に付きます。
Plate styles (shape, picture and text rules) are made as parts; see chapter 4 of the Parts guide. Every style goes on the positions you set in this chapter.
plates でその側を書いていないplates にその側(front / rear)が無い。候補を書き足すanchor を角の側の端にするplates leaves that side outplates has no front / rear for that side. Add a candidateanchor to the corner-side edge運転席の位置です。助手席は左右反転で自動的に置かれます。何も書かなければ既定の位置(右ハンドル)に座ります。乗ったまま Ctrl+G で動かして、コピーした JSON を貼ります。
Where the driver sits; the passenger seat is mirrored automatically. Write nothing and the default position (right-hand drive) is used. Move it with Ctrl+G while sitting in the car, then paste the JSON it copies.
vehicles/<車>.json のいちばん外側に貼る。"seat": [0.5, -0.55, 0.2] の形でコピーされる。前からあれば置き換えるvehicles/<car>.json. It is copied as "seat": [0.5, -0.55, 0.2]; replace it if it is already there画面で動かした値は自分の画面だけで、ゲームを閉じると消えます。貼るまでは JSON に残りません。座席を動かしたら、ハンドルも合わせ直します(10 章)。
Changes made on the screen apply only on your screen and only until you quit; nothing is saved to the JSON until you paste it. After moving the seat, set the steering wheel to match (chapter 10).

seat の行が出ます。いちばん上の「目線の高さ(車の原点から)」で、一人称の視線の高さも分かりますseat line that gets copied. "Eye height above the car origin" at the very top tells you where the first-person view sits.[x, y, z] [m]。+X 右・+Y 上・−Z 前。既定は右ハンドル(x が正)。左ハンドルなら x を負にするdesignWheelBase などで拡大・縮小された後の大きさで測る[x, y, z] in m, with +X right, +Y up, −Z forward. The default is right-hand drive (positive x); make x negative for left-hand drivedesignWheelBase and friendsハンドル(steering で始まるオブジェクト。3 章)を、座席に合わせて動かしたり傾けたりします。モデルを直すより手早く合わせられます。先に座席を決めてから(9 章)、乗ったまま Ctrl+G で動かします。
Move or tilt the steering wheel (the object starting with steering; chapter 3) to suit the seat. It is quicker than editing the model. Set the seat first (chapter 9), then move it with Ctrl+G while sitting in the car.
vehicles/<車>.json のいちばん外側に貼る。前からあれば置き換える。貼られるのはこの形:
"steering": { "offset": [0.0, 0.02, 0.05], "tilt": 3.0 }vehicles/<car>.json, replacing any that is already there. It looks like this:
"steering": { "offset": [0.0, 0.02, 0.05], "tilt": 3.0 }画面で動かした値は自分の画面だけで、ゲームを閉じると消えます。貼るまでは JSON に残りません。
Changes made on the screen apply only on your screen and only until you quit; nothing is saved to the JSON until you paste it.

offset … ハンドルをずらす量 [m]。seat と同じ向き(+X 右・+Y 上・−Z 前)。回す中心も一緒に動くので、ずらしても振れずに回るtilt … コラムの傾きの足し分 [度]。正でコラムが起きるcolumn … コラムの角度そのもの [度]。形から軸が決まらないハンドルのためのもの(3 章)。Ctrl+G の「コラム」でも動かせるcenter … 回す中心を面に沿って上へずらす量 [m]。下が平らな D 型のハンドルのため。Ctrl+G の「中心 上下」でも動かせるoffset — how far to move the wheel [m], in the same directions as seat (+X right, +Y up, −Z forward). The centre it turns about moves too, so it still turns without wobblingtilt — extra column angle [degrees]. Positive stands the column upcolumn — the column angle itself [degrees], for wheels whose axis can't be found from the shape (chapter 3). Also adjustable with "Column" in Ctrl+Gcenter — moves the turning centre up along the face [m], for flat-bottomed D-shaped wheels. Also adjustable in Ctrl+Gどの車もフルロックで 1 回転半(540 度)です。比は最大切れ角から自動で決まり、35 度の車で 15.4、90 度まで切れる車で 6.0 になります。書く項目はありません。
Every car reaches full lock at one and a half turns (540°). The ratio follows the car's maximum steering angle: 15.4 for 35°, 6.0 for a car that steers to 90°. There is nothing to set.
steering で始まっているか(3 章)steering (chapter 3)エンジン音は車ごとに変えられます。この章はオプションです。何も設定しなければ、S15 と同じ音が鳴ります。
Each car can have its own engine sound. This chapter is optional: set nothing and the car sounds the same as the S15.
やり方は 2 通りあります。まずは A を試し、足りないときだけ B へ進んでください。
| やり方 | 要るもの | |
|---|---|---|
| A. 音源を使わない(おすすめ) | KurumaMod の合成音から、エンジンの種類を選んで高さなどを変える。種類と高さだけで、車ごとの違いはかなり出せる → 音源を作らずに変える | JSON だけ。値は乗ったまま Ctrl+H で決められる |
| B. 音源を付ける | 自分で録った音・作った音を鳴らす → 最小のエンジン音を付ける | OGG の音源と、高回転用の音源(Python の道具で作る) |
There are two ways. Try A first, and go on to B only if it is not enough.
| How | What you need | |
|---|---|---|
| A. No audio files (recommended) | Pick an engine type from KurumaMod's synthesised sounds and adjust pitch and the like. Type and pitch alone already set cars apart → Change sounds without making audio | Only JSON. Set the values from the driver's seat with Ctrl+H |
| B. Your own audio | Play sounds you recorded or made → Add a minimal engine sound | OGG audio, plus a high-rev copy (made with a Python tool) |
vehicles/ae86.json のいちばん外側に貼る。前から sounds があれば置き換える。貼られるのはこの形:
"sounds": {
"engine": { "type": "i4", "pitch": 1.05, "load": 0.9 },
"turbo": { "pitch": 1.2 },
"shift": { "pitch": 0.9 }
}画面で動かした値は自分の画面だけで、ゲームを閉じると消えます。貼って F3+T で読み直せば、パックの音になります。もちろん、JSON を手で書いて F3+T で聞いてもかまいません。
vehicles/ae86.json, replacing any sounds already there. It looks like this:
"sounds": {
"engine": { "type": "i4", "pitch": 1.05, "load": 0.9 },
"turbo": { "pitch": 1.2 },
"shift": { "pitch": 0.9 }
}Changes made on the screen apply only on your screen and only until you quit. Paste them and reload with F3+T to make them the pack's sounds. Writing the JSON by hand and listening after F3+T works too.

sounds をコピーします。ゲームは止まらないので、走りながら聞き比べられますsounds. The game keeps running, so you can compare them while driving.エンジンの type に書ける種類(どれも KurumaMod が合成した音で、回転数ごとに作り分けてあります):
Engine type values (all synthesised by KurumaMod, with separate audio for each rpm range):
type | エンジン | 音の感じ |
|---|---|---|
i4_turbo | 直 4 ターボ(既定) | SR20DET が手本。乾いて低く、タービンで丸い |
i4 | 直 4 NA | タービンが無いぶん鋭く、高回転で澄む |
i6 | 直 6 ターボ | RB・JZ のような滑らかなストレート 6 |
flat6 | 水平対向 6 NA | 左右のバンクが交互に吹く 911 の唸り |
v8 | クロスプレーン V8 | 低く「ドロドロ」した不等間隔の拍 |
diesel4 | ディーゼルターボ | バスやトラックのような低い「ゴロゴロ」に、燃焼の「ガラガラ」が乗る |
type | Engine | Character |
|---|---|---|
i4_turbo | Turbo inline-4 (default) | Modelled on the SR20DET. Dry and low, rounded off by the turbine |
i4 | Naturally aspirated inline-4 | Sharper without a turbine; clears up at high rpm |
i6 | Turbo inline-6 | A smooth straight six in the RB/JZ mould |
flat6 | Naturally aspirated flat-6 | The 911 howl of two banks firing in turn |
v8 | Cross-plane V8 | Low, uneven "burble" |
diesel4 | Turbo diesel | A low bus-or-truck rumble with a combustion clatter on top |
どの音にも書ける値:
Values every sound accepts:
| 値 | 意味 | 範囲(既定) |
|---|---|---|
pitch | 高さの倍率。エンジンなら回転数に対する高さをまるごとずらす | 0.5〜2.0(1) |
sound | 音源の差し替え(下の「B. 最小のエンジン音を付ける」と同じ。文字列だけで書いてもよい) | — |
type(engine だけ) | エンジンの種類(上の表)。種類だけなら "engine": "flat6" のように文字列で書いてもよい | i4_turbo |
load(engine だけ) | アクセルを踏んだときの荒い音の出方。下げると上品に、上げると荒く | 0〜1.5(1) |
| Value | Meaning | Range (default) |
|---|---|---|
pitch | Pitch multiplier. For the engine it shifts the whole note against rpm | 0.5–2.0 (1) |
sound | Replace the audio (same as "B. Add a minimal engine sound" below; a plain string works too) | — |
type (engine only) | Engine type (table above). For the type alone, a plain string works: "engine": "flat6" | i4_turbo |
load (engine only) | How much the rough on-throttle sound comes through. Lower is smoother, higher is rawer | 0–1.5 (1) |
engine は合成したエンジン音のための項目です。exhaust に音源を書くと、合成した音の代わりにその音が鳴ります(engine の値は効かなくなる)slip_chatter と exhaust_high は、書かなければ slip・exhaust の pitch を引き継ぎますvolume)は書けません。音量は聞く人が H キーの設定画面の「サウンド」で、音の種類ごとに決めますengine is for the synthesised engine. If you put audio in exhaust, that plays instead (and the engine values no longer apply)slip_chatter and exhaust_high inherit pitch from slip and exhaust unless you write themvolume. Players choose the volume of each kind of sound themselves under "Sound" in the H settings screenassets/mypack/sounds/ae86_exhaust.ogg。OGG・モノラルで、継ぎ目なくループするものpip install numpy soundfile
python sound_tools/make_octave_up.py ae86_exhaust.ogg
# → ae86_exhaust_high.oggassets/mypack/sounds.json:
{
"ae86_exhaust": {
"category": "neutral",
"subtitle": "subtitles.kurumamod.car_exhaust",
"sounds": [{ "name": "mypack:ae86_exhaust", "attenuation_distance": 64 }]
},
"ae86_exhaust_high": {
"category": "neutral",
"subtitle": "subtitles.kurumamod.car_exhaust",
"sounds": [{ "name": "mypack:ae86_exhaust_high", "attenuation_distance": 64 }]
}
}assets/mypack/vehicles/ae86.json(6 章)のいちばん外側に、手順 3 で付けた名前を書く:
"sounds": {
"exhaust": "mypack:ae86_exhaust",
"exhaust_high": "mypack:ae86_exhaust_high"
}これで、乗っている車のエンジン音がその場で入れ替わります。
assets/mypack/sounds/ae86_exhaust.ogg: Ogg Vorbis, mono, a seamless looppip install numpy soundfile
python sound_tools/make_octave_up.py ae86_exhaust.ogg
# → ae86_exhaust_high.oggassets/mypack/sounds.json:
{
"ae86_exhaust": {
"category": "neutral",
"subtitle": "subtitles.kurumamod.car_exhaust",
"sounds": [{ "name": "mypack:ae86_exhaust", "attenuation_distance": 64 }]
},
"ae86_exhaust_high": {
"category": "neutral",
"subtitle": "subtitles.kurumamod.car_exhaust",
"sounds": [{ "name": "mypack:ae86_exhaust_high", "attenuation_distance": 64 }]
}
}assets/mypack/vehicles/ae86.json (chapter 6), write the names from step 3:
"sounds": {
"exhaust": "mypack:ae86_exhaust",
"exhaust_high": "mypack:ae86_exhaust_high"
}The car you are in switches to the new engine sound on the spot.
ほかの音も同じやり方で差し替えられます。sounds に書ける名前:
Other sounds are replaced the same way. Names you can use in sounds:
| 名前 | 音 | 鳴り方 |
|---|---|---|
engine | 合成したエンジン音 | 音源は書けない。type・pitch・load だけ(上の「数字だけ」) |
exhaust | エンジン音(低〜中回転) | ループ。回転数で音程、回転数とアクセルで音量が変わる。書くと合成したエンジン音の代わりに鳴る |
exhaust_high | エンジン音(高回転) | ループ。exhaust を 1 オクターブ上げたもの |
road | ロードノイズ | ループ。車速 |
wind | 風切り音 | ループ。車速 |
slip / slip_chatter | タイヤの悲鳴(伸ばし/刻み) | ループ。舗装路で滑ったとき。滑り始めの 0.6 秒だけ刻みが鳴る |
gravel / sand | 砂利・土/砂・雪の路面音 | ループ。未舗装を走っているとき |
turbo | ターボの過給音(ヒュイーン) | ループ。ブーストで音程と音量が上がる。ターボの部品を付けたときだけ |
shift | 変速音 | 1 回 |
crash | 衝突音 | 1 回 |
blowoff | ブローオフ(プシュッ) | 1 回。ブーストが掛かった状態でアクセルを抜いたときとシフトアップのとき。ブローオフバルブの部品を付けたときだけ |
| Name | Sound | How it plays |
|---|---|---|
engine | Synthesised engine | No audio; only type, pitch and load (see "numbers only" above) |
exhaust | Engine (low to mid rpm) | Loop. Pitch follows rpm, volume follows rpm and throttle. Plays instead of the synthesised engine |
exhaust_high | Engine (high rpm) | Loop. exhaust shifted up one octave |
road | Road noise | Loop. Speed |
wind | Wind | Loop. Speed |
slip / slip_chatter | Tyre squeal (sustained / chatter) | Loop. Sliding on tarmac; the chatter plays for the first 0.6 s of a slide |
gravel / sand | Gravel & dirt / sand & snow | Loop. Driving on loose ground |
turbo | Turbo spool whistle | Loop. Pitch and volume rise with boost. Only with a turbo part fitted |
shift | Gear change | One-shot |
crash | Impact | One-shot |
blowoff | Blow-off valve | One-shot. On a throttle lift or upshift under boost. Only with a blow-off valve part fitted |
attenuation_distance … 音が届く距離 [ブロック]。書かなければ 16。KurumaMod はエンジン音 64・スキール 48・ロードノイズ 32subtitle … 字幕の翻訳キー。KurumaMod のもの(subtitles.kurumamod.car_exhaust など)をそのまま借りられる。自分の lang に書いたキーでもよい"name" は sounds/ からのパスで、拡張子を付けないattenuation_distance — how far it carries, in blocks (16 if left out). KurumaMod uses 64 for the engine, 48 for squeal, 32 for road noisesubtitle — the subtitle's translation key. You can borrow KurumaMod's (subtitles.kurumamod.car_exhaust and so on) or use one from your own lang"name" is the path under sounds/, without the extensionsounds に "turbo" / "blowoff" を書きます。変わるのは音だけです。鳴るかどうかは、その車にターボやブローオフバルブの部品が付いているかで決まります(パーツの 3 章)。
Write "turbo" / "blowoff" in sounds. Only the sound changes. Whether it plays depends on the car having a turbo or blow-off valve part fitted (chapter 3 of the Parts guide).
Minecraft は音程を 0.5〜2.0 倍までしか変えられません。1 つの音源ではレブまで音程が上がりきらないので、1 オクターブ上の音源を exhaust_high として並べ、回転に合わせて 2 つを入れ替えています。
make_octave_up.py は長さを半分にして 1 オクターブ上げます。ループはループのまま出てきます(継ぎ目は増えません)。ステレオを渡してもモノラルにして書きます。
Minecraft can only shift pitch between 0.5× and 2.0×, so one file cannot climb all the way to the redline. The game plays a one-octave-up copy as exhaust_high and cross-fades between the two with rpm.
make_octave_up.py halves the length to go up an octave. A seamless loop comes out seamless, and stereo input is written as mono.
"name" に拡張子を付けていないかsounds に書いた名前が sounds.json に無い。ログに警告が 1 行出ている。直したら F3+Texhaust_high を書いていない。書かないと高回転側にも同じ音源を使い、音程が 2 倍で頭打ちになる"name"?sounds is missing from sounds.json. A warning is in the log. Press F3+T after fixingexhaust_high is missing. Without it the same file plays on the high side, and the pitch caps at 2×加速・ブレーキ・曲がりかたを決める値(諸元)を書きます。置き場所は data/mypack/cars/<車>.json です。
This sets the values that decide acceleration, braking and cornering (the spec). They go in data/mypack/cars/<car>.json.
config/kurumamod-setups.json を開き、付けた名前の { … } の中身をコピーする。中に "parts": { … } があれば、そこは除くdata/mypack/cars/ae86.json の values に貼る。
{
"order": 10,
"values": {
"mass": 1500.0,
"peak_torque": 200.0,
"peak_torque_rpm": 3200.0,
"redline_rpm": 5600.0
}
}/reload を打つ。(F3+T ではない)これで、クリエイティブタブから出したその車が、調整画面で詰めたとおりに走ります。
config/kurumamod-setups.json and copy what is inside the { … } under your name. If there is a "parts": { … } inside, leave that outvalues in data/mypack/cars/ae86.json.
{
"order": 10,
"values": {
"mass": 1500.0,
"peak_torque": 200.0,
"peak_torque_rpm": 3200.0,
"redline_rpm": 5600.0
}
}/reload. (Not F3+T.)The car, taken fresh from the creative tab, now drives the way you tuned it.
書かなかった項目は既定値になります。既定値から変えたいところだけ残せば十分です。KurumaMod の項目が増えても、古いパックはそのまま読めます。
values を使わず、いちばん外側に直接書いてもよいAnything you leave out takes the default, so keep only what differs from the defaults. Old packs keep loading when KurumaMod adds parameters.
values and write the keys at the top level insteadファイルには内部単位で書きます。角度はラジアンです。調整画面が度で見せている項目でも同じです。
| 種類 | 単位 |
|---|---|
| 長さ | m(cm ではない) |
| 質量 | kg |
| 角度 | rad(度ではない) |
| バネ定数 | N/m |
| トルク | N·m |
| 回転数 | rpm |
"max_steer": 0.6109。32.0 と書くと 32 ラジアンと読まれるThe file takes internal units. Angles are radians, even for parameters the tuning screen shows in degrees.
| Quantity | Unit |
|---|---|
| Length | m (not cm) |
| Mass | kg |
| Angle | rad (not degrees) |
| Spring rate | N/m |
| Torque | N·m |
| Engine speed | rpm |
"max_steer": 0.6109. Writing 32.0 is read as 32 radians_ で始まるキーは読み飛ばされます。JSON にはコメントが書けないので、これで理由を残せます。
{
"values": {
"_comment_mass": "バンなので既定より重くする",
"mass": 1500.0
}
}
Keys starting with _ are skipped. JSON has no comments, so this is how you leave a note.
{
"values": {
"_comment_mass": "A van, so heavier than the default",
"mass": 1500.0
}
}
いちばん外側の order で決まります。小さいほど前(既定 100)。
Set order at the top level. Smaller comes first (default 100).
いちばん外側の default_parts に、場所ごとに部品の id を書きます(values と同じ階層)。換装画面ではこれが「純正」になります。
{
"values": { ... },
"default_parts": {
"wheel": "mypack:my_wheel",
"plate": "kurumamod:plate_jp_private",
"front_bumper": { "part": "mypack:stock_bumper", "removable": false }
}
}
外すと穴が開く部品は "removable": false にします。場所ごとの書き方:
Write a part id per slot in default_parts at the top level (next to values). These become "Stock" in the parts screen.
{
"values": { ... },
"default_parts": {
"wheel": "mypack:my_wheel",
"plate": "kurumamod:plate_jp_private",
"front_bumper": { "part": "mypack:stock_bumper", "removable": false }
}
}
Use "removable": false for a part whose removal would leave a hole. Per slot:
/reload を打ったか。すでに置いてある車は置いたときの諸元のまま。クリエイティブタブから出し直すvalues に "parts" のような数でないものが混ざっていないか。理由はログに出るassets/)に書いていないか/reload? A car already placed keeps the spec it was placed with; take a fresh one from the creative tab"parts", inside values? The reason is in the logassets/?glTF(.glb)のモデルは、Blender で付けたアニメーションを、車の状態に合わせて再生できます。リトラクタブルヘッドライト、シフトレバー、ペダル、メーターの針などです。この章はオプションです。Wavefront(.obj)の車にはアニメーションを付けられません。
A glTF model (.glb) can play the animations you made in Blender along with the car: pop-up headlights, the gear lever, the pedals, gauge needles and so on. This chapter is optional. Wavefront (.obj) cars cannot be animated.
見本のサンプルカー(models/entity/sample.glb)がこの章の見本です。元の .blend は modeling_tools/sample_car.blend にあります。
The example pack's sample car (models/entity/sample.glb) is the worked example for this chapter. Its .blend is in modeling_tools/sample_car.blend.
書き出し方は 5 章のとおりです。付けたアクションはそのままアニメーションとして書き出され、アクションの名前がクリップの名前になります(NLA に載せる必要はありません)。
Export as in chapter 5. Your actions are exported as animations as they are, and each action's name becomes the clip name (you don't need to push them to the NLA).
light_head.001 のように番号が付いても、light_head で始まれば同じ役目ですbeam_head)も、選んでから書き出しますlight_head.001), anything that starts with light_head still countsbeam_head) parented to animated parts as well before exportingvehicles/<車>.json の body.model は .glb を指します。
body.model in vehicles/<car>.json points at the .glb.
"body": {
"model": "mypack:models/entity/ae86.glb",
"texture": "mypack:textures/entity/ae86.png"
}
"body": {
"model": "mypack:models/entity/ae86.glb",
"texture": "mypack:textures/entity/ae86.png"
}
glTF のマテリアルに貼ったテクスチャはまだ読みません。body.texture を書き、書き出しの「画像」は「なし」にしておくとファイルが軽くなります。塗装(paints)もこれまでどおり JSON で差し替えます。
Textures on glTF materials are not read yet. Write body.texture, and set the exporter's "Images" to "None" to keep the file small. Paints (paints) still swap the texture from the JSON as before.
再生できるのは固い物が回る・動く・伸び縮みするアニメーションだけです。骨で頂点を曲げるもの(スキン)と形の変形(シェイプキー)は読みません。ドア・ボンネット・リトラ・ウイング・レバー・針は、どれも固い物が蝶番で動くだけなので足ります。
Only rigid animation is played: objects that rotate, move or scale. Skinning (bones bending vertices) and shape keys are not read. Doors, bonnets, pop-ups, wings, levers and needles are all rigid things on a hinge, so this covers them.
light_head)を入れると一緒に上がりますPopUp)light_head) to the lid and it rises with itPopUp)ゲームの中では、クリップの長さを 0〜1 にならした位置で動きを扱います。0 が最初のキー、1 が最後のキーです。
In the game a clip is handled as a position from 0 to 1 along its length: 0 is the first key and 1 is the last.
vehicles/<車>.json に animations を足し、クリップごとに 1 つずつ書きます。動かし方(mode)は 3 つです。
Add animations to vehicles/<car>.json, one entry per clip. There are three ways to drive one (mode).
mode | 動き | 例 |
|---|---|---|
target | 入力が入っているか切れているかで決まる行き先へ、クリップの速さで向かう。途中で変わればその場から折り返す | リトラ、ドア |
map | 入力の値の範囲(range)を、クリップの 0〜1 に写す | レバー、ペダル、針 |
loop | 入力が入っている間、繰り返し回る。切れたらその位置で止まる | 回るもの |
mode | What it does | For |
|---|---|---|
target | Heads at the clip's own speed to a target set by whether the input is on or off. If that changes halfway, it turns back from where it is | Pop-ups, doors |
map | Maps a range of the input's value (range) onto 0 to 1 of the clip | Levers, pedals, needles |
loop | Plays over and over while the input is on, and stops where it is when it goes off | Things that spin |
input に書けるもの:
What input can be:
input | 中身 | 使える mode |
|---|---|---|
headlight | ヘッドライト(L) | target・loop |
brake | ブレーキランプ(map ではブレーキの踏み込み) | 全部 |
reverse | R に入っている | target・loop |
speed | 速度 [km/h](前後を問わない) | map |
rpm | エンジンの回転数 | map |
throttle・brake_pedal | アクセル・ブレーキの踏み込み(0〜1) | map |
clutch | クラッチの踏み込み(0〜1)。動くのは、マニュアルでクラッチペダルを割り当てた運転者の手元だけ(周りの人には動かない) | map |
boost | ターボのブースト(0〜1)。ターボが無ければ 0 | map |
steer | 前輪の切れ角 [度](右が正) | map |
gear | 段(R が −1、N が 0、1 速から上) | map |
input | What it is | mode |
|---|---|---|
headlight | Headlights (L) | target, loop |
brake | Brake lights (with map, how far the brake is pressed) | All |
reverse | In reverse | target, loop |
speed | Speed in km/h (either direction) | map |
rpm | Engine rpm | map |
throttle, brake_pedal | How far the throttle and brake are pressed (0 to 1) | map |
clutch | How far the clutch is pressed (0 to 1). It only moves for a driver who has a clutch pedal bound on a manual car, and only on their screen | map |
boost | Turbo boost (0 to 1). 0 without a turbo | map |
steer | Front wheel angle in degrees (right is positive) | map |
gear | Gear (R is −1, N is 0, then 1 and up) | map |
input を書かなければ、いつも入っていることになります(loop ならずっと回る)。
Leave input out and it counts as always on (a loop spins all the time).
見本のサンプルカーの書き方:
How the sample car does it:
"animations": [
{ "clip": "PopUp", "mode": "target", "input": "headlight",
"targets": { "off": 0.0, "on": 1.0 }, "lights_from": 0.6 },
{ "clip": "Shift", "mode": "map", "input": "gear", "range": [-1, 5] },
{ "clip": "Accel", "mode": "map", "input": "throttle", "range": [0.0, 1.0] },
{ "clip": "Boost", "mode": "map", "input": "boost", "range": [0.0, 1.0] }
]
"animations": [
{ "clip": "PopUp", "mode": "target", "input": "headlight",
"targets": { "off": 0.0, "on": 1.0 }, "lights_from": 0.6 },
{ "clip": "Shift", "mode": "map", "input": "gear", "range": [-1, 5] },
{ "clip": "Accel", "mode": "map", "input": "throttle", "range": [0.0, 1.0] },
{ "clip": "Boost", "mode": "map", "input": "boost", "range": [0.0, 1.0] }
]
| 項目 | 意味 |
|---|---|
clip | Blender のアクションの名前 |
targets | target の行き先。off が入力が切れているとき、on が入っているとき(0〜1)。書かなければ 0 と 1 |
range | map の、位置 0 と位置 1 になる入力の値。[200, 80] のように逆向きにも書ける |
speed | 再生の速さの倍率(target の向かう速さ、loop の回る速さ)。既定は 1(Blender で付けた長さのまま) |
lights_from | input が headlight の target だけ。ここまで開いたらライトが点く(0〜1)。書かなければスイッチを入れた瞬間に点く |
| Key | Meaning |
|---|---|
clip | The name of the action in Blender |
targets | Where a target heads: off while the input is off, on while it is on (0 to 1). 0 and 1 if left out |
range | For map, the input values that land on position 0 and position 1. It can run backwards, as in [200, 80] |
speed | Playback speed multiplier (how fast a target moves and a loop spins). 1 by default, the length you gave it in Blender |
lights_from | Only for a target whose input is headlight. The lamps come on once it is open this far (0 to 1). Without it they come on the moment the switch goes on |
ライトはスイッチを切った瞬間に消え、それからふたが閉じます。車が見えた瞬間(乗り込んだとき・遠くから近づいたとき)は、開く途中を見せずに行き先の姿から始まります。
The lamps go out the moment the switch goes off, and then the lids close. When a car first comes into view (you get in, or it comes in from far away) it starts in its target pose rather than playing the opening.
targets の off か on を数ではなく player で書くと、その行き先をプレイヤーが換装画面(G のパーツ)で決められます。サンプルカーは、点けたときにどこまで開くか(半目)を選ばせています。
Write off or on in targets as a player entry instead of a number, and players set that target in the parts screen (G). The sample car lets players choose how far the pop-ups open when lit ("sleepy eyes").
"targets": {
"off": 0.0,
"on": { "player": "mypack:popup", "range": [0.3, 1.0], "default": 1.0 }
}
"targets": {
"off": 0.0,
"on": { "player": "mypack:popup", "range": [0.3, 1.0], "default": 1.0 }
}
player … 名前。パックの名前空間を付ける(mypack:popup)。64 字までrange … プレイヤーが動かせる範囲(0〜1)。蝶番は等速で開くとは限らないので、見た目で決めてくださいdefault … まだ決めていないときの位置。書かなければ range の下の端anim.<名前空間>.<名前> で書きます("anim.mypack.popup": "リトラの開き")player — the name. Prefix it with your pack's namespace (mypack:popup). Up to 64 charactersrange — how far the player can move it (0 to 1). Hinges don't always open evenly, so pick it by eyedefault — where it sits until the player picks. The low end of range if left outanim.<namespace>.<name> ("anim.mypack.popup": "Pop-up height")換装画面では動く部分に札が立ち、押すとスライダーが出ます。調整している間は、ライトの状態にかかわらずその位置で見せます。決めた値は車・回収したアイテム・プリセットに残り、周りの人にも同じに見えます。1 台につき 16 個までです。
In the parts screen a tag stands on the moving piece, and pressing it brings up a slider. While adjusting, the piece is shown at that position whatever the lights are doing. The choice is kept in the car, the picked-up item and presets, and other players see it too. Up to 16 per car.
lights_from より手前に開き幅を決めた場合は、そこまで開いたところでライトが点きます。
If the player sets the opening below lights_from, the lamps come on once the lids reach it.
beam_head)beam_head)光の出る位置に Empty(表示は「単一の矢印」)を置き、名前を beam_head で始めると、そこがヘッドライトの光源になります。左右で 2 つ置けます(beam_head・beam_head.001)。
Put an Empty (display "Single Arrow") where the light comes out and give it a name that starts with beam_head, and it becomes a headlight source. You can have one each side (beam_head, beam_head.001).
こうすると、霧の中に見える光の筋がふたと一緒に傾きます(開く途中は振り上がり、半目なら下を向く)。路面を照らす向きはいつも車の正面で、プレイヤーが Ctrl+L で決めた下向きがさらに足されます。
The light shafts you see in fog then tilt with the lid (swinging up as it opens, pointing down when half open). The light on the road always points straight ahead of the car, plus the downward aim each player sets with Ctrl+L.
beam_head が 1 つでもあれば、ヘッドライトの光源の位置はすべて Empty で決まります(レンズの形からは測りません)light_head の名前にしないこと。light_ で始まる名前は光る面(レンズ)の決まりですbeam_tail・beam_reverse はまだありませんbeam_head, every headlight source is placed by the Empties (nothing is measured from the lens shape)light_head. Names that start with light_ are for glowing surfaces (lenses)beam_tail and beam_reverse don't exist yetsteering で始まるオブジェクトは、MOD が形から軸を読んで回します(ハンドルを回す)input、0〜1 の外の値)はログに 1 行ずつ出ます。直したら F3+Tsteering are turned by the mod from their shape (Make the steering wheel turn)input, a value outside 0 to 1) each get a line in the log. Press F3+T after fixing見落としやすいところを並べます。症状が出てから探すときは配布の 3 章へ。
What is easy to miss. If something is already wrong, go to chapter 3 of Shipping.
light_head / light_tail / light_reverse のどれか。ほかの light_ は無いglass で始まるlight_head, light_tail or light_reverse. No other light_ existsglassglTF Binary (.glb) になっているSelected Objects を入れた(ゲージが混ざらない)Apply Modifiers を入れた(ミラーモディファイアが適用される)Selected Only を入れ、Forward Axis / Up Axis を触らず、.mtl も一緒に置いたglTF Binary (.glb)Selected Objects ticked, so the gauge stays outApply Modifiers ticked, so the mirror modifier is appliedSelected Only ticked, Forward Axis / Up Axis untouched, and the .mtl kept alongsidedesignWheelBase がメッシュの実寸data/ を直したら /reloaddesignWheelBase is your mesh's real size/reload after changing data/exhaust_high を sound_tools/make_octave_up.py で作って並べたsounds.json の "name" に拡張子を付けていないvehicles/<car>.json の sounds(マフラーなら部品の見た目の exhaust.sound)が sounds.json の名前を指しているexhaust_high made with sound_tools/make_octave_up.py and put alongside"name" in sounds.jsonsounds in vehicles/<car>.json (for an exhaust part, exhaust.sound in its looks JSON) points at names from sounds.jsonvehicles/<車>.json に貼った(画面の値はゲームを閉じると消える)values に書いた。角度はラジアンvehicles/<car>.json with "Copy JSON" (on-screen values are lost when you quit)values, with angles in radiansdata/<pack>/cars/<car>.json)data/<pack>/cars/<car>.json)これで全部(66 項目と、前後のトレッドをまとめて書く track_width)。書き方は 12 章。範囲は調整画面のスライダーの範囲と同じです。外れた値は、上に外れれば上限、下に外れれば下限へ丸めて読み込み、ログに 範囲(… 〜 …)の外なので … に丸めました と残します。
既定は、何も書かなかったときの値です。寸法(wheel_base・track_width・wheel_radius)の既定はゲージの寸法と同じです。KurumaMod の既定の車(S15)は、車体を実車の比率で作ってあり、ゲージのタイヤでは大きすぎるので wheel_base 3.15・track_width 1.9・wheel_radius 0.4 だけ書いています。そのほかは既定のままです。
That is all of them (66 keys, plus track_width, which sets both track widths at once). How to write them is in chapter 12. The ranges are the same as the tuning screen's sliders. A value above the range is loaded as the maximum and one below as the minimum, and the log records 範囲(… 〜 …)の外なので … に丸めました ("outside the range, clamped to …").
A default is the value used when you leave the key out. The size defaults (wheel_base, track_width, wheel_radius) match the gauge. KurumaMod's default car (the S15) is built to real-car proportions, where the gauge tyres are too big, so it writes only wheel_base 3.15, track_width 1.9 and wheel_radius 0.4; everything else is at the default.
| 名前 | 調整画面での名前 | 単位 | 既定 | 範囲 |
|---|---|---|---|---|
stroke | ストローク | m | 0.3 | 0.15 – 1.0 |
static_sag | 沈み込み率(バネの硬さ) | 割合 | 0.3924 | 0.2 – 0.7 |
body_clearance | ボディの地上高(当たり判定) | m | 0.25 | 0.1 – 1.2 |
front_anti_roll | フロント スタビライザー | N/m | 2500 | 0 – 20000 |
rear_anti_roll | リア スタビライザー | N/m | 1500 | 0 – 20000 |
front_solid_axle | フロントのサス形式 | 0 = 独立・1 = リジッドアクスル | 0 | 0 – 1 |
rear_solid_axle | リアのサス形式 | 0 = 独立・1 = リジッドアクスル | 0 | 0 – 1 |
front_roll_center | フロント ロールセンター | 重心高に対する割合 | 0.4 | 0 – 0.8 |
rear_roll_center | リア ロールセンター | 重心高に対する割合 | 0.4 | 0 – 0.8 |
バネの硬さは N/m ではなく static_sag(停車時にストロークの何割沈むか)で書きます。バネ定数は車重とストロークからこの割合になるよう KurumaMod が計算するので、mass を変えても車高は変わりません。大きいほど柔らかく、段差でタイヤが下へ伸びる余裕が増えて車高が下がります(オフロード車は 0.5 前後)。小さいほど硬くなります。stroke を短くしてもバネは硬くなり、ダンパーの係数もそれに合わせて上がります。
| 名前 | 調整画面での名前 | 単位 | 既定 | 範囲 |
|---|---|---|---|---|
front_bump_damping | フロント 縮み側減衰 | 減衰比 | 0.45 | 0.1 – 1.5 |
front_rebound_damping | フロント 伸び側減衰 | 減衰比 | 0.45 | 0.1 – 1.5 |
rear_bump_damping | リア 縮み側減衰 | 減衰比 | 0.45 | 0.1 – 1.5 |
rear_rebound_damping | リア 伸び側減衰 | 減衰比 | 0.45 | 0.1 – 1.5 |
N·s/m ではなく減衰比(臨界減衰に対する割合)で書きます。係数はその輪のバネと荷重から KurumaMod が計算するので、stroke や mass を変えても効き方は変わりません。1 で揺り返しがちょうど出なくなる硬さ。実車は伸び側を縮み側の 1.5〜3 倍にすることが多く、そうすると段差を柔らかくいなしつつ揺れがすぐ収まります。
| 名前 | 調整画面での名前 | 単位 | 既定 | 範囲 |
|---|---|---|---|---|
ackermann | アッカーマン率 | 割合(1 で幾何どおり) | 0.5 | −0.5 – 1.2 |
front_toe | フロント トー | rad(正でイン) | 0 | −0.02618 – 0.02618 |
rear_toe | リア トー | rad(正でイン) | 0 | −0.02618 – 0.02618 |
front_roll_steer | フロント ロールステア | rad/rad(正でアンダー) | 0.05 | −0.2 – 0.3 |
rear_roll_steer | リア ロールステア | rad/rad(正でアンダー) | 0.08 | −0.2 – 0.3 |
front_compliance_steer | フロント コンプライアンスステア | rad/G(正でアンダー) | 0.00873(=0.5°/G) | −0.00873 – 0.0262 |
rear_compliance_steer | リア コンプライアンスステア | rad/G(正でアンダー) | 0.00349(=0.2°/G) | −0.00873 – 0.0262 |
caster | キャスター | rad | 0.10472 | 0 – 0.17453 |
front_camber | フロント キャンバー | rad(負で上が内側) | -0.01745 | -0.52360 – 0.17453 |
rear_camber | リア キャンバー | rad(負で上が内側) | -0.01745 | -0.52360 – 0.17453 |
| 名前 | 調整画面での名前 | 単位 | 既定 | 範囲 |
|---|---|---|---|---|
friction | グリップ | μ | 1 | 0.3 – 1.5 |
tire_falloff | 滑ったときのグリップ低下 | 割合 | 0 | 0 – 0.5 |
tire_load_sensitivity | タイヤの荷重感度 | — | 0.15 | 0 – 0.4 |
cornering_stiffness | 横すべり剛性 | — | 12 | 4 – 25 |
longitudinal_stiffness | 縦すべり剛性 | — | 18 | 5 – 40 |
wheel_radius | タイヤ半径 | m | 0.45 | 0.25 – 1.1 |
friction に書くのは実際の摩擦係数(μ)です。調整画面は既定を 1.00 とした相対値で出しています(いまは基準が 1.0 なので同じ数字)。
| 名前 | 調整画面での名前 | 単位 | 既定 | 範囲 |
|---|---|---|---|---|
mass | 車重 | kg | 1200 | 500 – 2500 |
weight_distribution | 前後の荷重配分 | 前軸の割合 | 0.56 | 0.35 – 0.7 |
wheel_base | ホイールベース | m | 3.12 | 2 – 7 |
track_width | トレッド(前後を同じ値に) | m | 2 | 1.2 – 4 |
front_track_width | 前のトレッド(track_width より優先) | m | 2 | 1.2 – 4 |
rear_track_width | 後ろのトレッド(track_width より優先) | m | 2 | 1.2 – 4 |
| 名前 | 調整画面での名前 | 単位 | 既定 | 範囲 |
|---|---|---|---|---|
peak_torque | 最大トルク | N·m | 350 | 60 – 700 |
peak_torque_rpm | 最大トルク回転数 | rpm | 4200 | 1500 – 8000 |
peak_power_rpm | 最高出力回転数 | rpm | 最大トルク回転数の 1.59 倍(6676.4) | 2500 – 12000 |
idle_rpm | アイドル回転数 | rpm | 800 | 500 – 2000 |
redline_rpm | レブリミット | rpm | 7000 | 4000 – 12000 |
engine_brake | エンジンブレーキ | N·m | 90 | 0 – 200 |
engine_inertia | エンジンの慣性 | kg·m² | 0.25 | 0.05 – 1 |
| 名前 | 調整画面での名前 | 単位 | 既定 | 範囲 |
|---|---|---|---|---|
gear_count | 前進の段数 | 段 | 5 | 3 – 8 |
first_gear | 1速のギア比 | — | 4.2 | 1.5 – 5 |
top_gear | 最高段のギア比 | — | 0.85 | 0.4 – 1.5 |
drivetrain_efficiency | 駆動系の伝達効率 | — | 0.9 | 0.7 – 1 |
shift_time | 変速にかかる時間 | 秒 | 0.35 | 0 – 1.5 |
manual_transmission | 変速 | 0 = AT・1 = MT | 0 | 0 – 1 |
rev_match | 回転合わせ | 0 = 切・1 = 入(MT のシフトダウンで回転を合わせる。AT は常に入) | 1 | 0 – 1 |
| 名前 | 調整画面での名前 | 単位 | 既定 | 範囲 |
|---|---|---|---|---|
drive_layout | 駆動方式 | 0 = FF・1 = FR・2 = 4WD | 2 | 0 – 2 |
torque_split | 前後トルク配分 | 後輪の割合(4WD のみ) | 0.5 | 0.1 – 0.9 |
diff_preload | デフ イニシャルトルク | N·m | 0 | 0 – 300 |
diff_lock_ratio | デフ 差動制限率 | — | 0 | 0 – 1 |
diff_coast_ratio | デフ 戻し側の効き | — | 0.5 | 0 – 1 |
center_diff_lock | センターデフ 締結の強さ | — | 0 | 0 – 1 |
diff_lock_ratio と diff_preload がどちらも 0 ならオープンデフ。diff_coast_ratio は 0 で 1way、0.5 で 1.5way、1 で 2way。
torque_split と center_diff_lock は 4WD(drive_layout が 2)のときだけ効きます。torque_split は前後へ配る駆動力の割合で、後ろへ寄せるほど踏んだときに尻が出やすくなります(FR 寄り)。center_diff_lock が 0 ならオープンで配分どおり、上げると前後の回転差を揃えにいき、空転しかけた軸から掴んでいる軸へトルクが移ります(1 で直結)。締めるほど配分の意味は薄れ、低速で小さく回ったときに止まろうとします(タイトコーナーブレーキング)。サイドブレーキを引いている間は自動で切れます。古い drive_bias(0 = FF・1 = FR・間は 4WD の配分)と torque_falloff(トルク曲線の落ち方)も読めます。
| 名前 | 調整画面での名前 | 単位 | 既定 | 範囲 |
|---|---|---|---|---|
abs | ABS | 強さ(0 で無効) | 0.7 | 0 – 1 |
rolling_resistance | 転がり抵抗 | — | 0.15 | 0 – 1 |
最高速の項目はありません。実際の最高速はトルクと抵抗から決まり、最高段でレブまで回した速度より速くは走れません。
| 名前 | 調整画面での名前 | 単位 | 既定 | 範囲 |
|---|---|---|---|---|
drag_area | 空気抵抗(CdA) | m²(Cd×前面投影面積) | 0.78 | 0.2 – 5 |
front_downforce | ダウンフォース(前) | m²(−Cl×面積) | 0 | 0 – 3 |
rear_downforce | ダウンフォース(後) | m²(−Cl×面積) | 0 | 0 – 3 |
空気抵抗は力として掛かるので、同じ値でも重い車ほど減速しにくくなります。目安はスポーツカー 0.5、乗用車 0.7、SUV 1.0。以前の drag(減速度の係数)を書いたパックは、その車の車重で自動的に換算され、走りは変わりません。
ダウンフォースは前軸・後軸の位置で車体を下へ押し、速度の 2 乗で増えます。前を強くするとオーバー、後ろを強くするとアンダー。押し付けるぶん空気抵抗も増える(ダウンフォースの 1/6 が CdA に足される)ので、付けるほど最高速は落ちます。目安はウイング付きの市販車で前後合わせて 0.3〜0.6、GT 系のレーシングカーで 2〜3。
| 名前 | 調整画面での名前 | 単位 | 既定 | 範囲 |
|---|---|---|---|---|
max_steer | 最大切れ角 | rad | 0.6109(=35°) | 0.1745 – 1.5708 |
steer_grip_margin | 切れ角の余裕(大で滑らせやすい) | — | 1 | 0.8 – 8 |
visual_slip_limit | 見た目のタイヤ角 | rad(0 で無効) | 0.7854(=45°) | 0 – 1.5708 |
steer_rate | 舵が入るまでの時間 | 秒 | 0.25 | 0 – 1 |
steer_return | 舵が中立へ戻る時間 | 秒 | 0.25 | 0 – 1 |
self_aligning | 舵の自己復元 | —(0 で中立へ戻る) | 0 | 0 – 1 |
pedal_press | ペダルを踏みきる時間 | 秒 | 0.15 | 0 – 1 |
pedal_release | ペダルを戻しきる時間 | 秒 | 0.15 | 0 – 1 |
handbrake_press | サイドブレーキが効ききる時間 | 秒 | 0.15 | 0 – 1 |
traction_control | トラクションコントロール | 強さ(0 で無効) | 1 | 0 – 1 |
| Name | On the tuning screen | Unit | Default | Range |
|---|---|---|---|---|
stroke | Travel | m | 0.3 | 0.15 – 1.0 |
static_sag | Spring sag | fraction | 0.3924 | 0.2 – 0.7 |
body_clearance | Body clearance (collision) | m | 0.25 | 0.1 – 1.2 |
front_anti_roll | Front anti-roll bar | N/m | 2500 | 0 – 20000 |
rear_anti_roll | Rear anti-roll bar | N/m | 1500 | 0 – 20000 |
front_solid_axle | Front suspension type | 0 = independent, 1 = solid axle | 0 | 0 – 1 |
rear_solid_axle | Rear suspension type | 0 = independent, 1 = solid axle | 0 | 0 – 1 |
front_roll_center | Front roll centre | fraction of CG height | 0.4 | 0 – 0.8 |
rear_roll_center | Rear roll centre | fraction of CG height | 0.4 | 0 – 0.8 |
Set spring stiffness with static_sag (the fraction of the stroke the car sinks at rest), not N/m. KurumaMod works out the spring rate from the mass and stroke to hit that fraction, so changing mass keeps the ride height. Higher is softer: more droop to follow the ground over steps, and a lower ride (off-roaders sit around 0.5). Lower is stiffer. A shorter stroke also stiffens the springs, and the damper coefficients rise with them.
| Name | On the tuning screen | Unit | Default | Range |
|---|---|---|---|---|
front_bump_damping | Front bump damping | damping ratio | 0.45 | 0.1 – 1.5 |
front_rebound_damping | Front rebound damping | damping ratio | 0.45 | 0.1 – 1.5 |
rear_bump_damping | Rear bump damping | damping ratio | 0.45 | 0.1 – 1.5 |
rear_rebound_damping | Rear rebound damping | damping ratio | 0.45 | 0.1 – 1.5 |
Write a damping ratio (a fraction of critical damping), not N·s/m. KurumaMod works out the coefficient from that wheel's spring and load, so changing stroke or mass keeps the feel the same. At 1 the car just stops bouncing back. Real cars often run rebound at 1.5–3 times bump, which soaks up bumps softly but settles quickly.
| Name | On the tuning screen | Unit | Default | Range |
|---|---|---|---|---|
ackermann | Ackermann | fraction (1 = true Ackermann) | 0.5 | −0.5 – 1.2 |
front_toe | Front toe | rad (positive = toe-in) | 0 | −0.02618 – 0.02618 |
rear_toe | Rear toe | rad (positive = toe-in) | 0 | −0.02618 – 0.02618 |
front_roll_steer | Front roll steer | rad/rad (positive = understeer) | 0.05 | −0.2 – 0.3 |
rear_roll_steer | Rear roll steer | rad/rad (positive = understeer) | 0.08 | −0.2 – 0.3 |
front_compliance_steer | Front compliance steer | rad/G (positive = understeer) | 0.00873 (= 0.5°/G) | −0.00873 – 0.0262 |
rear_compliance_steer | Rear compliance steer | rad/G (positive = understeer) | 0.00349 (= 0.2°/G) | −0.00873 – 0.0262 |
caster | Caster | rad | 0.10472 | 0 – 0.17453 |
front_camber | Front camber | rad (negative = top leans in) | -0.01745 | -0.52360 – 0.17453 |
rear_camber | Rear camber | rad (negative = top leans in) | -0.01745 | -0.52360 – 0.17453 |
| Name | On the tuning screen | Unit | Default | Range |
|---|---|---|---|---|
friction | Grip | μ | 1 | 0.3 – 1.5 |
tire_falloff | Grip loss when sliding | fraction | 0 | 0 – 0.5 |
tire_load_sensitivity | Tyre load sensitivity | — | 0.15 | 0 – 0.4 |
cornering_stiffness | Lateral slip stiffness | — | 12 | 4 – 25 |
longitudinal_stiffness | Longitudinal slip stiffness | — | 18 | 5 – 40 |
wheel_radius | Tyre radius | m | 0.45 | 0.25 – 1.1 |
friction is the actual coefficient of friction (μ). The tuning screen shows it relative to the default (the reference is 1.0 for now, so the numbers match).
| Name | On the tuning screen | Unit | Default | Range |
|---|---|---|---|---|
mass | Mass | kg | 1200 | 500 – 2500 |
weight_distribution | Weight distribution | fraction on the front axle | 0.56 | 0.35 – 0.7 |
wheel_base | Wheelbase | m | 3.12 | 2 – 7 |
track_width | Track width (same front and rear) | m | 2 | 1.2 – 4 |
front_track_width | Front track width (overrides track_width) | m | 2 | 1.2 – 4 |
rear_track_width | Rear track width (overrides track_width) | m | 2 | 1.2 – 4 |
| Name | On the tuning screen | Unit | Default | Range |
|---|---|---|---|---|
peak_torque | Peak torque | N·m | 350 | 60 – 700 |
peak_torque_rpm | Peak torque rpm | rpm | 4200 | 1500 – 8000 |
peak_power_rpm | Peak power rpm | rpm | 1.59 × peak torque rpm (6676.4) | 2500 – 12000 |
idle_rpm | Idle rpm | rpm | 800 | 500 – 2000 |
redline_rpm | Redline | rpm | 7000 | 4000 – 12000 |
engine_brake | Engine braking | N·m | 90 | 0 – 200 |
engine_inertia | Engine inertia | kg·m² | 0.25 | 0.05 – 1 |
| Name | On the tuning screen | Unit | Default | Range |
|---|---|---|---|---|
gear_count | Forward gears | gears | 5 | 3 – 8 |
first_gear | 1st gear ratio | — | 4.2 | 1.5 – 5 |
top_gear | Top gear ratio | — | 0.85 | 0.4 – 1.5 |
drivetrain_efficiency | Drivetrain efficiency | — | 0.9 | 0.7 – 1 |
shift_time | Shift time | s | 0.35 | 0 – 1.5 |
manual_transmission | Transmission | 0 = AT, 1 = MT | 0 | 0 – 1 |
rev_match | Rev matching | 0 = off, 1 = on (matches revs on MT downshifts; always on for AT) | 1 | 0 – 1 |
| Name | On the tuning screen | Unit | Default | Range |
|---|---|---|---|---|
drive_layout | Drive layout | 0 = FWD, 1 = RWD, 2 = AWD | 2 | 0 – 2 |
torque_split | Front/rear torque split | rear share (AWD only) | 0.5 | 0.1 – 0.9 |
diff_preload | Diff preload | N·m | 0 | 0 – 300 |
diff_lock_ratio | Diff lock ratio | — | 0 | 0 – 1 |
diff_coast_ratio | Diff coast ratio | — | 0.5 | 0 – 1 |
center_diff_lock | Centre diff lock | — | 0 | 0 – 1 |
With diff_lock_ratio and diff_preload both at 0 it is an open diff. diff_coast_ratio is 1-way at 0, 1.5-way at 0.5, 2-way at 1.
torque_split and center_diff_lock only apply to AWD (drive_layout 2). torque_split is the share of drive sent to each axle; the more goes to the rear, the more the tail steps out on the throttle (RWD-like). With center_diff_lock at 0 the centre is open and the split holds exactly; raising it pulls the front and rear speeds together and moves torque from an axle that starts to spin to the one that still grips (1 is fully locked). The tighter it is, the less the split matters, and the car resists tight turns at low speed (tight-corner braking). It opens automatically while the handbrake is pulled. The old drive_bias (0 = FWD, 1 = RWD, anything between = AWD split) is still read.
| Name | On the tuning screen | Unit | Default | Range |
|---|---|---|---|---|
abs | ABS | strength (0 = off) | 0.7 | 0 – 1 |
rolling_resistance | Rolling resistance | — | 0.15 | 0 – 1 |
There is no top-speed field. The real top speed comes out of torque versus resistance, and the car can never go faster than top gear at the redline.
| Name | On the tuning screen | Unit | Default | Range |
|---|---|---|---|---|
drag_area | Drag area (CdA) | m² (Cd × frontal area) | 0.78 | 0.2 – 5 |
front_downforce | Front downforce | m² (−Cl × area) | 0 | 0 – 3 |
rear_downforce | Rear downforce | m² (−Cl × area) | 0 | 0 – 3 |
Drag is applied as a force, so the same value slows a heavier car less. Rough guide: sports car 0.5, saloon 0.7, SUV 1.0. Packs that still write the old drag (a deceleration coefficient) are converted using that car's mass, so they drive exactly as before.
Downforce pushes the body down at the front and rear axles and grows with the square of speed. More at the front gives oversteer, more at the rear gives understeer. It costs drag too (one sixth of the downforce is added to CdA), so the more you add, the lower the top speed. Rough guide: 0.3–0.6 in total for a road car with a wing, 2–3 for a GT-class race car.
| Name | On the tuning screen | Unit | Default | Range |
|---|---|---|---|---|
max_steer | Max steering angle | rad | 0.6109 (= 35°) | 0.1745 – 1.5708 |
steer_grip_margin | Steering margin (higher = slides more) | — | 1 | 0.8 – 8 |
visual_slip_limit | Visual wheel angle | rad (0 = off) | 0.7854 (= 45°) | 0 – 1.5708 |
steer_rate | Steering lock-to-lock time | s | 0.25 | 0 – 1 |
steer_return | Steering return time | s | 0.25 | 0 – 1 |
self_aligning | Self-aligning torque | — (0 = returns to centre) | 0 | 0 – 1 |
pedal_press | Pedal press time | s | 0.15 | 0 – 1 |
pedal_release | Pedal release time | s | 0.15 | 0 – 1 |
handbrake_press | Handbrake press time | s | 0.15 | 0 – 1 |
traction_control | Traction control | strength (0 = off) | 1 | 0 – 1 |
KurumaMod — 諸元の全項目は車の付録 A。ゲージスクリプトは modeling_tools/blender_gauge.py・modeling_tools/blender_wheel_gauge.py・modeling_tools/blender_tire_gauge.py、ナンバーは modeling_tools/blender_plate_gauge_*.py。
KurumaMod — every spec key is in Appendix A of the Car guide. The gauge scripts are modeling_tools/blender_gauge.py, modeling_tools/blender_wheel_gauge.py and modeling_tools/blender_tire_gauge.py, plus modeling_tools/blender_plate_gauge_*.py for plates.