Need help with turret

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
User avatar
jango
Command Sergeant Major
Command Sergeant Major
Posts: 272
Joined: Mon Jan 19, 2009 8:05 pm
Projects :: too many
Games I'm Playing :: Black Ops
Location: A galaxy far far away...

Need help with turret

Post by jango »

Im making a gun turret similiar to the common ground turret but double barrel. i put the 2 hp_fire nulls at barrel but it shoots only once and at the wrong spot. (yes i did 2 salvo count) also the turret doesnt rotate (yes i put the aimer_x and aimer_y) bfront munge log said
Hidden/Spoiler:
Opened logfile BFront.log 2009-07-01 1422

Message Severity: 3
D:\src\FRONTLINE_PC\FrontLine\Source\MountedTurret.cpp(1186)
Mounted turret "bldg_doublegunturret TURRET1" node "aimer_y" not found

Message Severity: 3
D:\src\FRONTLINE_PC\FrontLine\Source\Aimer.cpp(719)
Aimer "bldg_doublegunturret TURRET1 WEAPON1" mount node "aimer_x" not found

Message Severity: 3
D:\src\FRONTLINE_PC\FrontLine\Source\Aimer.cpp(746)
Aimer "bldg_doublegunturret TURRET1 WEAPON1" barrel node "barrel1" not found

Message Severity: 3
D:\src\FRONTLINE_PC\FrontLine\Source\Aimer.cpp(788)
Aimer "bldg_doublegunturret TURRET1 WEAPON1" fire node "hp_fire01" is not a child of aimer node

Message Severity: 3
D:\src\FRONTLINE_PC\FrontLine\Source\Aimer.cpp(746)
Aimer "bldg_doublegunturret TURRET1 WEAPON1" barrel node "barrel2" not found

Message Severity: 3
D:\src\FRONTLINE_PC\FrontLine\Source\Aimer.cpp(788)
Aimer "bldg_doublegunturret TURRET1 WEAPON1" fire node "hp_fire02" is not a child of aimer node
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Need help with turret

Post by FragMe! »

Did you have a look at this? Turret Tutorial

As for using two barrels, you need to have next aimer lines in there. Have a look at any existing 2 barreled odf for an example. You also need the .option file mentioned in the tutorial that is why you are getting the error and it is not firing from the right place.
User avatar
jango
Command Sergeant Major
Command Sergeant Major
Posts: 272
Joined: Mon Jan 19, 2009 8:05 pm
Projects :: too many
Games I'm Playing :: Black Ops
Location: A galaxy far far away...

Re: Need help with turret

Post by jango »

yes i have that line in my odf. how do i mae an option file? do i have to have the nulls as parents or childs of a certain thing (other than dummyroot)?
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Need help with turret

Post by FragMe! »

Depends on how you are doing the turret, both ways are described.
As for a .option file any text editor works. It's name just has to be nameofyourmsh.msh.option
User avatar
jango
Command Sergeant Major
Command Sergeant Major
Posts: 272
Joined: Mon Jan 19, 2009 8:05 pm
Projects :: too many
Games I'm Playing :: Black Ops
Location: A galaxy far far away...

Re: Need help with turret

Post by jango »

im doing it without merging the objects. i made an otpion file but nothing changed. In the tut i saw something about the hp_fire and other nulls had to be parents or childs of certain things. Can someone give me another example or some kind of help with that?
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: Need help with turret

Post by DarthD.U.C.K. »

maybe you should follow the tutorial??? :x
(tutorials allways work and nearly nobody will write another tutorial for you because you cant understand it)
User avatar
jango
Command Sergeant Major
Command Sergeant Major
Posts: 272
Joined: Mon Jan 19, 2009 8:05 pm
Projects :: too many
Games I'm Playing :: Black Ops
Location: A galaxy far far away...

Re: Need help with turret

Post by jango »

here is picture of it (yes that texture sucks and yes its a basic turret but i just want to be able to make working turrets and im a modeling noob :) Does the modexplorer look right?
Hidden/Spoiler:
Image
EDIT
the previous post by me seems to be going unnoticed so could someone please tell me if i have the turret set up right? (sorry for double post)
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Need help with turret

Post by FragMe! »

Normally aimerX (up and down of the barrels) is a child of aimerY (rotate).
Your barrels would go under aimerX, your turning bits, I assume the cylinder, would go under aimerY. Everything that is not suppose to turn or tilt goes under the dummyroot.

You still also need the .option file that I mentioned earlier.
User avatar
jango
Command Sergeant Major
Command Sergeant Major
Posts: 272
Joined: Mon Jan 19, 2009 8:05 pm
Projects :: too many
Games I'm Playing :: Black Ops
Location: A galaxy far far away...

Re: Need help with turret

Post by jango »

ok thanks ill try that, but shouldnt x mean horizontal and y mean vertical?
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Need help with turret

Post by AceMastermind »

jango wrote:...but shouldnt x mean horizontal and y mean vertical?
When dealing with aimers you are talking about the rotations, the X axis goes left to right but when you rotate around the X axis you are moving up and down(pitch), the Y axis runs up and down but when you rotate around the Y axis you are moving left and right(yaw)...get it? :)
User avatar
jango
Command Sergeant Major
Command Sergeant Major
Posts: 272
Joined: Mon Jan 19, 2009 8:05 pm
Projects :: too many
Games I'm Playing :: Black Ops
Location: A galaxy far far away...

Re: Need help with turret

Post by jango »

yes thanks, i always wondered what pitch and yaw were.
Post Reply