Changing Camera Angle

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Changing Camera Angle

Post by Lorul1 »

hello world.
my goal is to change the third person camera angle to look something like this
Hidden/Spoiler:
Image
thanks in advanced
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Changing Camera Angle

Post by MileHighGuy »

the camera values are in com_inf_default. change them there or copy them into your soldier to change for that soldier.
// Think of camera as fixed on one end of long stick balanced on a cone
//-- on one end is camera, other end is focal point, cone at center can be shifted
//-- camera is eyepoint; TrackOffset is focal point; Trackcenter is cone position; tilt value is tilt on pole
EyePointOffset = "0.0 2.5 -2.0" // Camera position from vehicle origin x,y,z
TrackCenter = "0.0 5.0 0.0" // Camera tilt axis from vehicle origin x,y,z
TrackOffset = "0.0 0.0 10.0" // Camera Focal Point from vehicle origin x,y,z
TiltValue = "5.0" // How much camera can tilt
PitchLimits = "-30 20" // How far camera swings when pitching in degrees
YawLimits = "-90 90" // How far camera swings when tilting in degrees
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Changing Camera Angle

Post by thelegend »

Hm..really interesting. Maybe I gonna make an asset where you can fly a whole frigate. If that works for vehicles and turrets too..
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: Changing Camera Angle

Post by MileHighGuy »

It does. every controllable unit has these lines somewhere in it's hierarchy.
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Changing Camera Angle

Post by Lorul1 »

I remember learning about the x, y, and z axis in school, but i have no idea what EyePointOffset ,TrackCenter ,TrackOffset, TiltValue ,PitchLimits and YawnLimits are. So what I'm basically asking for is to someone to figure out the coordinates for what I'm trying to do and give them to me. I guess I could do them my self but it would sure take alot of munging for someone like me :funny2:
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: Changing Camera Angle

Post by JimmyAngler »

Well, is that the zoom in 3rd person? Than just copy those numbers and put them in the standard idle pose.
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Changing Camera Angle

Post by Lorul1 »

well I imaged it to be that, only zoomed out a bit to look like the picture, dose anyone have the coordinate that they could give me for that for that :?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Changing Camera Angle

Post by AQT »

Lorul1 wrote:dose anyone have the coordinate that they could give me for that for that :?
Requests go in the All-Purpose Request Thread, but unless you're still willing to figure this out yourself:
  • Look at the original camera position values.
  • Now look at the original zoom camera position values.
  • Notice the differences between two.
  • Try intermediate values between the two until you get the result you desire.
Post Reply