First, if you don't already have it, download the hex editor in the download / software category on the 3rdage.
When you have it, open your model in xvi32 and search for BOUNDINGBOX The first one is the one your looking for, not the last. After it you'll have a couple of cases with zeros (those cases are bytes in case you didn't know). Then you should have 3 non-zero bytes, then another null byte (00 byte). The next 24 bytes are the ones you need to copy from an existing model of the same size as yours.
Keep in mind that every time you edit a model in Renx, the Boundingbox is halve on export, so you might want to correct those models afterwards with the method above.
If you wanna do even more by hex editing the models, also open your model in wdump (can be found in your RenegadePublicTools folder which I assume you have since you're editing models
) This tool can help you figure out what the numbers mean in xvi32 and what to change. The decode number utilities in the Tools menu of xvi32 can also be helpful.
For instance here's what I've been able to do by hex editing:
-Change Forged Blade Colors
-Fix horse binding by exactly copying EA's binding for them
-Fix the Stable bug
-Figure out which bone of a building should be bound to which part
-Add back the fire effect on my custom wildmen axethrowers' torch (I know it's not even used, but I did it anyway)
-Have a perfectly bounded eagle-riding Radagast
-and much more is possible!
What's great about the w3d file format is that there is no CRC and no reference of the location of objects parts in the file, so you can edit a lot without headaches. Keep in mind though, that the objects must be correctly referenced in the index (at the end of the file) and in the right order. The index is not hard to figure out, but it's much easier to simply add the object in Renx, auto-bind, export, and then replace it by copying another similar one in xvi32 without having to edit the index.
If you want to learn more about w3d file format, look at the import script you added for your Renx.
Also, if you want tips or you got questions, add me to your msn (since you already have my email), but please don't share my email with anyone (they can pm me to ask it).
Have fun hex editing!
Crashdoc
Edited by Crashdoc, 18 August 2007 - 12:52 AM.