Men of War: Assault Squad 2

Men of War: Assault Squad 2

#valour (# v a l o u r)
 This topic has been pinned, so it's probably important
Normand  [developer] Sep 10, 2017 @ 10:01am
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
Last edited by Normand; Sep 8, 2020 @ 11:30am
< >
Showing 1-15 of 46 comments
poggman123 Sep 11, 2017 @ 6:06pm 
tried this with the skins from robsrealism mod doesnt seem to work
Normand  [developer] Sep 11, 2017 @ 9:34pm 
I have reduce code of replacing. Try one more time.
poggman123 Sep 12, 2017 @ 7:21am 
Nope still just get the blue creature thing, not sure if its me doing something wrong or what.
Normand  [developer] Sep 12, 2017 @ 7:55am 
Where you did save changes? In additional submod?
poggman123 Sep 12, 2017 @ 11:07am 
I extracted the humanskins from the main mod and put them in the entity dir. in the Valour mod and then made the changes.
Last edited by poggman123; Sep 12, 2017 @ 11:07am
Normand  [developer] Sep 12, 2017 @ 11:11am 
mods\valour\resource\entity\humanskin\your_humanskin ??
poggman123 Sep 12, 2017 @ 12:01pm 
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.
Last edited by poggman123; Sep 12, 2017 @ 12:01pm
Normand  [developer] Sep 12, 2017 @ 12:21pm 
Originally posted by 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 Sep 12, 2017 @ 12:38pm 
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  [developer] Sep 12, 2017 @ 12:41pm 
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}
}
}
Last edited by Normand; Sep 12, 2017 @ 12:44pm
poggman123 Sep 12, 2017 @ 12:52pm 
Do the lines themselfs have to be kept in any particular format or does it not matter how their organized?
Normand  [developer] Sep 12, 2017 @ 12:55pm 
Format does not matter :
- for one "{" symbol you should have one "}" symbol
Last edited by Normand; Sep 12, 2017 @ 12:56pm
poggman123 Sep 12, 2017 @ 1:03pm 
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  [developer] Sep 12, 2017 @ 1:10pm 
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
Last edited by Normand; Sep 12, 2017 @ 1:11pm
poggman123 Sep 12, 2017 @ 1:20pm 
nope still doesnt work

would I need any other files or assets from robz mod to make it work in Valour?
Last edited by poggman123; Sep 12, 2017 @ 1:23pm
< >
Showing 1-15 of 46 comments
Per page: 1530 50