Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exporting v_shotgun.blend to v_shotgun.md3 properly

#1
Creating weapons in Xonotic seems to go as follows:
- You need g_*.md3 which is the pickup/ground model. (not interested
in this right now)
- You need v_*.md3 for third person and view model. (very interested
in this)
- You need h_*.iqm for an invisible handle to position the v_*.md3
model.

I wanted to try to and do this for the shotgun so I downloaded v_shotgun.blend, exported it to .md3 and recompiled the game. Unfortunately, this gives a weird shotgun (see image).

I did the following: v_shotgun.blend is exported to .md3 using Blender v2.72 with the addon md3-2.63a_export (they seem compatible as the model exports to .md3). After recompiling the game, the shotgun shows
up but the weapon model looks way too big.

I left the h_shotgun.iqm as is (want to figure out exporting to .md3 first before getting into .iqm)

How do I properly export the v_shotgun.blend to v_shotgun.md3 with it showing up properly? The .md3 exporter has the following options:
- Manual scale
- Offset X:
- Offset Y:
- Offset Z:

Is the trick to change the manual scale? I tried scaling it down but that didn't work either.

I've read every thread I could find and also when through the wiki on Weapon systems in Xonotic but I can't get the v_shotgun.blend to export nicely to .md3 and show up in the game.

Please help :*(


Attached Files
.tga   xonotic20151003154006-00.tga (Size: 1.37 MB / Downloads: 17)
Reply

#2
There are 3 weapon systems in xonotic, I always use one with first person model in h_.dpm ( I can't create working iqm model from smds exporterd from 3ds max ). Your screenshot shows my usual first result of exporting new model. I don't understand why, I usually open file with old weapon and just replace mesh with new one but it often ends up like that Smile
If you try to use 3ds max with xonotic engine, first you have to downgrade to old, buggy version which only supports valves old model format smd. Then you are using standalone converter to dpm, iqm or md3. In these standalone converters there is offset option in config file, similar to your exporter.
My advice will help only if you are going with weapon in h_.iqm. In weapon system of your choice your changes to first person view model will also affect third person one.
First you need to figure out how each axis correspond to engine axis. It's often different than 3d modeling apps and each engine use different axis system. So export weapon with large positive value in X offset, see how it works ingame, export with only Y offset, check, and repeat for Z. For me this process usually takes around 30 minutes, because I have to export to smd, use third party converter, copy files to xonotic and then reload whole game each time I want to see my changes. Once you figure this out, you need to move your weapon to bottom right corner. You don't need to scale it down, just moving your weapon forward will make it look smaller. It's just a process of tweaking offsets, exporting, and seeing your changes ingame, compare it with other weapons so it's in similar position. This part will take several hours. To compare it with unity3d or unreal4 engine, they all support fbx model format, that is supported by every 3d modeling app, your changes are visible instantly ingame without need to reload anything and whole process takes around 10 minutes. Good luck with your exports Smile
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [NEED HELP] Texture problems in MD3 exported models (Quake 3) xLuca91x 9 7,691 03-31-2020, 03:13 PM
Last Post: xLuca91x
  [NEED HELP] with exporting md3.(solved) DarkFox 8 4,071 03-23-2020, 06:40 PM
Last Post: DarkFox
  Custom shaders not working properly exidl 11 9,240 08-08-2012, 08:50 PM
Last Post: hutty
  HELP!! Player Model Homer md3 mostly working merlwiz79 5 8,159 08-15-2011, 07:10 AM
Last Post: merlwiz79
Information .md3 exporter for 3ds max 2010 ??? BARTUC 0 3,452 03-10-2011, 09:21 AM
Last Post: BARTUC
  Blender - Any GOOD md3 exporters for 2.55? Minkovsky 3 6,427 02-11-2011, 04:26 PM
Last Post: nowego4
  Exporting playermodels? FruitieX 1 3,284 11-01-2010, 12:58 PM
Last Post: DiaboliK

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-