Headtracking and us_ahe_uh1nrockets - why not possible?

Discussion on Computer Hardware & Custom Builds
Post Reply
bluehawk112
Posts: 65
Joined: 2009-05-01 22:27

Headtracking and us_ahe_uh1nrockets - why not possible?

Post by bluehawk112 »

Hi guys

sorry to bother you,
would anyone of you have any idea why headtracking with BF2Freelook (together with Freetrack and a Wii Remote) is not possible for the us_ahe_uh1nrockets (armed huey)?
All other helicopters work fine....
I tried multiple times to use Freetrack&BF2Freelook with this type of helicopter - it simply does not work (the other helicopters do work without problems, same map, same game). No head tracking with the huey though... :-(
Any idea what might be different with this type of helicopter?
I checked the .tweak file in the objects (vehicle-) folder but everything looks normal compared to other helicopter .tweak files...

If you do not have any idea, do you know someone who might have a clue about this?
I am also a little bit experienced in modding (thanks to raw homicidal, modding tutorial) but I am clueless in this issue...
Best regards
Bluehawk112
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Headtracking and us_ahe_uh1nrockets - why not possible?

Post by LITOralis.nMd »

Hi BLuehawk, that is very interesting discovery you've made. I willl send this thread to the guy who tweaked the code for the attack Huey, and see if we can create an official bug report in the Testing forum for this.
Unfortunately, if it is a real bug, it will not be fixed publicly until the next official release,
We will get someone competent to look at it and fix it in time,.

Cheers.
bluehawk112
Posts: 65
Joined: 2009-05-01 22:27

Re: Headtracking and us_ahe_uh1nrockets - why not possible?

Post by bluehawk112 »

Excellent! Appreciate it very much! If I can fix it by myself-please let me know (I am still using PR 0957 for single player purposes, I tweaked it a lot....)
Best regards
Bluehawk



[R-COM]LITOralis.nMd wrote:Hi BLuehawk, that is very interesting discovery you've made. I willl send this thread to the guy who tweaked the code for the attack Huey, and see if we can create an official bug report in the Testing forum for this.
Unfortunately, if it is a real bug, it will not be fixed publicly until the next official release,
We will get someone competent to look at it and fix it in time,.

Cheers.
bluehawk112
Posts: 65
Joined: 2009-05-01 22:27

Re: Headtracking and us_ahe_uh1nrockets - why not possible?

Post by bluehawk112 »

Well, I did not want to wait and tried to solve the problem by myself then.
I tested the uh1d for headtracking and it worked.
So I opened the us_ahe_uh1nrockets.tweak file (in the object folder-vehicles.server) and I marked (and copied) the whole part that has to do with the multifiring component and definition of all rocket launchers etc. (the whole part is at one piece, I think it ends when the engine component starts as the next section...).
Then I opened the ger_the_uh1d.tweak file.
I paced it / implemented the copied part inbetween the weapon-HUD stuff here and the copilot stuff.
Still I had to copy and pace the 2 lines that announce the rocket launchers in the upper part of the tweak-file.

Then I deleted the whole FLARE-section of the ger_the_uh1d.tweak file.
Why did I do this?-→Because the FLARE-section had also a multifiring component, so I avoided a possible conflict.
(so I also had to additionally delete the 2 lines in the upper part of the tweak-file, that announce the FLARE launchers...)
I also deleted the whole part that is dealing with the POVs.

This was it.

Now I will go ahead and implement the ger__the_uh1d in any map (level) that I want and what I will hopefully get is a us_ahe_uh1nrockets with which I can fly, shoot - and let_s see, if I can do headtracking as well...
Last edited by bluehawk112 on 2012-08-15 15:07, edited 1 time in total.
Reason: problem still existed
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Headtracking and us_ahe_uh1nrockets - why not possible?

Post by LITOralis.nMd »

Very cool,
I will pass this info on to the guys responsible for implementing this, hopefully they can copy your code hints here to save themselves some time when working on a permanent fix.
bluehawk112
Posts: 65
Joined: 2009-05-01 22:27

Re: Headtracking and us_ahe_uh1nrockets - why not possible?

Post by bluehawk112 »

Still working on the problem...
Last edited by bluehawk112 on 2012-08-15 14:55, edited 1 time in total.
Reason: Problem still existed
bluehawk112
Posts: 65
Joined: 2009-05-01 22:27

Re: Headtracking and us_ahe_uh1nrockets - why not possible?

Post by bluehawk112 »

I am sure I found the root of all the headtracking problems:
It must be the rocket launchers of the us_ahe_uh1nrockets.
I succeeded in adding the launchers to the ger_the_uh1d (basically same type of helicopter) and then suddenly
headtracking did not work with this any longer.
Then I again deleted the launchers and replaced them by the miniguns of the us_ahe_ah6 - and suddenly headtracking was again possible in the German Huey.
So, my conclusion is: the problem must be located in the launchers of the us_ahe_uh1nrockets...
Last edited by bluehawk112 on 2012-08-15 14:54, edited 1 time in total.
Reason: Problem solved
Post Reply

Return to “Hardware”