Body in first person view

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Alakele
Posts: 9
Joined: Wed, 4. Dec 24, 04:19
x4

Body in first person view

Post by Alakele »

Hello there, I am looking for help to start a mod, I would like to see my body when I am in first person view.
Right now, it feels like the player is a floating invisible camera.
It would improve immersion a lot if we had a body to relate to.
Any idea on how to get started ?
Realspace
Posts: 1638
Joined: Wed, 15. Nov 06, 10:21
x4

Re: Body in first person view

Post by Realspace »

Not an answer to your request, I am not expert on that part. But wanted to add that reducing a lot the walk speed (maybe leaving the run as it is) will reduce that perception of being a fluctuating camera instead of a biped.
Editing is in the libraries/parameters.xml

Code: Select all

  <!-- faster run, slower walk
  Reference node being edited:
  <playerfirstperson>
    <speed pitch="5" yaw="7" forward="4" reverse="2" strafe="2" runfactor="2" walkfactor="0.5" crouchfactor="0.5" maxfall="90" />
    <acceleration angular="15" linear="50" gravity="9.81" />
    <crouch height="0.9" delay="0.2" />
    <jump minheight="0.5" maxheight="0.5" />
  </playerfirstperson>
   -->
  <replace sel="//playerfirstperson/speed/@forward">3</replace>
  <replace sel="//playerfirstperson/speed/@strafe">3</replace>
  <replace sel="//playerfirstperson/speed/@reverse">3</replace>
  <replace sel="//playerfirstperson/speed/@runfactor">2.5</replace>
  <replace sel="//playerfirstperson/speed/@crouchfactor">0.7</replace>
  <replace sel="//playerfirstperson/crouch/@delay">0.3</replace>
I added the code to one of my bigger mods but can be done as single feature mod
Alakele
Posts: 9
Joined: Wed, 4. Dec 24, 04:19
x4

Re: Body in first person view

Post by Alakele »

I mean it's a start, but the visual aspect is crucial in my opinion.
Flying a ship with no arms and walking around with no legs. We need more immersion. The 3d object are already there so then why make them disappear in first person view ?
Realspace
Posts: 1638
Joined: Wed, 15. Nov 06, 10:21
x4

Re: Body in first person view

Post by Realspace »

I agree, first person view is lacking also when using the spacesuit. Only in third person you feel to be inside it. A super-imposed helm visible on the corner of the screen in 1st view would help a bit there.

Return to “X4: Foundations - Scripts and Modding”