adjusting the x offset of chasecam script

Post a reply

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angel: :angry: :beer: :bfg: :chaingun: :cheers: :blergh:
View more smilies

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1.5 MiB.

Expand view Topic review: adjusting the x offset of chasecam script

Re: adjusting the x offset of chasecam script

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

have i put the ()?

Re: adjusting the x offset of chasecam script

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 :).

adjusting the x offset of chasecam script

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

Top