![]() |
|
|
#1 |
|
Unreal 2 Golem (.gem) plugin for Blender.
Features:
Import a Unreal2 Golem (.gem) object file in to Blender editor, including the vertex maps such as UV, Morph, Color and Weight maps, bons hierarchy etc. With this script you can export all that good stuff from Unreal 2 engine. Version: 1.0 initial Support: -Blender 2,56 -UV Texutre -Weight -Armature Bones -Material ID -Aniation not supported Bug - fix: See ReadMe... Download: Pyton script - http://www.fileplanet.com/files/210000/218549.shtml Blender - http://www.blender.org/download/ Update March 2011. New Version: 2.0 - http://www.fileplanet.com/files/210000/219134.shtml - BuildIn exporter - Some optimisations Update December 2011. New Version: 2.1 - http://www.fileplanet.com/files/220000/224819.shtml - Blender 2.59 support Note: To export those models use BuildIn Exporter (look for option 'Export to .psk' when import) - because Blender has tendency to mess skeleton up... Exporter don't simply convert, he dump origonal model data to .psk (skip Blender interface...). Still animation not supported - ToDo... Last edited by VendorX; 3rd Mar 2012 at 08:31 AM. Reason: Update |
|
|
|
|
|
|
#2 |
|
That's awesome.
|
|
|
|
|
|
|
#3 |
|
Looks very promising indeed. I'm going to test it as soon as I get the chance.
|
|
|
|
|
|
|
#4 |
|
I forget abaut serious bug: when you already imported gem model in to Blender and you want import another (even as new model) you mast restart editor.
|
|
|
|
|
|
|
#5 |
|
Just tried it, and looks good. Though unfortunately the .gem files for most of the weapons are not complete for some reason... For example, the Dispersion Pistol only shows a single triangle. But the Mind Claw is complete, the Singularity Cannon also seems to be right. The Spider Gun is missing quite a bit of faces, and the Laser Rifle only shows the ammo pack... Yet they are used in the game correctly, so I wonder where they keep that data...
|
|
|
|
|
|
|
#6 |
|
I know... I whose surprise too, but egsist an explanation. Sometimes Golem dont use meshes, just skeleton - mostly weapons and decorations. All that you see in the game is meany static meshes attashed to the shockets. They do this for bether performance. I tryd start discution in this topic, but nobody whant.
OK... SM you can find in MalekythM, but if you want to know witch egsact you need open GlmEd. In editor you can find all informations - whid witch schocked/bone is attached witch SM and where he is. If you want i can explain in the details. Last edited by VendorX; 10th Feb 2011 at 05:07 PM. |
|
|
|
|
|
|
#7 |
|
Please do, that is definitely interesting. Though that means that the static meshes should be composed of different parts, since for example the Laser Rifle changes significantly while it's reloading.
|
|
|
|
|
|
|
#8 |
|
Laser Rifle... Beauty... My 'Golem adventure' begins with this weapon.
BTW, i've seen your post, where you sayings that you have alredy U2 weapons models and all you need is the animation... |
|
|
|
|
|
|
#9 |
|
I was talking about static meshes there, and used the term "animation" in loose terms, that is, as "skeletal mesh with animation support".
Good luck
|
|
|
|
|
|
|
#10 |
|
OK... All information about schockets you can find in: YourModel/YourModel.gem/Entity Blueprint.Value.
Attach-Something - pointing to what is attached Attach-Something-Node - pointing to bone List of textures In: YourModel/YourModel.gem/Materials.Current Material. PS: if you use Blender to export as .psk - don't do that. Blener exporter can't export mesh with multiple skins or multiple mesh groups. Last edited by VendorX; 12th Feb 2011 at 03:13 AM. |
|
|
|
|
|
|
#11 |
|
Oh huh, that's true. MalekythM.usx has all the parts. So if I exported all the required parts and bones, then imported the bones to Blender and assigned the parts to bones, it should work, right? But then I would still need to export the thing...
|
|
|
|
|
|
|
#12 |
|
I use Milkshape to complete the models, it's easy to do... From Blender i export model to .psk, then in Milkshape you can find all needed positions of bones. Next step - export use Umodel all SM, then load one by one and put in rigth place in Milkshape. For complete models i have modified version of .psk exporter, but he work with Blender v2.53. 2.56 is different and is difficult to change pyton script. I let you now, when i finish that script.
|
|
|
|
|
|
|
#13 |
|
I see. I don't have Milkshape, so I can't do those things, but it should be possible to do in Blender with an updated exporter.
|
|
|
|
|
|
|
#14 |
|
|
|
|
|
#15 |
|
That's quite a complex procedure, and my Blender skills are quite rusty right now. But I'll give it a try and see what I get get out of this.
EDIT: I don't get it, why can I see the bone form when I manually add normal bones, but imported bones are only points? Last edited by GreatEmerald; 13th Feb 2011 at 09:20 AM. |
|
|
|
|
|
|
#16 |
|
It's all about 'matrix' sh**. Blender use rotation matrix to setup bone tail, but at this stage of the development nobody really now how use it. Try to load original .psk... Skeleton is not like should be. This happen because of... I'm sure you understand term 'rotation matrix'. To do this right, i put them (tails) in the same place (almost) with heads and this is why you can't see the bons in Blender. During export, exporter loocking for heads and after import in to another 3d editor everything is fine.
Tip: If you want to setup all parts together, do it in different editor e.g. 3dsMax or Milkshape like me. Last edited by VendorX; 13th Feb 2011 at 12:56 PM. |
|
|
|
|
|
|
#17 |
|
Well, I don't have any different editors... I guess it would be nice if someone else could assemble it for me, then.
Also, is there any progress on animation support? |
|
|
|
|
|
|
#18 |
|
There is new version 2.0, but still no animation support...
|
|
|
|
|
|
|
#19 |
|
I you peoples want animation for Golem then i need some help:
In .gem each rotation was stored as 5 bytes... Question is: How that "5 bytes" can i transform to bone rotation? |
|
|
|
|
|
|
#20 |
|
For those who want golem meshes an animations there is another plug-in:
Ogre plug-in BTW. THANKS FOR HELP!
Last edited by VendorX; 21st Dec 2011 at 06:58 AM. |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|