This mod intends to add various weapons from all around the globe to Misery mod, weapons of every stalker's dream. Suggestions, Feedbacks and points of view are very welcomed ! Have fun with these new toys !

Forum Thread
  Posts  
Porting weapons/animations to Dead Air (Games : S.T.A.L.K.E.R.: Call of Pripyat : Mods : The Armed Zone : Forum : questions : Porting weapons/animations to Dead Air) Locked
Thread Options
Feb 12 2020 Anchor

Having an issue with the Vz 58. When I try to equip it, the game crashes.

The log file gives no specific error - it just says this towards the end:

stack trace:

0023:77085EF8 KERNELBASE.dll, RaiseException()
0023:640B9339 MSVCR120.dll, CxxThrowException()
0023:654C3A3A MSVCP120.dll, std::_Xout_of_range()
0023:00434250 xrEngine.exe, motions_value::load()
0023:0043490C xrEngine.exe, motions_container::dock()
0023:00434EE0 xrEngine.exe, shared_motions::create()
0023:04E18A2F xrRender_R2.dll

Any idea what the issue is?

Edited by: techniquepg2

Feb 20 2020 Anchor

Sorry I didn't see this thread, I've answered you in the PM. I'll quote myself here so anyone wanting to port guns from TAZ gets a better idea on how to port their animations.

You need to port the hand animations from wpn_hand_ak74u_hud_animation.omf, and that's for any gun that uses new animations. VZ58 uses lancew's aks74 animations which are stored in "wpn_hand_hpsa_hud_animation.omf", you need to port this as well. P38 uses lancew's Colt1911 animations, they're also stored in the HPSA file. By porting these two hand files you will get any gun from TAZ to work in your mod, but some of your non-TAZ weapons in your mod may fail to work, meaning you'll need to either replace them with those of TAZ or figure how to restore their animation files.

Feb 22 2020 Anchor

After copying over the "wpn_hand_hpsa_hud_animation.omf" file there were only a few casualties - the Browning HP and the SIG P220, which both crashed the game when trying to equip. Replacing the Dead Air versions of these guns with the TAZ versions managed to fix this thankfully.

The other problem is the UMP45, the animations of which are now messed up. I could probably just replace it with the TAZ version, but I'm just curious as to how I might go about restoring it's animations. Would I be able to put the Dead Air hand animations for the gun into a different file and then point the mesh file to that new file? Or is it more complicated?

Feb 22 2020 Anchor

I can't tell for sure what's the origin of DA's animations for the UMP, so trying to restore it is not easy. I still suggest you replace the UMP with that of TAZ, but if you want to keep your than you need to extract the needed hand animations from whatever host file that has them, than import them into one of the new files from TAZ. It's a bit complicated trick but it'll get it working.

Feb 22 2020 Anchor

The problem with simply replacing the UMP is that because of the way the scope addons work in Dead Air, it will cause crashes in existing save games. Thus, I would rather avoid replacing the weapon completely if I can avoid it.

How do I extract hand animations? Do I need to convert the .omf file to a different format first?

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.