Player's aim site too high [Solved]

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
GarfSnacks
Private Recruit
Posts: 22
Joined: Thu May 10, 2018 9:28 pm
Projects :: Utapau Attack 2.0
Games I'm Playing :: MTG Arena
xbox live or psn: No gamertag set

Player's aim site too high [Solved]

Post by GarfSnacks »

Hi there,

I've been trying to mess around with the player's aim orientation/offset but can't seem to get the camera to preposition itself.
Below I've drawn where I would like the aim site to show up. Obviously I'll have to offset the camera so the UI isn't directly over the character's head.
Hidden/Spoiler:
Image
Last edited by GarfSnacks on Tue Jul 09, 2019 11:13 pm, edited 1 time in total.
User avatar
Dasher
Private Third Class
Posts: 49
Joined: Fri Aug 04, 2017 1:46 pm
Projects :: Loronar Jade Moon
xbox live or psn: No gamertag set

Re: Player's aim site too high

Post by Dasher »

In order to change the camera angle/position you have to edit these line in the com_inf_default.odf file, which is located in your C:\BF2_ModTools\data_???\Common\odfs folder:
Hidden/Spoiler:
FirstPersonFOV = "70"
ThirdPersonFOV = "65"

CAMERASECTION = "STAND"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "0.0 1.8 0.0
TrackOffset = "0.0 0.0 3.2"
TiltValue = "10.0"

CAMERASECTION = "STANDZOOM"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "1.0 1.8 0.0
TrackOffset = "0.4 0.05 2.8"
TiltValue = "3.5"

CAMERASECTION = "CROUCH"
EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "1.0 1.3 0.0
TrackOffset = "0.0 0.15 3.0"
TiltValue = "10.0"
CameraBlendTime = "0.75"

CAMERASECTION = "CROUCHZOOM"
EyePointOffset = "0.0 1.3 0.0"
TrackCenter = "1.0 1.3 0.0
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"

CAMERASECTION = "PRONE"
EyePointOffset = "0.0 0.5 0.0"
TrackCenter = "1.0 0.5 0.0"
TrackOffset = "0.0 0.0 3.0"
TiltValue = "5.0"
CameraBlendTime = "1.0"

CAMERASECTION = "PRONEZOOM"
EyePointOffset = "0.0 0.5 0.0"
TrackCenter = "1.0 0.5 0.0"
TrackOffset = "0.4 0.2 2.8"
TiltValue = "3.5"

CAMERASECTION = "SPRINT"
EyePointOffset = "0.0 1.8 0.0"
TrackCenter = "1.0 1.8 0.0
TrackOffset = "0.0 0.0 4.0"
TiltValue = "10.0"
CameraBlendTime = "0.75"
The UI or HUD can only be edited by changing the meshes or textures that are being used for the HUD via image manipulation software or XSI. You'll find them in the C:\BF2_ModTools\data_???\Common\interface folder or in C:\BF2_ModTools\data_???\Common\mshs folder. In addition to that the position of those meshes/textures can be adjusted in your 1playerhud.hud file, which is located in your C:\BF2_ModTools\data_???\Common\HUD folder.

Your best bet is to mess with the camera angle first though, just chnage the settings and see if it is to your liking before touching any of the other stuff.
GarfSnacks
Private Recruit
Posts: 22
Joined: Thu May 10, 2018 9:28 pm
Projects :: Utapau Attack 2.0
Games I'm Playing :: MTG Arena
xbox live or psn: No gamertag set

Re: Player's aim site too high

Post by GarfSnacks »

Thanks for replying Dasher!

So I attemped to change some of the values. First I just copied the "StandZoom" values into the "Stand" values and nothing happened. Then I changed the values to drastically large numbers to see if anything would change but nothing did.

When munging, I set the Side value to "EVERYTHING", cleaned and then munged.

Is there anything I need to delete in my _BUILD folder that, for whatever reason, isn't getting overwritten?

I'll try out some more tests when I get home today.



EDIT
Was able to get it working. Rather than changing the com_inf_default, I changed the cis_inf_default and rep_inf_default files. I have custom sides so I'm not sure if that has to do with the issue I was experiencing?
Anyways, thanks again for the help Dasher :)
Post Reply