Kenshi
Not enough ratings
顔のシェイプキーの作り方(How to make a shape key)
By AGO
このガイドではシェイプキーの追加方法について簡単に説明します。

This guide will briefly explain how to add a slider for character making

The translation is done using DeepL translation.
2
   
Award
Favorite
Favorited
Unfavorite
作業の手始め beginning of work
必要なものは以下のリンクで説明されています
https://steamhost.cn/steamcommunity_com/app/233860/discussions/3/1483232961034999015/

ここから最新のものを入手してください
https://www.lofigames.com/phpBB3/viewtopic.php?f=11&t=10732



What you'll need is explained at the following link
https://steamhost.cn/steamcommunity_com/app/233860/discussions/3/1483232961034999015/

Get the latest from here
https://www.lofigames.com/phpBB3/viewtopic.php?f=11&t=10732
インポート import
  • Kenshiのテンプレートを開いて、不要なメッシュ、スケルトンを消します
    Open a Kenshi template and remove unwanted meshes and skeletons


  • X軸の位置を0にします
    Set the x-axis position to 0.


  • スケルトンをオブジェクトモードで選択した状態で、
     シェイプキーが格納されているメッシュをインポートする必要があります
    With the skeleton selected in object mode, you must import the mesh that contains the shape keys

    人間 human
    Kenshi/data/character/meshes/human/human_female.mesh
    Kenshi/data/character/meshes/human/human_male.mesh

    シェク shek
    Kenshi/data/character/meshes/bone/bone_female.mesh
    Kenshi/data/character/meshes/bone/bone_male.mesh

    ハイブ hive
    Kenshi/data/character/meshes/bone/stick_person/Hive_Queen.mesh
    Kenshi/data/character/meshes/bone/stick_person/Stick_person.mesh
    Kenshi/data/character/meshes/bone/stick_person/Stick_person2.mesh
    Kenshi/data/character/meshes/bone/stick_person/Stick_person3.mesh

  • インポートオプション
    Import Options



  • 以上がインポートの概要です
    This is an overview of the import
シェイプキーの追加 Add a shape key
シェイプキーの追加の仕方は検索すれば沢山情報が出てきます。
You can find a lot of information on how to add a shape key by searching for it.

ここでは簡単に画像を添えて説明します。
Here's a brief description with a brief image.


  • 新しいシェイプキーを追加
    Added a new shape key


  • リネーム
    rename


  • 編集モードを選択
    Select an editing mode



  • エディット
     Edit.......


  • オブジェクトモードに戻り、シェイプキーの値を確認する
    Return to object mode and check the value of the shape key
以上がシェイプキーの追加の仕方です
This is how to add a shape key
エクスポート export
エクスポート
export

  • メッシュとスケルトンを紐づけする
      メッシュ→スケルトンの順番で複数選択し、「Ctrl+P」
      「空のグループで」を選択


    Tying the mesh to the skeleton
      Select multiple objects in the Mesh -> Skeleton order and press Ctrl+P
      Select "In an empty group.




  • 自作modの中にエクスポート
      エクスポートオプション

    Export into your own mod
      Export Options


以上です。
That's all.
xmlファイルの編集 Editing xml files
  • スライダーを制御しているxmlファイルは以下の場所です

    The xml file controlling the slider is in the following location

    kenshi/data/editor/ etc...xml


  • 必要なxmlファイルを自作MODにコピーします。
    Copy the necessary xml files to your own mod.

  • そのままだとバニラデータを上書きしてしまうので、上書きしたくない場合はリネームしてください
    If you don't want to overwrite the vanilla data, rename it if you don't want to

     
  • 適当な列をコピーして貼り付けます
    Copy and paste the appropriate column

     
  • ここの部分を作ったシェイプキーのネームに変更します
    Change this part of the name to the name of the shape key you created


     
  • スライダーの名前を分かりやすいネームにします
    We'll make the slider's name easy to understand.


  • 保存して終了
    Save and exit.

FCSの設定 FCS Settings
  • スライダーを追加したい種族を選択
    Select the race to which you want to add a slider

  • 画像で示しているところを、自分が作ったxmlファイルに変更
    Change the part shown in the image to the xml file you created.



     
  • 保存して終了
    Save and exit.

1 Comments
confusedlamprey 30 Jul, 2020 @ 7:22pm 
thank you so much. i am going to try soon and ill inform you if i get into any trouble