Page 1 of 1

Turret not recoginizing it's aimers [Solved]

Posted: Sun Feb 27, 2011 12:01 pm
by Darth_Spiderpig
Scratch what I posted before, got it working, but now the turret isn't moving around, it remains static while the hp_fire seems to follow the movement, here's the relevant error:
Hidden/Spoiler:
[code]Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\MountedTurret.cpp(1641)
Mounted turret "cis_bldg_dualturret TURRET1" node "aimer_y" not found

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Aimer.cpp(684)
Aimer "cis_bldg_dualturret TURRET1 WEAPON1" mount node "aimer_x" not found

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Aimer.cpp(711)
Aimer "cis_bldg_dualturret TURRET1 WEAPON1" barrel node "barrel1" not found

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Aimer.cpp(753)
Aimer "cis_bldg_dualturret TURRET1 WEAPON1" fire node "hp_fire1" is not a child of aimer node

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Aimer.cpp(711)
Aimer "cis_bldg_dualturret TURRET1 WEAPON1" barrel node "barrel2" not found

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Aimer.cpp(753)
Aimer "cis_bldg_dualturret TURRET1 WEAPON1" fire node "hp_fire2" is not a child of aimer node
[/code]

Here's it's hierarchy in XSI:
Hidden/Spoiler:
Image
I spent the whole day trying to get this to work, no success yet, so I am desperately seeking help. :)

Re: Turret not recoginizes it's aimers

Posted: Sun Feb 27, 2011 6:47 pm
by THEWULFMAN
I do not know why, But I have those same errors (different node names) on the stuntank you made for me. Even though I am useing the Same odf you sent me, and I had gotten it to work, then I changed a couple odf aimer values, the it stoped working. Changing them back had no effect. No idea what going on. :?

Re: Turret not recoginizes it's aimers

Posted: Sun Feb 27, 2011 7:02 pm
by Darth_Spiderpig
Hm, that indeed is a problem :s

Re: Turret not recoginizes it's aimers

Posted: Sun Feb 27, 2011 8:06 pm
by SAMofBIA
ive never really had luck with aimers, but are you sure that aimer_x should be under aimer_y?
and also, why is hp_active just sitting down there without connections to anything.

Re: Turret not recoginizes it's aimers

Posted: Sun Feb 27, 2011 8:23 pm
by Darth_Spiderpig
In every tut it is set up like this, and hp_active needs to be there, which is outside of the aimers, because else it would move and slide around when you use the turret.

Re: Turret not recoginizes it's aimers

Posted: Sun Feb 27, 2011 8:50 pm
by FragMe!
Do you have a .option file for your turret with something like this as it's contents

-keep aimer_y aimer_x barrel1 barrel2 hp_fire1 hp_fire2

If not create one and put that as it's contents. This prevents VM from merging it in with all the other model bits.

Re: Turret not recoginizes it's aimers

Posted: Mon Feb 28, 2011 12:48 am
by THEWULFMAN
FragMe! wrote:Do you have a .option file for your turret with something like this as it's contents

-keep aimer_y aimer_x barrel1 barrel2 hp_fire1 hp_fire2

If not create one and put that as it's contents. This prevents VM from merging it in with all the other model bits.

He always sends me a .option with those lines in it, so I assume he did for his turret. The tank model has the .option that was sent to me.

I will check mine
edit- contents

Code: Select all

-lodgroup bigmodel -nocollision -keep aimer_y aimer_x -scale 0.57
I added the scale line...

Re: Turret not recoginizes it's aimers

Posted: Mon Feb 28, 2011 4:12 am
by Darth_Spiderpig
@FragMe!: I used to have one, but it seems like I forgot to change it every time I changed it in xsi... I set it up like the autoturret with only one aimer (aimer_gun) since then I didn't change the contents of the msh.option...

Consider mine solved. Thanks! :D