Page 1 of 1

Need help with turret

Posted: Wed Jul 01, 2009 2:16 pm
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

Re: Need help with turret

Posted: Wed Jul 01, 2009 3:06 pm
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.

Re: Need help with turret

Posted: Wed Jul 01, 2009 3:11 pm
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)?

Re: Need help with turret

Posted: Wed Jul 01, 2009 5:00 pm
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

Re: Need help with turret

Posted: Wed Jul 01, 2009 5:34 pm
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?

Re: Need help with turret

Posted: Thu Jul 02, 2009 5:03 am
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)

Re: Need help with turret

Posted: Sun Jul 05, 2009 2:39 pm
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)

Re: Need help with turret

Posted: Sun Jul 05, 2009 7:46 pm
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.

Re: Need help with turret

Posted: Sun Jul 05, 2009 8:29 pm
by jango
ok thanks ill try that, but shouldnt x mean horizontal and y mean vertical?

Re: Need help with turret

Posted: Sun Jul 05, 2009 8:43 pm
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? :)

Re: Need help with turret

Posted: Sun Jul 05, 2009 9:16 pm
by jango
yes thanks, i always wondered what pitch and yaw were.