6748296f57836

6748296f591c6
1 Guest is here.
 

Topic: How to convert wrench_h mesh to game. Read 1400 times  

6748296f595f0fascinate4

6748296f5965b
Hi again. I decided to try yourself to make my own replacement of wrench. I already replaced wrench in 3d program and rigged it, but i don't know how to convert 
it to the game. I should use "3ds to bin", and then i should use "meshbld" to get .cal file, right?

6748296f5999aRocketMan

6748296f599f0
Using the 3dstobin front end in mesh mode will produce the .bin and .cal files automatically.  You just have to ensure you rigged the model correctly and then place the files in the correct override folder in the game

6748296f59aa4fascinate4

6748296f59afb
Well, looks like I did something wrong, cause when I click "Go" then prog tell me that "This file doesn't appear to be a mesh", if I click no then meshBLD crashes.

6748296f59bb1RocketMan

6748296f59bfa
You have to have all the original limit planes and vhots from the wrench mesh.  Since SS2 doesn't have that source material available, you have to use the thief garett sword .e file.  Then delete the arm and sword, leave the rest, and put your mesh in its place.

6748296f59cffvoodoo47

6748296f59d48
Olfred did the candy wrench for the xmas mod so he would probably know (the least painful way around melee weapon meshes).
6748296f59f9c
What RocketMan said.

I could provide a 3ds or blend file with limit planes, if needed.
Sometimes the generated .cal files lead to a wonky behaviour so I sticked with the original one.

6748296f5a27aRocketMan

6748296f5a2ca
Sometimes the generated .cal files lead to a wonky behaviour so I sticked with the original one.

Interesting... it never occurred to me to try that but it would be more reliable than making a new one that you aren't sure will work.  I'll try that next time.


Fascinate:

Whether you get a 3ds file from Olfred or the .e file from the thief CD, you have to load (or convert from .e to 3ds and load) the file in your 3d editor, delete the original thief mesh only, leave the limit planes and there should be 1 box at the end of the sword.  Leave that too.  Import your own mesh and position it exactly like the arm and sword were (as close as possible).  Then move the little box (the vhot) to the tip of your new weapon as this is used for collision detection and sets the range of your melee weapon.  Save as .3ds, go into the 3dstobin front end.  Load your 3ds file and pick mesh mode.  Pick your texture filtering options and hit go.  It should work.  If you get an error at this point it is more than likely due to the mesh itself (too many polygons or some sort of mesh error such as concavity or a vert not welded).  Then you can either use the generated .bin and  .cal or keep the original .cal as Olfred suggested.  Put the files in the appropriate override folder labelled mesh (for the .bin/.cal) and mesh/txt16 (for the textures). 

6748296f5a365fascinate4

6748296f5a3ae
Olfred, can you send me this example with limit planes in 3ds?
6748296f5a494
Here is the 3ds.
You can delete the "Arm" and "Weapon" Mesh.
[cane melee.3ds expired]

6748296f5a57dfascinate4

6748296f5a5ca
Hell yeah! It's working! Thank you, guys, I love you :DD



6748296f5a67dvoodoo47

6748296f5a6c7
hmm, you could model just the hand with a vhot and then attach the bottle via NVscript. would allow for easy swaps with vodka and bubbly bottle.

6748296f5a76bRocketMan

6748296f5a7b4
Is there a way to do that so that the Vhot is always at the far end (bottom) of the model?  If the vhot is always at the end of the hand, the weapon won't hit enemies properly.
6748296f5a88c
Even on the vanilla models it isn't at the end.
1 Guest is here.
When the beacon breaks, what then? You ask and they don't know.
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
6748296f5d8f1