Helmet rotation

Posted by Ilkayplaya 
Helmet rotation
Date: December 30, 2015 10:53AM
Posted by: Ilkayplaya
Hi GP4 community!
First of all it's great to see so many people still enjoying this fantastic game! I appreciate a lot the guys who participated in keeping this game up to date and making it a modern one!

Since I had lost all my updates a few years ago, there are still things that I want to get back, but I just don't remember how.

This shot was taken by Craigo, but it seems like he didn't log in for almost a year. So maybe any of you experts can help me: How do I implement the turning helmet? I remember that it has to do something with the gp4tweak.ini, but nothing more.

Edit: Ok, I found out that it has to be enabled via gp4tweak.ini and headviewmove. But within headviewmove, whatever I change, the only thing that moves is the cockpit cam, but the helmet rotation remains the same in onboard and trackcam perspective.




Would be great if someone could help me out!
Cheers and have a happy new year! :)
Ilkayplaya



Edited 4 time(s). Last edit at 12/30/2015 03:49PM by Ilkayplaya.
Re: Helmet rotation
Date: January 02, 2016 05:28PM
Posted by: Turbo Lover
Is your GP4.exe patched by gp4_exe_patch and could you post your headviewmove ini file?



My Grand Prix 4 Files

I'm a total dick. How many people can say that?
Re: Helmet rotation
Date: January 02, 2016 08:12PM
Posted by: Ilkayplaya
I think it's not, but I don't quite know to be honest. How do I look it up?

Headviewmove.ini is activated and looks like this:

; ============================================================================
; GP4 Tweaker
; Head View movement & Helmet moving configurations
; ============================================================================

[HEAD_VIEW_MOVEMENT]

VALUE01 = -5.0000 ; view movement: X-axis angle limit (pitch), in degree
VALUE02 = 45.0000 ; view movement: Y-axis angle limit (turn), in degree
VALUE03 = 10.0000 ; view movement: Z-axis angle limit (tilt), in degree
VALUE04 = 12.2070 ; view movement: X-axis sensitivity (pitch), in percent
VALUE05 = 12.2070 ; view movement: Y-axis sensitivity (turn), in percent
VALUE06 = 12.2070 ; view movement: Z-axis sensitivity (tilt), in percent
VALUE07 = 0.5 ; helmet moving: X-axis sensitivity (pitch), -10.0 to 10.0 (0=freeze, 1=default sensitivity)
VALUE08 = 2.5 ; helmet moving: Y-axis sensitivity (turn), -10.0 to 10.0 (0=freeze, 1=default sensitivity)
VALUE09 = 0.5 ; helmet moving: Z-axis sensitivity (tilt), -10.0 to 10.0 (0=freeze, 1=default sensitivity)
; ----------------------------------------------------------------------------
; end of config
; ----------------------------------------------------------------------------


and the only thing that moves is the cockpit in cockpit view...
Re: Helmet rotation
Date: January 02, 2016 11:36PM
Posted by: phantaman
(Y)

[HEAD_VIEW_MOVEMENT]
VALUE01 = -3.0000 ; view movement: X-axis angle limit (pitch), in degree
VALUE02 = 25.0000 ; view movement: Y-axis angle limit (turn), in degree
VALUE03 = 5.0000 ; view movement: Z-axis angle limit (tilt), in degree
VALUE04 = 92.2070 ; view movement: X-axis sensitivity (pitch), in percent
VALUE05 = 92.2070 ; view movement: Y-axis sensitivity (turn), in percent
VALUE06 = 92.2070 ; view movement: Z-axis sensitivity (tilt), in percent
VALUE07 = 0.5000 ; helmet moving: X-axis sensitivity (pitch), -10.0 to 10.0 (0=freeze, 1=default sensitivity)
VALUE08 = 3.0000 ; helmet moving: Y-axis sensitivity (turn), -10.0 to 10.0 (0=freeze, 1=default sensitivity)
VALUE09 = 0.5000 ; helmet moving: Z-axis sensitivity (tilt), -10.0 to 10.0 (0=freeze, 1=default sensitivity)

----signature--------------------------------------------------------

RELEASE => Physics (under FIA Technical Regulations)
MagicDatas? Setups? Pit Stop Strategies? Track Specific Performances? Up2Date GP?
Power Torque Curve? Where's this stuff? All download is available at ..
Re: Helmet rotation
Date: January 03, 2016 04:33PM
Posted by: Turbo Lover
Ilkayplaya Schreef:
-------------------------------------------------------
> I think it's not, but I don't quite know to be
> honest. How do I look it up?
>
> Headviewmove.ini is activated and looks like
> this:
>
> ;
> ==================================================
> ==========================
> ; GP4 Tweaker
> ; Head View movement & Helmet moving
> configurations
> ;
> ==================================================
> ==========================
>
>
>
> VALUE01 = -5.0000 ; view movement: X-axis angle
> limit (pitch), in degree
> VALUE02 = 45.0000 ; view movement: Y-axis angle
> limit (turn), in degree
> VALUE03 = 10.0000 ; view movement: Z-axis angle
> limit (tilt), in degree
> VALUE04 = 12.2070 ; view movement: X-axis
> sensitivity (pitch), in percent
> VALUE05 = 12.2070 ; view movement: Y-axis
> sensitivity (turn), in percent
> VALUE06 = 12.2070 ; view movement: Z-axis
> sensitivity (tilt), in percent
> VALUE07 = 0.5 ; helmet moving: X-axis sensitivity
> (pitch), -10.0 to 10.0 (0=freeze, 1=default
> sensitivity)
> VALUE08 = 2.5 ; helmet moving: Y-axis sensitivity
> (turn), -10.0 to 10.0 (0=freeze, 1=default
> sensitivity)
> VALUE09 = 0.5 ; helmet moving: Z-axis sensitivity
> (tilt), -10.0 to 10.0 (0=freeze, 1=default
> sensitivity)
> ;
> --------------------------------------------------
> --------------------------
> ; end of config
> ;
> --------------------------------------------------
> --------------------------
>
>
> and the only thing that moves is the cockpit in
> cockpit view...



Do first a proper install of GP4 Tweaker: [www66.zippyshare.com]



My Grand Prix 4 Files

I'm a total dick. How many people can say that?
Re: Helmet rotation
Date: January 03, 2016 05:54PM
Posted by: Ilkayplaya
Well, I did that now and it still is the same. First I thought that the cockpit movement is different, which would prove that it is working properly. But in fact nothing has changed. I even deleted headviewmove.ini to see if it makes a difference, but it doesn't! Still the same movements. So where does the game take the settings from if I can even delete headviewmove.ini without suffering from any changes?
Re: Helmet rotation
Date: January 03, 2016 06:02PM
Posted by: phantaman
u have to check the gp4tweaker .log if this tweak is being applied correctly.

example smoothly log:

02-01-2016 02:02 *** LOG STARTING ***
02-01-2016 02:02 [ ] Opening binfile [binfile->OpenFile()]
02-01-2016 02:02 [ ] Initialize binfile base path [binfile->InitBasePath()]
02-01-2016 02:02 [ ] Patching successfull [keyboard_manager->Hook()]
02-01-2016 02:02 [ ] Patching successfull [skymsg_manager->LocalFrame()]
02-01-2016 02:02 [ ] Patching successfull [skymsg_manager->GlobalFrame()]
02-01-2016 02:02 [ ] Patching successfull [loadsave_manager->LoadGame()]
02-01-2016 02:02 [ ] Patching successfull [loadsave_manager->SaveGame()]
02-01-2016 02:02 [ ] Patching successfull [loadsave_manager->SessionInit()]
02-01-2016 02:02 [ ] Patching successfull [loadsave_manager->RaceSessionInit()]
02-01-2016 02:02 [ ] Patching successfull [language_manager->ChangeLanguage()]
02-01-2016 02:02 [ ] Patching successfull [vdugraph->D3DInit()]
02-01-2016 02:02 [ ] Patching successfull [vdugraph->D3DSprite()]
02-01-2016 02:02 [ ] Patching successfull [vdugraph->D3DOverlay()]
02-01-2016 02:02 [ ] Patching successfull [vdugraph->D3DCleanup()]
02-01-2016 02:02 [ ] Load camera position data from binfile [camera_manager->ReadData()]
02-01-2016 02:02 [ ] Load head movement and camera angle from binfile [camera_manager->ReadData()]
02-01-2016 02:02 [ ] Load head movement joystick mapped button from binfile [camera_manager->ReadData()]
02-01-2016 02:02 [ ] Patching successfull [camera_manager->CameraPos()]
02-01-2016 02:02 [ ] Patching successfull [camera_manager->Projection()]
02-01-2016 02:02 [ ] Patching successfull [camera_manager->TurnLook()]
02-01-2016 02:02 [ ] Loading helmet/xsteer/arms from binfile [objects_manager->ReadData()]
02-01-2016 02:02 [ ] Loading cdash/csteer/cmesh/carms/crims from binfile [objects_manager->ReadData()]
02-01-2016 02:02 [ ] Patching successfull [objects_manager->CodePatch_Helmet()]
02-01-2016 02:02 [ ] Patching successfull [objects_manager->CodePatch_Steer()]
02-01-2016 02:02 [ ] Patching successfull [objects_manager->CodePatch_Arms()]
02-01-2016 02:02 [ ] Patching successfull [objects_manager->CodePatch_DashSteer()]
02-01-2016 02:02 [ ] Patching successfull [objects_manager->CodePatch_CollisionMesh()]
02-01-2016 02:02 [ ] Patching successfull [objects_manager->CodePatch_ArmsColor()]
02-01-2016 02:02 [ ] Patching successfull [objects_manager->CodePatch_RimsColor()]
02-01-2016 02:02 [ ] Done Collecting BinFile Data [qualrules_2003->LoadBinFile()]
02-01-2016 02:02 [ ] Load pitstop data from binfile [pitstop->ReadData()]
02-01-2016 02:02 [ ] Patching successfull [pitstop->WingsFix()]
02-01-2016 02:02 [ ] Patching successfull [pitstop->RefuelEngine()]
02-01-2016 02:02 [ ] Patching successfull [pitstop->FuelCoef()]
02-01-2016 02:02 [ ] Patching successfull [car_removal->SetMaxCar()]
02-01-2016 02:02 [ ] Patching successfull [car_removal->CarReorder()]
02-01-2016 02:02 [ ] Load rear light data from binfile [rearlight->ReadData()]
02-01-2016 02:02 [ ] Patching successfull [rearlight->RearLightBrake()]
02-01-2016 02:02 [ ] Patching successfull [rearlight->RearAmbientBrake()]
02-01-2016 02:02 [ ] Patching successfull [rearlight->RearAmbientPos()]
02-01-2016 02:02 [ ] Patching successfull [rearlight->RearAmbientNum()]
02-01-2016 02:02 [ ] Patching successfull [rearlight->RearAmbientLevel()]
02-01-2016 02:02 [ ] Patching successfull [rearlight->RearAmbientSize()]
02-01-2016 02:02 [ ] Load speed limit data from binfile [pit_limit->ReadData()]
02-01-2016 02:02 [ ] Load pit limiter key binding from binfile [pit_limit->ReadData()]
02-01-2016 02:02 [ ] Load pit limiter joystick button from binfile [pit_limit->ReadData()]
02-01-2016 02:02 [ ] Patching successfull [pit_limit->SpeedLimit()]
02-01-2016 02:02 [ ] Patching successfull [pit_limit->PitSlowdown()]
02-01-2016 02:02 [ ] Load visor and rain droplet states from binfile [visordroplet->ReadData()]
02-01-2016 02:02 [ ] Patching successfull [visordroplet->HelmetVisorInit()]
02-01-2016 02:02 [ ] Patching successfull [visordroplet->RainDropletInit()]
02-01-2016 02:02 [ ] Patching successfull [visordroplet->RainDropletBlurInit()]
02-01-2016 02:02 [ ] Patching successfull [visordroplet->RainDropletBlurFinal()]
02-01-2016 02:02 [ ] Patching successfull [slipstream->SlipFrontWing()]
02-01-2016 02:02 [ ] Patching successfull [slipstream->SlipRearWing()]
02-01-2016 02:02 [ ] Patching successfull [slipstream->SlipGripInit()]
02-01-2016 02:02 [ ] Patching successfull [slipstream->SlipGripFinal()]
02-01-2016 02:02 [ ] Patching successfull [slipstream->SlipNoAccel()]
02-01-2016 02:22 [ ] Closing binfile [binfile->CloseFile()]
02-01-2016 02:22 *** LOG FINISHED ***

----signature--------------------------------------------------------

RELEASE => Physics (under FIA Technical Regulations)
MagicDatas? Setups? Pit Stop Strategies? Track Specific Performances? Up2Date GP?
Power Torque Curve? Where's this stuff? All download is available at ..
Re: Helmet rotation
Date: January 03, 2016 06:13PM
Posted by: Ilkayplaya
Everything looks fine in there, except this:

Quote

03-01-2016 18:00 [!] Unable to Load Message PLAYER_TURN_WAIT [pQRULES::LoadMessage]
03-01-2016 18:00 [!] Unable to Load Message PLAYER_TURN_MSG [pQRULES::LoadMessage]
03-01-2016 18:00 [!] Unable to Load Message PLAYER_TURN_TIMEOUT [pQRULES::LoadMessage]
03-01-2016 18:00 [!] Unable to Load Message PLAYER_NO_TURN [pQRULES::LoadMessage]
03-01-2016 18:00 [!] Unable to Load Message DRIVER_DISQUALIFIED [pQRULES::LoadMessage]
03-01-2016 18:00 [!] Unable to Load Message NEXT_TURN_MSG [pQRULES::LoadMessage]
03-01-2016 18:00 [!] Unable to Load Message NEXT_TURN_DRIVER [pQRULES::LoadMessage]

You know what it stands for?
Re: Helmet rotation
Date: January 03, 2016 11:22PM
Posted by: AUS_Doug
I think that looks related to GP4 Tweaker's '2003 Qualifying Rules'

In GP4 Tweaker's 'msg.ini' there are various sections:

[QUALRULE:PLAYER_TURN_WAIT], [QUALRULE:PLAYER_TURN_WAIT] etc.

So I think what has happened is that GP4 Tweaker cannot find this 'msg.ini'



F1 Graphics Swapper --- Lensdump - Renders and Screenshots --- GP4 Performance Generator



Edited 1 time(s). Last edit at 01/04/2016 01:08AM by AUS_Doug.
Re: Helmet rotation
Date: January 05, 2016 04:19PM
Posted by: Ilkayplaya
Well, thanks for your advices, but there seems to be a bigger problem....
Is it possible for any of you to send me your settings and files? If so, please PM me. Thanks. :)



Edited 1 time(s). Last edit at 01/05/2016 04:20PM by Ilkayplaya.
Re: Helmet rotation
Date: January 06, 2016 12:51AM
Posted by: AUS_Doug
Here are all the Tweaker Data files, all of them unedited except for the headviewmove.ini which I changed to match phantaman's suggestions.

[www.dropbox.com]



F1 Graphics Swapper --- Lensdump - Renders and Screenshots --- GP4 Performance Generator
Re: Helmet rotation
Date: January 07, 2016 12:58PM
Posted by: Ilkayplaya
Thanks for that! :) Unfortunately it isn't working still, could you upload gp4tweak.ini and whatever else is needed to make it complete aswell?

Could it be a problem with the path? gp4tweak.ini is in my GP4 main directory, then I have a folder called "GP4Tweaker", in it the "gp4tweak_data" folder and this contains all the .ini, like headviewmove.ini.
The path to headviewmove in gp4tweak.ini is: gp4tweak_data\headviewmove.ini - which is not working. I changed it to GP4Tweaker\gp4tweak_data\headviewmove.ini - which isn't working neither...
Do I need to link it differently?



Edited 1 time(s). Last edit at 01/07/2016 01:04PM by Ilkayplaya.
Re: Helmet rotation
Date: January 07, 2016 01:22PM
Posted by: Turbo Lover
Could you uninstall GP4Tweaker. This program:



Afterwards install the version of GP4 Tweaker from my link.



My Grand Prix 4 Files

I'm a total dick. How many people can say that?
Re: Helmet rotation
Date: January 07, 2016 01:40PM
Posted by: Ilkayplaya
I know what the Tweaker is, thanks ;) But I did that already! I thought maybe the installation path of the Tweaker is wrong, so I installed it somewhere else again, but nothing changed.

The thing that bothers me is that the cockpit movement works and it is placed in the same .ini as the helmet movement which doesn't work....
Re: Helmet rotation
Date: January 07, 2016 01:59PM
Posted by: Turbo Lover
I could take a look on your pc with teamviewer if possible.



My Grand Prix 4 Files

I'm a total dick. How many people can say that?
Re: Helmet rotation
Date: January 07, 2016 09:51PM
Posted by: phantaman
take a look at the topic (link below) especially the last post. (Y)

=> [www.grandprixgames.org]

----signature--------------------------------------------------------

RELEASE => Physics (under FIA Technical Regulations)
MagicDatas? Setups? Pit Stop Strategies? Track Specific Performances? Up2Date GP?
Power Torque Curve? Where's this stuff? All download is available at ..
Re: Helmet rotation
Date: January 08, 2016 02:15AM
Posted by: AUS_Doug
Ilkayplaya Wrote:
-------------------------------------------------------
> The thing that bothers me is that the cockpit
> movement works and it is placed in the same .ini
> as the helmet movement which doesn't work....

In that case, I think I know the issue.

Here are the first 20 or so lines of my gp4tweak.ini, with the Helmet Movement working:

; ============================================================================
; GP4 Tweaker
; Core engine system configurations
; ============================================================================


; Notes:
; Here you can enable and disable specific tweaks

[SYSTEM_TWEAKS_ENABLE]
HeadViewMove    = 1  ; set to 1 to enable head view movement tweak
HelmetMoving    = 1  ; set to 1 to enable helmet moving sensitivity tweak
OnboardCamera   = 1  ; set to 1 to enable onboard camera position tweak
OnboardCamEdit  = 0  ; set to 1 to enable onboard camera position edit mode
ViewAngleCam    = 1  ; set to 1 to enable onboard camera view angle tweak
ViewAngleEdit   = 0  ; set to 1 to enable onboard camera view angle edit mode
HelmetPos       = 1  ; set to 1 to enable helmet position tweak
HelmetPosEdit   = 0  ; set to 1 to enable helmet position edit mode
SteerPos        = 1  ; set to 1 to enable external steer position tweak
SteerPosEdit    = 0  ; set to 1 to enable external steer position edit mode

That 'HelmetMoving' line is the one that I think might be your issue.
As you can see, it's control is separate from the 'In-cockpit' camera movement.



F1 Graphics Swapper --- Lensdump - Renders and Screenshots --- GP4 Performance Generator
Re: Helmet rotation
Date: November 13, 2020 07:18PM
Posted by: SkaaningeN
Im gonna bump this thread

This is something I've been looking to solve for a long time, but never managed to. After reading this thread, I noticed that my .ini file did not contain value 7,8,9.
The .ini files is not in my GP4 game folder, it's in the folder I installed GP4Tweaker in. Should there be an .ini file that's called "headviewmove.ini"?
I don't remember if I patched GP4 since I've only copied the install from PC to PC. I've tried reinstalling GP4Tweaker without succes, however tyrepositions work as always


-------------------------------------------------
Ice Hockey is my Religion!
Re: Helmet rotation
Date: November 13, 2020 07:27PM
Posted by: Excalibur
SkaaningeN écrivait:
-------------------------------------------------------
> Im gonna bump this thread
>
> This is something I've been looking to solve for a
> long time, but never managed to. After reading
> this thread, I noticed that my .ini file did not
> contain value 7,8,9.
> The .ini files is not in my GP4 game folder, it's
> in the folder I installed GP4Tweaker in. Should
> there be an .ini file that's called
> "headviewmove.ini"?
> I don't remember if I patched GP4 since I've only
> copied the install from PC to PC. I've tried
> reinstalling GP4Tweaker without succes, however
> tyrepositions work as always

Hi Eric!

If your tyrepositions work with specifics positions for each car, it means that gp4.exe is patched succefully with gp4tweaker.
I have got a headviewmove.ini file into my gp4tweak_data folder . I did not modify it but helmet movements works well when it is enabled.
Here is what you should got by default into the .ini file:
; ============================================================================
; GP4 Tweaker
; Head View movement & Helmet moving configurations
; ============================================================================

[HEAD_VIEW_MOVEMENT]
VALUE01         = -5.0000  ; view movement: X-axis angle limit (pitch), in degree
VALUE02         = 45.0000  ; view movement: Y-axis angle limit (turn), in degree
VALUE03         = 10.0000  ; view movement: Z-axis angle limit (tilt), in degree
VALUE04         = 12.2070  ; view movement: X-axis sensitivity (pitch), in percent
VALUE05         = 12.2070  ; view movement: Y-axis sensitivity (turn), in percent
VALUE06         = 12.2070  ; view movement: Z-axis sensitivity (tilt), in percent
VALUE07         =  1.0000  ; helmet moving: X-axis sensitivity (pitch), -10.0 to 10.0 (0=freeze, 1=default sensitivity)
VALUE08         =  1.0000  ; helmet moving: Y-axis sensitivity (turn), -10.0 to 10.0 (0=freeze, 1=default sensitivity)
VALUE09         =  1.0000  ; helmet moving: Z-axis sensitivity (tilt), -10.0 to 10.0 (0=freeze, 1=default sensitivity)

; ----------------------------------------------------------------------------
; end of config
; ----------------------------------------------------------------------------


____________________________________________________________________________________________________________________________________________

Re: Helmet rotation
Date: November 13, 2020 09:57PM
Posted by: SkaaningeN
Okay, that headviewmove.ini does not exist in my GP4 folder, or anywhere else if I don't create on from a saved tweak.

In my GP4Tweaker (1.0.4.5) I only have two options with head movement, head rotation limit factor and head sensitivity factor. When I save a tweak, this creates
values 1-6 in the .ini file but I can't create values 7-9 without writing them myself, which does not work. So the option to change helmet movement is not there.

I must be missing something, the text you wrote, I can't find it anywhere. Are there a newer version of GP4Tweaker that Im missing? Does it conflict with TeamEditor?

*EDIT* Just noted that my game is not patched with 9.6 patch, maybe this could be a factor?


-------------------------------------------------
Ice Hockey is my Religion!



Edited 1 time(s). Last edit at 11/13/2020 10:07PM by SkaaningeN.
Sorry, only registered users may post in this forum.

Click here to login

Maintainer: mortal, stephan | Design: stephan, Lo2k | Moderatoren: mortal, TomMK, Noog, stephan | Downloads: Lo2k | Supported by: Atlassian Experts Berlin | Forum Rules | Policy