adjusting the x offset of chasecam script

Need help with your project? Ask here.
mathey bu
the decorater screenshoooooooter
Posts: 46
Joined: Tue Aug 25, 2009 21:49

adjusting the x offset of chasecam script

Post by mathey bu » Fri May 14, 2010 3:04

this script make a chasecam view
Spoiler:
ok, but the problem is that i dont wanna view the center of player i want something like this:

Spoiler:
how can i change the x offset and make the chasecam works normally, i want only to put the x = -45

User avatar
Firebrand
Korax Team Member
Dev Builds Team
Posts: 126
Joined: Mon Aug 10, 2009 21:00
Location: Mexico
Contact:

Re: adjusting the x offset of chasecam script

Post by Firebrand » Fri May 14, 2010 13:27

You can add values to these lines:

Code: Select all

int x = GetActorX (0) - 0.5;
int y = GetActorY (0);
Something like this:

Code: Select all

int x = (GetActorX (0) - 0.5) - 45;
int y = GetActorY (0) - 45;
Obviously a bit of trial and error might be needed until you get the values that you want, hope this helps you out :).
I'm the ruler of the Fire Power.....

mathey bu
the decorater screenshoooooooter
Posts: 46
Joined: Tue Aug 25, 2009 21:49

Re: adjusting the x offset of chasecam script

Post by mathey bu » Tue May 18, 2010 19:20

have i put the ()?

Post Reply

Return to “Editing Help”