Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 5 - Modders Workshop > Thread: H5 models
Thread: H5 models
shassz
shassz


Adventuring Hero
posted September 13, 2007 05:03 PM

H5 models

As I found out structured data of every object in the H5 world is located in the _(Model) directory of data.pak. Model/Skeleton/Animation data about objects in the H5 world is located in [Object_Name].(Model).xdb. This XML file has 5 major nodes.

Materials is kind of straight forward for any1 who is familiar with programs like 3dsmax or maya, etc.

The Skeleton/Geometry/Animations tags are the most important here becuse these are the ones tightly related with the models. In all 3 of this there is a "uid" tag which refers to a filename in bin\[Skeleton|Geometry|Animations]\ folders of data.pak. After some search and a short trip to the game's bin folder I found granny2.dll developed my radgametools. It seems they used granny3d sdk to export the models from Maya 6.0. U can view the contents of the above mentioned directories with creepy filenames with their free viewer which can be downloaded here:

http://www.radgametools.com/down/Granny/gr2_viewer_setup.exe

For some reason I cant open anything from the folder geometries(It always dies off saying theres is a CRC error which is kinda impossible since the game loads the related objects well).

If any1 could tap on a granny3d sdk try to retransform these data into a maya.binary file and make the SDK accessible for me too.

Ow yea and windpower tag is prolly some particle system related stuff. I havent tried this out.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
shassz
shassz


Adventuring Hero
posted September 13, 2007 06:36 PM

Seems like sound files are stored in sounds are stored in the same way with these "uid" identifiers in sound.pak's bin\Sounds directory. You just need to rename the file according to the .xdb file and there you go you can play all heroes sound effect in winamp.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Daystar
Daystar


Honorable
Legendary Hero
Back from the Dead
posted September 13, 2007 10:31 PM

There is a program to convert the geometries into .wrl or sth, do you want me to send you it?

Also, do you have Maya?  If you have Maya, then I have models for HV to work with.  If you have Maya, we have Nagas.
____________
How exactly is luck a skill?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Neckie
Neckie


Hired Hero
posted September 14, 2007 12:25 AM

I have Maya and we can edit the geometries with the mesh to wrl program that you can find at : [url]http://deep.phpwebhosting.com/~paradox/forums/index.php?s=54f4c6751c8f8e6b6bfb8d91e7d9744e&act=Attach&type=post&id=1381[/url]

Then you need 3dmax to import the .wrl and then export it to a format (.obj) that maya can import. Then you can export it to a .mb or .ma format.

Then, theoretically you could use the editor to export the .mb or .ma file back into mesh files.

But the fact is that it doesn't work. Because even if you select the .mb file the sourcescene never changes. Now we need to find the way to make it work.

Here is a .mb file for testing : [url]http://www.filefactory.com/file/3400e7/[/url]
It is the arena boat geometry.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Miru
Miru


Supreme Hero
A leaf in the river of time
posted September 14, 2007 12:51 AM

I know this is a dumb question... but has anyone asked Fabrice (or whoever), 'cause that would be a whole lot easier if he gave us their program...
____________
I wish I were employed by a stupendous paragraph, with capitalized English words and expressions.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
shassz
shassz


Adventuring Hero
posted September 14, 2007 02:45 AM
Edited by shassz at 02:47, 14 Sep 2007.

This converter that Neckie linked works fine. I still dont know how to match the Skeleton and Animation files with the mesh but now I just need some sleep.

By model you mean mesh+anim+skeleton or the mesh only Daystar?

Sleeping....

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Daystar
Daystar


Honorable
Legendary Hero
Back from the Dead
posted September 14, 2007 04:17 AM

meh, I have model.  Skeleton?  Animation....no.
____________
How exactly is luck a skill?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
CrazyPill
CrazyPill


Hired Hero
posted September 14, 2007 10:58 AM

Quote:
I know this is a dumb question... but has anyone asked Fabrice (or whoever), 'cause that would be a whole lot easier if he gave us their program...

Nival as developers have got Maya exporters and source models, they don't need importers ;-) But the big question is why they don't redistribute exporters. Heroes5 3D engine is a modified version of a thing used in Blitzkrieg 2. The main difference for modders that Blitzkrieg uses gr2 files to store every part of model and provides maya exporters. Heroes5 stores geometries and aigeometries in a different file format, so granny exporters for Maya taken from Blitzkrieg could only be used for ajusting animation.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
shassz
shassz


Adventuring Hero
posted September 14, 2007 12:14 PM

I try, and ask for it on the Nival forums maybe they answer.

CrazyPill could you upload the exporter for BlitzKrieg 2 to somewhere?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
CrazyPill
CrazyPill


Hired Hero
posted September 14, 2007 12:33 PM
Edited by CrazyPill at 12:34, 14 Sep 2007.

Quote:
CrazyPill could you upload the exporter for BlitzKrieg 2 to somewhere?

[url=http://pills.crazypill.ru/hmm5/MayaExport.rar]Here it is.[/url] There are subfolders in the archive corresponding maya versions(4.0-6.0). You need only granny_export.mll from your version folder. Other files are for ability to make conversion from the editor. Exporter settings presets are saved in *.ges files.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
bighoss75
bighoss75

Tavern Dweller
posted September 20, 2007 07:02 PM


Here is a .mb file for testing : [url]http://www.filefactory.com/file/3400e7/[/url]
It is the arena boat geometry.


I have no problem opening this file in Maya.. so the game uses direct .mb .ma maya formats?..if so where did you get this file...i have been trying to locate all the mesh data, so i can start changing models

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
CrazyPill
CrazyPill


Hired Hero
posted September 20, 2007 08:53 PM
Edited by CrazyPill at 21:21, 20 Sep 2007.

Quote:
I have no problem opening this file in Maya.. so the game uses direct .mb .ma maya formats?

No, Maya is used for modeling only internaly, and after that models goes through Nival converter tool. Tool for Blitzkrieg 2 isn't so useful for Heroes 5, geometries and aigeometries aren't granny anymore.
So now you can:
Maya -> Game
 Animations
 Skeletons
Game -> Maya
 Meshes (wrl isn't ma , but could be converted with wrl2ma)
Now jumping around "Non-useful GR2->MS converter" source code and granny viewer. Art of Necromancy should rise skeletons from grannies :-)

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
bighoss75
bighoss75

Tavern Dweller
posted September 21, 2007 01:08 AM

Quote:
Quote:
I have no problem opening this file in Maya.. so the game uses direct .mb .ma maya formats?

No, Maya is used for modeling only internaly, and after that models goes through Nival converter tool. Tool for Blitzkrieg 2 isn't so useful for Heroes 5, geometries and aigeometries aren't granny anymore.
So now you can:
Maya -> Game
 Animations
 Skeletons
Game -> Maya
 Meshes (wrl isn't ma , but could be converted with wrl2ma)
Now jumping around "Non-useful GR2->MS converter" source code and granny viewer. Art of Necromancy should rise skeletons from grannies :-)




I know what maya is used for ive been working with it for a few years now,..Plus i also work with Studio max.What i did not know about was the conversion tool mesh2wrl program..as long as i can get a readable 3d format i can model whatever is needed,..now i understand whats going on here..

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
TSoD
TSoD


Promising
Famous Hero
NCF Blacksmith
posted August 19, 2008 04:19 PM

I searched a bit more.
And I find this, if it is useful to you, great. But if it isn't... ^^

It is a tool for Warcraft III, but the 3DWin Converter is very intresting. It can convert a lot of format into a lot of other format.
And we find there .wrl, .ma, .3ds, .obj, .mdl, .md2, .ase,...

Rheingold3D

Too, I dunno if you have already discovered this :
We can view Heroes V skeletons & animations in Granny Viewer. It can be useful to know the name of a bone in creating NCF Creatures, but it could also help us in our project...

Here is the Hellhound, for example :



Here, hellhound attacking :




 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
TSoD
TSoD


Promising
Famous Hero
NCF Blacksmith
posted August 19, 2008 04:24 PM

I forgot something.
Gnoll_Mage has succeeded in view the griffin in Maya. He textured it in wood :



Voila... I hope that I give you some "new" informations...

Are they helpful ?

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0385 seconds