[SOLVED] BUG - Deployable wz.30 machinegun

Ask questions, discuss ideas, get answers

BUG - Deployable wz.30 machinegun

Postby TomPL » Tue Nov 22, 2016 8:14 pm

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.
User avatar
TomPL
 
Posts: 11
Joined: Mon Feb 25, 2013 6:14 pm
Location: Poland - Malopolska

Re: BUG - Deployable wz.30 machinegun

Postby Classical Modder » Wed Nov 23, 2016 11:59 pm

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
{SoH} Clan Leader // http://sohclan.forumotion.com/
See my Strasbourg map project here.
GSC: diamondback67
Steam: diamondback67
Classical Modder
 
Posts: 352
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada

Re: BUG - Deployable wz.30 machinegun

Postby exe » Mon Nov 28, 2016 9:06 pm

The fix for this can be found here: viewtopic.php?f=6&t=1249&p=8706#p8706
exe
 
Posts: 60
Joined: Wed Feb 08, 2012 10:04 pm

Re: BUG - Deployable wz.30 machinegun

Postby TomPL » Tue Nov 29, 2016 6:41 pm

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:

http://www.bfmods.com/viewtopic.php?f=6 ... 8706#p8706


and finally it works...
Image
User avatar
TomPL
 
Posts: 11
Joined: Mon Feb 25, 2013 6:14 pm
Location: Poland - Malopolska

Re: BUG - Deployable wz.30 machinegun

Postby Classical Modder » Wed Nov 30, 2016 3:16 am

Looks nice
{SoH} Clan Leader // http://sohclan.forumotion.com/
See my Strasbourg map project here.
GSC: diamondback67
Steam: diamondback67
Classical Modder
 
Posts: 352
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada


Return to 1942 Modding Discussion

Who is online

Users browsing this forum: Baidu [Spider] and 8 guests

cron