This is an old revision of the document!
Table of Contents
ギアシティの車体ベース/ボディ作成ガイド
by MediaevalRocket
使用したもの
- Bforartist 1.0.0またはBlender 2.7.x – 私はBforartistを使用
- Ogre Command Line Tools (GearCityにも同梱)
- 最も重要なのは GearCity
インストール
- Bforartist または Blender をダウンロードしてインストールします。
- Ogre コマンドラインツールをダウンロードしてインストールします。これには Ogretoolsxmlconverter.exe と meshmagick.exe が含まれます。
- blender2ogre 0.66 をダウンロードします。
- Bforartist または Blender を開きます
Blender2ogre の設定に関する追加チュートリアルは こちらをご覧ください。
シェイプキーイング
- シェイプキー処理を少なくともあと2回繰り返します。1つには「ボディ全体の幅Entire Body_Complete_Width」、もう1つには「ボディ全体の高さEntire Body_Complete_Height」という名前を付けます。名前の通り、一方のシェイプキーで幅を変更し、もう一方のシェイプキーで高さを変更します。他のシェイプキーを追加することもできますが、ゲームの動作に必要なのは「ボディ全体の長さEntire Body_Complete_Length」、「ボディ全体の幅Entire Body_Complete_Width」、「ボディ全体の高さEntire Body_Complete_Height」のみです。

YouTubeで見つけた、非常に分かりやすいシェイプキーのチュートリアルへのリンクです: https://www.youtube.com/watch?v=OITWiN8Dplo
アニメーション
3Dモデルをゲームに組み込むには、各シェイプキーにキーフレームアニメーションを作成する必要があります。
- デフォルトのレイアウトに戻します
サブメッシュの作成
サブメッシュは、ゲーム内でモデルに使用できるマテリアル(シェーダー)を指定します。サブメッシュを作成しないと、ゲーム内で車のベースがペイントできず、白のままになってしまうため、作成は重要です。例を以下に示します:
- First go into materials and create a material, as seen in the picture below. Now rename it. According to Steam user mrx_ua, “[The possible names for a submesh in the game are] ’All’ (lets you use any shader), ‘Body’, ‘Glass’, ‘Leather’, [and] ‘Metal.’” As you may assume these names dictate what kind of materials, aka. paints or shaders, can be used on your model. However, the use of ‘All’ should be avoided because it may cause strange graphical issues in-game.

- As seen in the picture above you can create multiple submeshes, in most 3D programs they are called materials. If you have only one submesh your car base will be only one material or shader. If you create more submeshes you can have other materials or shaders on your car base. As seen in the picture bellow, for this to work properly you will need to go into edit mode and select the areas of your mesh that are you desire to be your selected material. Then press the assign in the materials tab.

Exporting
- You should now get a bunch of files in the directory that you selected related to your model. The important one has the file extension “.mesh”.
Putting the Mesh into the Game
Creating a Mod With A Custom Components.XML File
For more details on the Components Editor.
Testing
If the game didn’t instantly crash on you when you selected your car base, the custom model was successfully imported.
Troubleshooting
If you select your car base and the game crashes, you may get an ID-10T error. If this happens please open the game again and put more 710 fluid in your car this time.
Just joking more than likely you forgot a step, but a lot of mechanics and tech support operators probably just cringed at my bad joke, sorry.
To find out what went wrong find Logfile.log.
There is a high chance you forgot to do an Animation. Go back Blender or Bforartist and create the key frame animation you forgot. If this doesn’t solve your problem create a new discussion on Steam Discussions. Eric is the creator/developer of GearCity and he will help you.

































