Hi All,
I have a few issues I'm struggling with... I'll explain...
First, I use the rather expensive PolyTrans for Maya to export directx files from Maya. The animations do not function at all in GG for some reason, so I scrapped that idea. Next, I made a simple door in Blender, imported a character model from Game Guru's default characters, scaled the door up so the character model would fit into the door. Removed the character model to reveal a nice, properly scaled door. I animated the door to open/close. Frames 1-25 open and frames 26-50 close. I have updated the anims section of the fpe file accordingly as well.
Now, I export this door to .x with Blender and load it into GG..
The scale is terrible. The door is about the size of one of your shoes!
Ok, I use GG to scale it up. Test game and push E to open the door. (it uses the default lua door script and is set to active).
The door animates! Great! at least the animations now work! Push E again to close the door and it looks great however I can walk right through it while it's closed! Hmm, I fix the animation problem with PolyTrans by using Blender only to have 2 more problems arise! I have deleted the DBO file and tried again, same result! The model should be about 125 units tall and should not be able to pass through when closed.
Any ideas of what to try?
Again, here is what I tried so far....
Blender .x Export...
Issues--
Door is too small, way way too small.
Collision is turned off when door is open but stays turned off when door is closed..
I Have Tried...
- Matched the door scale to that of a character model in Blender.
- Deleted the DBO File for the door.
- Ensured the door is using the door.lua script with the "anims" section of the FPE file modified to match the created door's animation frames. (animmax = 2 anim0 = 0,25 anim1 = 26,50).
-Ensured the door is set to non static via the FPE file and the entity's properties. The door highlights green when hovered over in the editor.
-The animations work great and the object is set to "isimmobile = yes" so the door doesn't fall over when running into it.
Latest version of Blender and GG
I t would be cool if PolyTrans for Maya 6 would export Directx animations that work correctly in GG but that might be due to an old version of Maya but the exporter does export DX9 compatible files so in theory it should work. I've tried all the plugin's checkboxes for animations but nothing moves in GG. Maybe GG requires some specific setting, I dunno,
Blender exports do animate correctly at least but that just introduced these 2 new issues.
Any suggestions would be welcomed and appreciated!
Windows:
At Least The hour Glass Works