The Forum is up for sale: XeNTaX Forum looking for new owner
men of war pc .ply models
- Tosyk
- double-veteran

- Posts: 1020
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 266 times
- Been thanked: 147 times
- Contact:
men of war pc .ply models
Can someone of you pros add weight support into this script everything else works great?
Here's video:
https://www.youtube.com/watch?v=sezVg2ZJusc
Here's script:
https://github.com/bjornmp/Men-of-War-Blender-Importer
it seems like this script was abandoned.
Here's video:
https://www.youtube.com/watch?v=sezVg2ZJusc
Here's script:
https://github.com/bjornmp/Men-of-War-Blender-Importer
it seems like this script was abandoned.
You do not have the required permissions to view the files attached to this post.
-
Acewell
- VIP member

- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 883 times
Re: men of war pc .ply models
i know you want someone to add weight support to the Blender script but i just had to run the skin.ply through Hex2obj for kicks
early last year i was looking for a way to open these models and found nothing
this is a very easy format for anyone to learn the basics of Hex2obj with
this is a very easy format for anyone to learn the basics of Hex2obj with
You do not have the required permissions to view the files attached to this post.
- Tosyk
- double-veteran

- Posts: 1020
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 266 times
- Been thanked: 147 times
- Contact:
Re: men of war pc .ply models
nice one, AceWell. the models are not that good, I know
though since I playing this old strategy game I wanted to play with it models 
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: men of war pc .ply models
did you get the script to run?
In blender 2.73 neither installing from file (zip) nor copying the io_scene_mdl folder into the addons folder worked.
I can identify/install any other script by its name fromfor example
but not this one from Mr. Paz.
In blender 2.73 neither installing from file (zip) nor copying the io_scene_mdl folder into the addons folder worked.
I can identify/install any other script by its name from
Code: Select all
bl_info = {
"name": "Web3D X3D/VRML2 format",but not this one from Mr. Paz.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
- Tosyk
- double-veteran

- Posts: 1020
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 266 times
- Been thanked: 147 times
- Contact:
Re: men of war pc .ply models
I had this issue too. Don't recall how I solved it. Luckily I have a habit to always do a readme file so here it is:shakotay2 wrote:did you get the script to run?
In blender 2.73 neither installing from file (zip) nor copying the io_scene_mdl folder into the addons folder worked.
to install:
- copy folder 'io_scene_mdl' to 'C:\Program Files (x86)\Blender Foundation\Blender\2.77\scripts\addons\';
- in Blender open 'User Preferences';
- press 'Install from File' and choose '__init__.py';
- done.
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: men of war pc .ply models
sadly that doesn't work for me (Win7).Tosyk wrote: to install:
- copy folder 'io_scene_mdl' to 'C:\Program Files (x86)\Blender Foundation\Blender\2.77\scripts\addons\';
- in Blender open 'User Preferences';
- press 'Install from File' and choose '__init__.py';
- done.
(I was thinking it might be a matter of the UTF-8 encoding of the mdl scripts but that doesn't make sense because
By default, Python source files are treated as encoded in UTF-8)
But all the other scripts installed are ANSI. Sometimes I really hate blender.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
- Tosyk
- double-veteran

- Posts: 1020
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 266 times
- Been thanked: 147 times
- Contact:
Re: men of war pc .ply models
it should appear in "Testing" in "Supported Level" btwshakotay2 wrote:sadly that doesn't work for me (Win7).
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: men of war pc .ply models
well, that's an essential info, you know?Tosyk wrote:it should appear in "Testing" in "Supported Level" btwshakotay2 wrote:sadly that doesn't work for me (Win7).
Anyway, as import/export options I've Men of War (.def) only.
This may be due to this strange icon (know what it means?): (I should have known this that those blender guys/developers are totally insane, hahaha.
But I've to confess that I don't use blender too often, so it's my fault - confirmed)
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
- Tosyk
- double-veteran

- Posts: 1020
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 266 times
- Been thanked: 147 times
- Contact:
Re: men of war pc .ply models
this is it, .def - it's file for ingame entity. you should load .def file and all the rest files will load automatically.shakotay2 wrote:Anyway, as import/export options I've Men of War (.def) only.
This may be due to this strange icon (know what it means?):
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: men of war pc .ply models
would be nice if it did, but it doesn't for some reason.
It seems to read data but it doesn't display anything:Maybe it's due to this <class 'Exception'>?
(Guess it works for you with ger-mgun.def, does it?)
btw: this ger-mgun.mdl contains ASCII data of a skeleton
Also did you notice that in the youtube video the import entry is named Men of War (.mdl)?
I'm on blender 2.75, this should not be an issue, should it?
It seems to read data but it doesn't display anything:
Code: Select all
Found entry b'MESH' at 0xf0
Number of triangles: 572
Material info: 0xf14
Material name length: 0x8
Material file: b'ammo.mtl'
Found entry b'MESH' at 0x129
Number of triangles: 2090
Material info: 0xf14
Material name length: 0x8
Material file: b'body.mtl'
Found entry b'MESH' at 0x162
Number of triangles: 374
Material info: 0xd14
<class 'Exception'>
Building Blender scene
Finished building Blender scene
MOWDEF_NODE_ROOT
MOWDEF_NODE_GAME_ENTITY
MOWDEF_NODE_EXTENSION
MOWDEF_NODE_TAG(Guess it works for you with ger-mgun.def, does it?)
btw: this ger-mgun.mdl contains ASCII data of a skeleton
Also did you notice that in the youtube video the import entry is named Men of War (.mdl)?
I'm on blender 2.75, this should not be an issue, should it?
Last edited by shakotay2 on Thu Jul 21, 2016 9:15 pm, edited 1 time in total.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
- Tosyk
- double-veteran

- Posts: 1020
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 266 times
- Been thanked: 147 times
- Contact:
Re: men of war pc .ply models
unfortunately script doesn't load mgunner but it does load older (or just simplier?) models
You do not have the required permissions to view the files attached to this post.
- Tosyk
- double-veteran

- Posts: 1020
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 266 times
- Been thanked: 147 times
- Contact:
Re: men of war pc .ply models
andTosyk wrote:unfortunately script doesn't load mgunner but it does load older (or just simplier?) models
You do not have the required permissions to view the files attached to this post.
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: men of war pc .ply models
okay, got them loaded, plus we've a skeleton here.
23 bones only ? For me it looks like it doesn't have (all) fingers - so dunno if it's worth dealing with it.
23 bones only ? For me it looks like it doesn't have (all) fingers - so dunno if it's worth dealing with it.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
- Tosyk
- double-veteran

- Posts: 1020
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 266 times
- Been thanked: 147 times
- Contact:
Re: men of war pc .ply models
true, it may look crappy since it's an old strategy game but I'd like play with the original models since I'm a huge fan of the series. plus mgunner-guy has a detailed texture, I suppose he is from cutscenes.shakotay2 wrote:okay, got them loaded, plus we've a skeleton here.
23 bones only ? For me it looks like it doesn't have (all) fingers - so dunno if it's worth dealing with it.
- shakotay2
- MEGAVETERAN

- Posts: 4231
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1139 times
- Been thanked: 2222 times
Re: men of war pc .ply models
you could check for weights (in FVF block?) and boneids. Weights are in the range of 0.0 to 1.0, sum of weights (for 4 boneids in most cases) is 1.0.
Boneids from 0 to 22.
For machine_gunner_male_eng_outfit (FVFsize=40) at FVF offset 20 it looks like normals (sum of squares = 1.0).
There might be boneIDs at FVF offset 16 (four bytes, maximum 2 ids, rest 0), just a wild guess - I'll check that later.
(I've planned a weights logging feature for hex2obj since ages (or less
) but it won't come too soon.)
Boneids from 0 to 22.
For machine_gunner_male_eng_outfit (FVFsize=40) at FVF offset 20 it looks like normals (sum of squares = 1.0).
There might be boneIDs at FVF offset 16 (four bytes, maximum 2 ids, rest 0), just a wild guess - I'll check that later.
(I've planned a weights logging feature for hex2obj since ages (or less
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
