Men of War: Assault Squad 2

Men of War: Assault Squad 2

#valour (# v a l o u r)
 此主题已被置顶,因此可能具有重要性
Normand  [开发者] 2017 年 9 月 10 日 上午 10:01
How to get humanskins from other mods working in #valour
There are steps to prepare humanskins from other mods to #valour mod system (summer-winter-deset)
In the .mdl file instead of the

{VolumeView "skin.ply"}
}

you should specify

{Bone "skins"
{Position 0 0 0}
{VolumeView "skin.ply"}
}
{Bone "skind"
{Position 0 0 0}
{VolumeView "skin.ply"}
{visibility 0}
}
{Bone "skinw"
{Position 0 0 0}
{VolumeView "skin.ply"}
{visibility 0}
}
}

If you have humanskin with LOD:


Replace these lines of .mdl file
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
}


by following lines
{Bone "skins"
{Position 0 0 0}
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
}
{Bone "skind"
{Position 0 0 0}
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
{visibility 0}
}
{Bone "skinw"
{Position 0 0 0}
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
{visibility 0}
}
}


Script to autoconvert:

https://drive.google.com/file/d/1bjXM1EEDKQ6lFOfZA35Cfi5DO5bJcPpx/view?usp=sharing
最后由 Normand 编辑于; 2020 年 9 月 8 日 上午 11:30
< >
正在显示第 1 - 15 条,共 46 条留言
poggman123 2017 年 9 月 11 日 下午 6:06 
tried this with the skins from robsrealism mod doesnt seem to work
Normand  [开发者] 2017 年 9 月 11 日 下午 9:34 
I have reduce code of replacing. Try one more time.
poggman123 2017 年 9 月 12 日 上午 7:21 
Nope still just get the blue creature thing, not sure if its me doing something wrong or what.
Normand  [开发者] 2017 年 9 月 12 日 上午 7:55 
Where you did save changes? In additional submod?
poggman123 2017 年 9 月 12 日 上午 11:07 
I extracted the humanskins from the main mod and put them in the entity dir. in the Valour mod and then made the changes.
最后由 poggman123 编辑于; 2017 年 9 月 12 日 上午 11:07
Normand  [开发者] 2017 年 9 月 12 日 上午 11:11 
mods\valour\resource\entity\humanskin\your_humanskin ??
poggman123 2017 年 9 月 12 日 下午 12:01 
Yes, I took humanskins from robzrealism mod and then created a new entity folder in the Valour ressource folder and droped the humanskins in there and then made the changes to the .mdl files there.
最后由 poggman123 编辑于; 2017 年 9 月 12 日 下午 12:01
Normand  [开发者] 2017 年 9 月 12 日 下午 12:21 
引用自 poggman123
Yes, I took humanskins from robzrealism mod and then created a new entity folder in the Valour ressource folder and droped the humanskins in there and then made the changes to the .mdl files there.

Post last & modified lines of your .mdl file here
poggman123 2017 年 9 月 12 日 下午 12:38 
this the unmodified version...



{bone "skin"
{Matrix34
0.906308 0 -0.422618
0 -1 0
0.422618 0 0.906308
-0.115372 -6.89244e-005 26.9396
}
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
}
}
}

modified version...



{bone "skin"
{Matrix34
0.906308 0 -0.422618
0 -1 0
0.422618 0 0.906308
-0.115372 -6.89244e-005 26.9396
}
{LODView
{Bone "skins"
{Position 0 0 0}
{VolumeView "skin.ply"}
}
{Bone "skind"
{Position 0 0 0}
{VolumeView "skin.ply"}
{visibility 0}
}
{Bone "skinw"
{Position 0 0 0}
{VolumeView "skin.ply"}
{visibility 0}
}
}
}
}
}
}
Normand  [开发者] 2017 年 9 月 12 日 下午 12:41 
Ah, you have humanskin with LOD. It will be second case of adoptation.

Replace these lines
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
}

by following lines
{Bone "skins"
{Position 0 0 0}
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
}
{Bone "skind"
{Position 0 0 0}
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
{visibility 0}
}
{Bone "skinw"
{Position 0 0 0}
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
{visibility 0}
}
}
最后由 Normand 编辑于; 2017 年 9 月 12 日 下午 12:44
poggman123 2017 年 9 月 12 日 下午 12:52 
Do the lines themselfs have to be kept in any particular format or does it not matter how their organized?
Normand  [开发者] 2017 年 9 月 12 日 下午 12:55 
Format does not matter :
- for one "{" symbol you should have one "}" symbol
最后由 Normand 编辑于; 2017 年 9 月 12 日 下午 12:56
poggman123 2017 年 9 月 12 日 下午 1:03 
still wont work...


{bone "skin"
{Matrix34
0.906308 0 -0.422618
0 -1 0
0.422618 0 0.906308
-0.115372 -6.89244e-005 26.9396
}
{Bone "skins"
{Position 0 0 0}
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
}
{Bone "skind"
{Position 0 0 0}
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
{visibility 0}
}
{Bone "skinw"
{Position 0 0 0}
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
{visibility 0}
}
}
}
}
Normand  [开发者] 2017 年 9 月 12 日 下午 1:10 
Check valour mod file 'us_ranger_hp.mdl'
It works

{bone "skin"
{Matrix34
0.906308 0 -0.422618
0 -1 0
0.422618 0 0.906308
-0.115372 -6.89244e-005 26.9396
}
{bone "skins"
{Position 0 0 0}
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
}
{bone "skind"
{Position 0 0 0}
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
}
{bone "skinw"
{Position 0 0 0}
{LODView
{VolumeView "skin.ply"}
{VolumeView "skin_lod1.ply"}
}
}
}
}
}

Try to move {visibility 0} lines
最后由 Normand 编辑于; 2017 年 9 月 12 日 下午 1:11
poggman123 2017 年 9 月 12 日 下午 1:20 
nope still doesnt work

would I need any other files or assets from robz mod to make it work in Valour?
最后由 poggman123 编辑于; 2017 年 9 月 12 日 下午 1:23
< >
正在显示第 1 - 15 条,共 46 条留言
每页显示数: 1530 50