1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

UE3 - General Unreal 2 Golem (.gem) plugin for Blender.

Discussion in 'Modeling & Skinning' started by VendorX, Feb 5, 2011.

  1. VendorX

    VendorX Member

    Joined:
    Aug 2, 2010
    Messages:
    219
    Likes Received:
    3
    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: Mar 3, 2012
  2. [SAS]Solid Snake

    [SAS]Solid Snake New Member

    Joined:
    Jun 7, 2002
    Messages:
    2,633
    Likes Received:
    0
    That's awesome.
     
  3. GreatEmerald

    GreatEmerald Khnumhotep

    Joined:
    Jan 20, 2008
    Messages:
    4,042
    Likes Received:
    1
    Looks very promising indeed. I'm going to test it as soon as I get the chance.
     
  4. VendorX

    VendorX Member

    Joined:
    Aug 2, 2010
    Messages:
    219
    Likes Received:
    3
    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. GreatEmerald

    GreatEmerald Khnumhotep

    Joined:
    Jan 20, 2008
    Messages:
    4,042
    Likes Received:
    1
    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. VendorX

    VendorX Member

    Joined:
    Aug 2, 2010
    Messages:
    219
    Likes Received:
    3
    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: Feb 10, 2011
  7. GreatEmerald

    GreatEmerald Khnumhotep

    Joined:
    Jan 20, 2008
    Messages:
    4,042
    Likes Received:
    1
    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. VendorX

    VendorX Member

    Joined:
    Aug 2, 2010
    Messages:
    219
    Likes Received:
    3
    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. GreatEmerald

    GreatEmerald Khnumhotep

    Joined:
    Jan 20, 2008
    Messages:
    4,042
    Likes Received:
    1
    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. VendorX

    VendorX Member

    Joined:
    Aug 2, 2010
    Messages:
    219
    Likes Received:
    3
    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: Feb 12, 2011
  11. GreatEmerald

    GreatEmerald Khnumhotep

    Joined:
    Jan 20, 2008
    Messages:
    4,042
    Likes Received:
    1
    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. VendorX

    VendorX Member

    Joined:
    Aug 2, 2010
    Messages:
    219
    Likes Received:
    3
    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. GreatEmerald

    GreatEmerald Khnumhotep

    Joined:
    Jan 20, 2008
    Messages:
    4,042
    Likes Received:
    1
    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. VendorX

    VendorX Member

    Joined:
    Aug 2, 2010
    Messages:
    219
    Likes Received:
    3
  15. GreatEmerald

    GreatEmerald Khnumhotep

    Joined:
    Jan 20, 2008
    Messages:
    4,042
    Likes Received:
    1
    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: Feb 13, 2011
  16. VendorX

    VendorX Member

    Joined:
    Aug 2, 2010
    Messages:
    219
    Likes Received:
    3
    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: Feb 13, 2011
  17. GreatEmerald

    GreatEmerald Khnumhotep

    Joined:
    Jan 20, 2008
    Messages:
    4,042
    Likes Received:
    1
    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. VendorX

    VendorX Member

    Joined:
    Aug 2, 2010
    Messages:
    219
    Likes Received:
    3
    There is new version 2.0, but still no animation support...
     
  19. VendorX

    VendorX Member

    Joined:
    Aug 2, 2010
    Messages:
    219
    Likes Received:
    3
    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. VendorX

    VendorX Member

    Joined:
    Aug 2, 2010
    Messages:
    219
    Likes Received:
    3
    For those who want golem meshes an animations there is another plug-in:
    Ogre plug-in

    BTW. THANKS FOR HELP!:mad:
     
    Last edited: Dec 21, 2011

Share This Page