Export .OBJs back to .WTB?
Moderator: Skyfaller
- Col.Kell
- House Steiner Archon
- Posts: 868
- Joined: Sat Sep 27, 2008 7:44 am
- Location: An Isolated Tennessee Valley.
Export .OBJs back to .WTB?
Skyfaller, thanks again for MechVM, this has made things a heck of a lot easier to edit.
I have edited a Hellbringer head on "3D Milkshape", Yeah, it may look dumb, but it could mean a breakthrough if we can export OBJs back to WTB. Do you by any chance, Skyfaller, have or know if this can be done?
Thanks.
I have edited a Hellbringer head on "3D Milkshape", Yeah, it may look dumb, but it could mean a breakthrough if we can export OBJs back to WTB. Do you by any chance, Skyfaller, have or know if this can be done?
Thanks.
MechWarrior 2: 31stCC
- Skyfaller
- Clan 1st MechWarrior
- Posts: 1017
- Joined: Sat Apr 12, 2008 2:58 am
- Location: Germany
- Contact:
Re: Export .OBJs back to .WTB?
I haven't figured out how to do this yet. The problem is I don't know yet how texturing works in MW2. Please take a look at the documentation on the WTB file format, the WTB section in mw2-files.txt. I can image two possibilities:
- The WTB files have the list of vertices at the start of the file. There are 3 signed DWords giving the xyz coordinates. This is followed by what appears to be two Words. Perhaps you can find out their function by hex-editing the WTB file. It is possible that they reference files in the CEL directory by number.
- The BWD files define how the numbers in the WTB are mapped to the CEL files.
- Others? I don't know.
- Col.Kell
- House Steiner Archon
- Posts: 868
- Joined: Sat Sep 27, 2008 7:44 am
- Location: An Isolated Tennessee Valley.
Re: Export .OBJs back to .WTB?
Thanks for the info Skyfaller, I have noticed in a hex editor that some characters define lines, some define vercities, and others info on the XYZ grid (if there are ANY unconnected lines or vercities, the game will crash. I'm going to look at hex editings of WTBs on mechvm to see any changes done.)
Even if exporting to WTB cannot be done, I've still got new mods (to soon be posted in Screenshots) that you may find very interesting.
Even if exporting to WTB cannot be done, I've still got new mods (to soon be posted in Screenshots) that you may find very interesting.
MechWarrior 2: 31stCC
-
- House Steiner Private
- Posts: 40
- Joined: Fri Mar 21, 2008 11:09 pm
Re: Export .OBJs back to .WTB?
Very cool
I wonder how close i came to the models with the ones that i made.
I wonder how close i came to the models with the ones that i made.
- Skyfaller
- Clan 1st MechWarrior
- Posts: 1017
- Joined: Sat Apr 12, 2008 2:58 am
- Location: Germany
- Contact:
Re: Export .OBJs back to .WTB?
Kell, if you want to use Milkshape to model mechs, please go right ahead: these may turn out to be more useful than the MW2 mods *if* MechVM reaches the point where it can run a sim. I'd much rather work towards that goal than modding MW2. If you need any help with modeling, I can see if I can help.
Good starting projects for modeling would be mechs as the Dragonfly or Vulcan, which are not so complex. The real challenge after putting the polygons together is texturing.
Good starting projects for modeling would be mechs as the Dragonfly or Vulcan, which are not so complex. The real challenge after putting the polygons together is texturing.
- Col.Kell
- House Steiner Archon
- Posts: 868
- Joined: Sat Sep 27, 2008 7:44 am
- Location: An Isolated Tennessee Valley.
Re: Export .OBJs back to .WTB?
He,he.. I was just playing with that because I was bored, I never did plan to make any new mech chassis
But I agree with you when you say that this will be more important then modding (save maps:P), I would love to have new mech WTBs!
But I agree with you when you say that this will be more important then modding (save maps:P), I would love to have new mech WTBs!
MechWarrior 2: 31stCC
- Skyfaller
- Clan 1st MechWarrior
- Posts: 1017
- Joined: Sat Apr 12, 2008 2:58 am
- Location: Germany
- Contact:
Re: Export .OBJs back to .WTB?
Sorry Kell, but if I would make a converter that turns .OBJ's into .WTB's, I'll never get ahead with my sim project. I was talking about mechs for MechVM.
- Col.Kell
- House Steiner Archon
- Posts: 868
- Joined: Sat Sep 27, 2008 7:44 am
- Location: An Isolated Tennessee Valley.
Re: Export .OBJs back to .WTB?
MechWarrior 2: 31stCC
- Skyfaller
- Clan 1st MechWarrior
- Posts: 1017
- Joined: Sat Apr 12, 2008 2:58 am
- Location: Germany
- Contact:
Re: Export .OBJs back to .WTB?
Creating new WTB's would be real difficult. We would require to:
- Fully understand WTB's,
- Create fitting BWD files,
- Adding files would have to work,
- Texturing A: we need a UV editor to assign texture coordinates,
- Texturing B: that editor would have to be used for every vertex in the mesh, and for every polygon it occurs in (!),
- Texturing C: new textures would have to be converted into the MW2 format, including pallette selection & conversion,
- Solve the problems that have not even occurred to us yet.
- Skyfaller
- Clan 1st MechWarrior
- Posts: 1017
- Joined: Sat Apr 12, 2008 2:58 am
- Location: Germany
- Contact:
Re: Export .OBJs back to .WTB?
Sorry again, Kell, but if it were simple I would have done it yesterday. The list of things above might take a year or longer to do, and it does not even include rigging (animating) the mech. All that effort for creating a few new .WTB's while we can have new mechs in better quality using available tools? I really don't think it's worth it.