BUG - Deployable wz.30 machinegun

Ask questions, discuss ideas, get answers
Post Reply
User avatar
TomPL
Posts: 12
Joined: Mon Feb 25, 2013 6:14 pm
Location: Poland - Malopolska

BUG - Deployable wz.30 machinegun

Post by TomPL »

Here you can see my bug with wz.30 left hand. Right is ok. Other objects.con changes are ok... This issue is showing when I'm trying to load STOCK wz.30 objects.con to our map...
Left hand should be on the knob near gunbase and rotating (like stock one) with all gun.

Image

Without loaded objects.con to map everything is okey... But I need some changes with shell output place or hands coordinates.
Changing this coorinates (in objects.con in "wz30") doesn't affect on left hand...
ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.04/-0.03/-0.07 0/80/90
ObjectTemplate.addSkeletonIK Bip01_L_Hand -0.05/0.10/0.03 0/-160/-20

Please help me with loading this machinegun to my map, because that's the only issue that we can't release 2 new maps. :o

Maybe someone had the same problem with importing some handweapons from mod to map :ugeek:
Last edited by TomPL on Tue Nov 29, 2016 6:44 pm, edited 2 times in total.
Diamondback
Posts: 589
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: BUG - Deployable wz.30 machinegun

Post by Diamondback »

I had the same problem with the R75 motorcycle from Secret Weapons... the player model would not grab the motorcycle forks properly when added mapside
See my Strasbourg map project here.
exe
Posts: 60
Joined: Wed Feb 08, 2012 10:04 pm

Re: BUG - Deployable wz.30 machinegun

Post by exe »

The fix for this can be found here: viewtopic.php?f=6&t=1249&p=8706#p8706
User avatar
TomPL
Posts: 12
Joined: Mon Feb 25, 2013 6:14 pm
Location: Poland - Malopolska

Re: BUG - Deployable wz.30 machinegun

Post by TomPL »

All thanks to Eye.ris! He found the similar topic (ahhh my stupidity in searching) and wrote to me:
I've found the fix for your wz30 problem :) Replace this

ObjectTemplate.addSkeletonIK Bip01_R_Hand 0.04/-0.03/-0.07 0/80/90
with this

ObjectTemplate.addTemplate Attach_R_Hand
ObjectTemplate.setPosition 0.04/-0.03/-0.07
ObjectTemplate.setRotation 0/80/90
and

ObjectTemplate.addSkeletonIK Bip01_L_Hand -0.05/0.10/0.03 0/-160/-20
with

ObjectTemplate.addTemplate Attach_L_Hand
ObjectTemplate.setPosition -0.05/0.10/0.03
ObjectTemplate.setRotation 0/-160/-20
I've found the solution here:

viewtopic.php?f=6&t=1249&p=8706#p8706
and finally it works...
Image
Diamondback
Posts: 589
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: BUG - Deployable wz.30 machinegun

Post by Diamondback »

Looks nice
See my Strasbourg map project here.
Post Reply