Jump to content

Is there a camera speed modifier in the code?


Recommended Posts

Hello from Germany,

 

my system is:

 

Intel Xeon W3680 6 Core

NVIDIA GK104GL Quadro K4200

12 GB RAM

 

I've the complete edition of GTA 4 and playing it on Windows 7. I'm in trouble, because I can't patch the game up to 1.0.5.0. and above. Every time I try to patch higher than 1.0.4.0. the game crashes. It seems to be something with my graphic card.

 

However, version 1.0.4.0. is nice too and I found a couple of additions for this version which make it possible to get K.I.T.T. and Airwolf full functional even with this patch version by some changes in the code. I'm coding my mods in VB using MS VB 2010 Express. I've experience in coding my Apps in VB6, so there are not much problems.

 

Now I'm trying to make a character view like in a shooter-game. I'm on my way but I have a question:

 

I use the camera object for the view and place it with the offset function of the character and correct it by rotation when the character is in a vehicle. But when the speed of the vehicle grows it looks like the camera would change the position to the back so that I've to correct it by changing the position of the camera to the front. It doesn't look good. The car, or helicopter interior is shaking very heavy and it isn't a pleasure. So I like to know whether there is a function to correct this feature of the camera by some mod.

 

Greetings,

Saphyroth

Link to comment
https://gtaforums.com/topic/983598-is-there-a-camera-speed-modifier-in-the-code/
Share on other sites

I made a testdrive with kitt to show you what happens.

 

Watch it on odysee if you like.

 

Link: https://odysee.com/GTA4_KITT_MODTEST_001:1

 

Details:

- ASI Loader 1.0.4.0 by Александp Корякин

- Net Script Hook 1.0.4.0 by Hazard

- EPM v1.4

  • 1 year later...
  • 3 months later...
YoSoyGodot

How often are you updating your camera ? I am doing a similar mod and I am using a loop with this function:

Wait((int)(1 / Game.FPS) * 1000);

If you want we can work together because I am doing a similar project.

Edited by YoSoyGodot

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.