Fable: The Lost Chapters Mod Scene
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Site » General Discussion » Blender .X
Blender .X [message #46720] Wed, 29 October 2008 04:58 Go to next message
morerunes is currently offline  morerunes
Messages: 2154
Registered: June 2007
Location: My desk

Administrator

Alright, I'm getting sick with all the pirated copies of 3ds, because I betcha the only thing wrong with blender's exporter is the header and the helpers.

I am now on a quest to make blender export directX files with ease, only replacing maybe helpers and header with one from fable. Maybe I can even write a program to do it for you! (just export from blender, open in my program and export from my program)

I just (no really, about 30 seconds ago) confirmed that if you set it up right, the .x exporter in blender exports skinweights, so it may be rather easy to make stuff like bows and maybe even creatures with blender, and by the looks of it so far, it could mean that you no longer need 3ds for anything you can't do in blender when it comes to fable.

Just thought I'd update you guys, and I'll make sure to make some progress on exporting bows soon.

--edit--

How about them apples? I got a bow working, and judging by the way blender exports the stuff, I'd reckon it's possible to do creatures too, but I don't think I'm quite ready to step up to that yet.

I basically had to re-build the skeleton in blender, using correct names and hierarchy, and weight it like you would expect, parenting the mesh to the skeleton. Right there I found a problem. Blender's DirectX exporter only exports the weights right, if your mesh is parented to the skeleton (as it usually should be in blender), but the directX files for Fable don't like that, they like to have both the mesh and skeleton parented to scene-root. That is a problem. So, after exporting, I just did what I did for static weapons, the copy and paste method.

I copied from the beginning of the actual mesh frame (not the bones, since those come right before the mesh), all the way to the end bracket that is commented with "#End of Root Frame", and then I pasted it over (in a bow mesh exported from CBox) from "Frame Hero_bow" to the last end bracket ( } ) just before "Frame Bow_bone_main". Now it looks like this:

Frame Scene-Root {
 

 FrameTransformMatrix {
  1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000;;
 }

 Frame MESH_BOW_YEW_01 {
  

  FrameTransformMatrix {
   1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000;;
  }

  Frame Mesh {

        FrameTransformMatrix {
          0.000000,0.000000,-1.000000,0.000000,
          -1.000000,0.000000,0.000000,0.000000,
          0.000000,1.000000,0.000000,0.000000,
          -0.080100,-4.245000,0.000000,1.000000;;
        }
Mesh {...

and so on and so forth, until reaching

...(mesh stuff)
        }
  } // End of XSkinMeshHeader
  }  // End of the Object Mesh 
}  // End of the Root Frame

 Frame Bow_bone_main {
  

  FrameTransformMatrix {...(continues)



Please, notice how it ends with four end brackets. That last one, the one that says "End of the Root Frame" is a liar, it's actually the end of "Frame MESH_BOW_YEW_01", but it doesn't matter since it's just a comment, you can leave it.

What you just did is paste your mesh and skinweights over the mesh and skinweights of a different bow, so that bow is now gone, and your bow has taken it's place. Then, you just follow the procedure for the helpers if they are in a different spot then before. That is covered here.

This is all the info you need to start using Blender for everything that you would normally need 3ds for, for fable. Hopefully soon, I can prove that you may even be able to make new creatures Smile

--edit--

Hey, what do you know? I got a creature of my own creation to import into CBox without any visible problems, so now I've just got to test it.

On a side note, I would really like permission to edit the wiki, and put my findings into it (as well as possibly re-wording a few confusing things, and making it more stupid-proof, while not letting it lose any of that nice, vital, juicy information that we all love, perhaps by adding side notes to some of the info). I'd also like to add to the helper list, because I always find it a pain when I look in the wiki for a helper name and can't find it (such as weapon_focus or whatever)

Alright, through some more testing, I have found that there must be something wrong, something I don't understand

1. The model only shows the texture for a second, before turning completely matte black.

2. The model appears contorted and sideways and static.

From this, I have serious doubts as to whether the bow will work, but I still need to test that too.


"All of the work, and none of the play, will surely provide for a speedy decay"

[Updated on: Sat, 22 November 2008 02:39]

Report message to a moderator

Re: Blender .X [message #46754 is a reply to message #46720] Wed, 29 October 2008 21:01 Go to previous messageGo to next message
morerunes is currently offline  morerunes
Messages: 2154
Registered: June 2007
Location: My desk

Administrator

UPDATE

"All of the work, and none of the play, will surely provide for a speedy decay"
Re: Blender .X [message #46755 is a reply to message #46720] Wed, 29 October 2008 21:16 Go to previous messageGo to next message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
morerunes wrote on Wed, 29 October 2008 06:58

On a side note, I would really like permission to edit the wiki
As always, you'd have to PM Pe_Ell for the green light on that. You may be able to catch him on IRC to ask about it.

Nice work with this so far.
Re: Blender .X [message #46765 is a reply to message #46755] Thu, 30 October 2008 04:33 Go to previous messageGo to next message
morerunes is currently offline  morerunes
Messages: 2154
Registered: June 2007
Location: My desk

Administrator

alright, thanks

I'd like to make my own exporter for blender that does all this for you automatically, but I don't know even a smidgen of Python, let alone how to use it for Blender, so that's a while away


"All of the work, and none of the play, will surely provide for a speedy decay"
Re: Blender .X [message #47462 is a reply to message #46765] Sat, 22 November 2008 02:39 Go to previous message
morerunes is currently offline  morerunes
Messages: 2154
Registered: June 2007
Location: My desk

Administrator

UPDATE

"All of the work, and none of the play, will surely provide for a speedy decay"
Previous Topic: what do you ues to model?
Next Topic: Cant enter guild anymore
Goto Forum:
  


Current Time: Thu Apr 18 07:32:36 PDT 2024

Total time taken to generate the page: 0.00990 seconds