统一指挥2

统一指挥2

Your Own, Personal War
Explore Unity of Command II scenarios and mods designed by the community, or create and share your content using the built-in scenario editor.
TheLastSterling 2 2021 年 8 月 1 日 上午 6:33
Adding new unit models?
Is it possible to add new unit models to the game? So far I can't seem to understand how UoC file format work. I've tried to use .obj models but the game crash log says it can't load pickled data.
最后由 TheLastSterling 编辑于; 2021 年 8 月 1 日 下午 7:54
< >
正在显示第 1 - 2 条,共 2 条留言
tomislav.uzelac  [开发者] 5 2021 年 8 月 8 日 上午 7:09 
This guide explains how its's done:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1912050840

There is one error in the guide, in the yml file example (note there is just a one character difference). Please use this (correct) file as a reference:
materials: - Ks: [1.0, 1.0, 1.0] map_Kd_ref: Default_Base_Color_us.tga map_Ks_ref: us_inf_42_specular.tga map_bump_ref: us_inf_42_normal.tga shininess: 4.0 mesh_file: us_inf_42.obj properties: scale: 0.84 variations: shooting: us_inf_42_shooting.fbx
TheLastSterling 2 2021 年 8 月 8 日 下午 2:24 
引用自 tomislav.uzelac
This guide explains how its's done:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1912050840

There is one error in the guide, in the yml file example (note there is just a one character difference). Please use this (correct) file as a reference:[/code]
Thank you for the responds.

I'm trying to follow the instructions, but I having issues with the Prep making the mod folder, but having nothing in it. So far it's just testing by replacing a tank unit. The Steps I'm taking is:


1. Create the folder path "Unity of Command 2\assets_in\unit_models\uk_arm_41"
2a. Place my model "uk_arm_41_mesh.obj" into the "uk_arm_41" folder
2b. Copy over uk_arm_41_meta file and changing the line file:
uk_arm_41_mesh.npz to "file: uk_arm_41_mesh.obj"
3. Create a Prep.exe shortcut and changing the Target line to:
"Unity of Command 2\prep.exe" models uk_arm_41 --package=uk_arm_41
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50