Gun position issues, floats mysteriously

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
asleeponduty
Private First Class
Posts: 77
Joined: Tue Jul 22, 2008 3:05 pm
Games I'm Playing :: AaaaaAAaaaAAAaaAAAA
xbox live or psn: No gamertag set
Location: Illinois

Gun position issues, floats mysteriously

Post by asleeponduty »

I am having trouble with one of my units in my weapons/lua test map. The custom rocket launcher which I downloaded from some SWBF site is floating above his hand.
Is there any way I can get the gun repositioned (like in its ODF) without having to edit the gun and redo its hardpoints?

Thanks, It would help a lot considering I have no .msh or .vrml 2.0 editing software.
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: Gun position issues, floats mysteriously

Post by genaral_mitch »

Download the floating icon fix.
User avatar
asleeponduty
Private First Class
Posts: 77
Joined: Tue Jul 22, 2008 3:05 pm
Games I'm Playing :: AaaaaAAaaaAAAaaAAAA
xbox live or psn: No gamertag set
Location: Illinois

Re: Gun position issues, floats mysteriously

Post by asleeponduty »

The icon I fixed, its the actual gun that the guy is holding thats the problem
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Gun position issues, floats mysteriously

Post by Fiodis »

You may get some results by hex-editing, I think. There's a tutorial on using trans in msh files in the FAQ.
User avatar
Lozza
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Tue Jan 05, 2010 5:11 am
Games I'm Playing :: STALKER - TDU2
Location: Australia. Melbourne
Contact:

Re: Gun position issues, floats mysteriously

Post by Lozza »

Did you change the weapons odf?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Gun position issues, floats mysteriously

Post by DarthD.U.C.K. »

it has nothing to do with the odf, the rocketlauncher must have been placed not correctly in the msh. you should be able to fix that by hexediting either all the gunparts a bit down or the dummyroot up.
if you want to find out how to do it read this
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Gun position issues, floats mysteriously

Post by Fiodis »

Can you translate the dummyroot up? I thought it had to be centered at (0,0,0).
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Gun position issues, floats mysteriously

Post by DarthD.U.C.K. »

i suppose iver never tried by i dont know why it shouldnt work
User avatar
asleeponduty
Private First Class
Posts: 77
Joined: Tue Jul 22, 2008 3:05 pm
Games I'm Playing :: AaaaaAAaaaAAAaaAAAA
xbox live or psn: No gamertag set
Location: Illinois

Re: Gun position issues, floats mysteriously

Post by asleeponduty »

Lozza wrote:Did you change the weapons odf?
Yes, I took the award rocket launchers ODF and put the new gun as its new weapon mesh
Post Reply