Page 1 of 1

BUG - Deployable wz.30 machinegun

Posted: Tue Nov 22, 2016 8:14 pm
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:

Re: BUG - Deployable wz.30 machinegun

Posted: Wed Nov 23, 2016 11:59 pm
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

Re: BUG - Deployable wz.30 machinegun

Posted: Mon Nov 28, 2016 9:06 pm
by exe
The fix for this can be found here: viewtopic.php?f=6&t=1249&p=8706#p8706

Re: BUG - Deployable wz.30 machinegun

Posted: Tue Nov 29, 2016 6:41 pm
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

Re: BUG - Deployable wz.30 machinegun

Posted: Wed Nov 30, 2016 3:16 am
by Diamondback
Looks nice