Turret not recoginizing it's aimers [Solved]

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
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Turret not recoginizing it's aimers [Solved]

Post 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. :)
Last edited by Darth_Spiderpig on Mon Feb 28, 2011 4:14 am, edited 1 time in total.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Turret not recoginizes it's aimers

Post 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. :?
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: Turret not recoginizes it's aimers

Post by Darth_Spiderpig »

Hm, that indeed is a problem :s
User avatar
SAMofBIA
Major General
Major General
Posts: 649
Joined: Tue Jun 15, 2010 3:38 pm
Projects :: Nothing....nothing at all.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: MIA and not stopping in often anymore.

Re: Turret not recoginizes it's aimers

Post 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.
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: Turret not recoginizes it's aimers

Post 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.
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: Turret not recoginizes it's aimers

Post 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.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Turret not recoginizes it's aimers

Post 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...
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: Turret not recoginizes it's aimers

Post 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
Post Reply