Hint about exporting 1st person weapon animations


(DJ_Art) #1

Yesterday I found this little thing:

When you export v_WEAPON_hand.md3 using Tical’s exporter (the one packed with Pants’ guide), you get a dialogue asking you for the frame range you want to export.

Ok, let’s say you have 66 frames, like the original thompson, going from 0 to 66.

In order to export correctly and actually use the same frame numbers, you need to export the frames from 1 to 67.

If you export from 0 to 66, then you get 1 frame less and 1 frame difference: For example, if you made an animation starting on frame 50, then you’ll need to set it as frame 51 in weapon.cfg.

And so on, if you have x frames, you need to export from frame 1 to frame (x+1). And only then can you work with frames 0 to x inside weapon.cfg.

So, Pants :slight_smile: Feel free to include this inside your guide if you think it’s useful.


(pants) #2

interesting. i’ve not replaced any of the default weapons so i’ve never run into this. If you’re doing all custom stuff in custom paths, then you needn’t worry about it. If i update that guide, i will indeed put this in there tho. Thanks for the feedback.

/me needs an emoticon…
:skull: