[MOD] Field of View (fov) increase for the player cockpit

The place to discuss scripting and game modifications for X Rebirth.

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

Cratz
Posts: 28
Joined: Thu, 7. Mar 13, 04:29
x4

[MOD] Field of View (fov) increase for the player cockpit

Post by Cratz » Sat, 16. Nov 13, 22:05

I have created a mod that increase a little bit the fov inside the cockpit, if you want change the value just edit the files.

<camera name="cam_cockpit" fov="******" focus="101">

before
[ external image ]
after
[ external image ]

1.12
http://www.mediafire.com/download/8ftrr ... atzfov.rar

Nitrometan
Posts: 16
Joined: Thu, 26. Jul 12, 14:27
x3ap

Post by Nitrometan » Sat, 16. Nov 13, 22:57

in my opinion it's pointless because of no "zoom in" function in the game, for me some things are too small to aim at 1km away (weapons on the ships,etc.) and with increased FoV would be even smaller.

But great job anyways :)

Hellmet
Posts: 6
Joined: Tue, 15. Nov 05, 20:39
x4

Post by Hellmet » Sat, 16. Nov 13, 23:11

Thanks!

OpiWanktGenObi
Posts: 13
Joined: Mon, 29. Sep 08, 14:20
x4

confused

Post by OpiWanktGenObi » Sat, 16. Nov 13, 23:37

somehow i see the same amount of details of the cockpit in "before" and "after".. did you change the FOV of the cockpit or the FOV of the space scenery in front of the cockpit?

aerojet029
Posts: 78
Joined: Tue, 20. Aug 13, 14:36
x4

massive size fix

Post by aerojet029 » Sat, 16. Nov 13, 23:45

so instead of replacing the ENTIRE xml file, here i only replace the nessasary components.. ends up only taking 2kb in rar'd form

viewercockpit.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>

<diff>
	<!-- Replace text example -->
	<replace sel="/components/component[@name='viewer_cockpit']/connections/connection[@name='Connection01']/camera[@name='cam_cockpit']">
		<camera name="cam_cockpit" fov="133.4"></camera>
	</replace>
</diff>
viewer_sfx_cockpit.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>

<diff>
	<!-- Replace text example -->
	<replace sel="/components/component[@name='viewer_sfx_cockpit']/connections/connection[@name='Connection41']/camera[@name='cam_cockpit']">
		<camera name="cam_cockpit" fov="133.4" focus="101">
	</replace>
</diff>
units_player_cockpit_1.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>

<diff>
	<!-- Replace text example -->
	<replace sel="/components/component[@name='units_player_cockpit_1']/connections/connection[@name='Connection40']/camera[@name='cam_cockpit']">
		<camera name="cam_cockpit" fov="133.4" focus="101">
	</replace>
</diff>
and finally units_player_cockpit_1_test2.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>

<diff>
	<!-- Replace text example -->
	<replace sel="/components/component[@name='units_player_cockpit_1_test2']/connections/connection[@name='Connection01']/camera[@name='cam_cockpit']">
		<camera name="cam_cockpit" fov="133.4" focus="101">
	</replace>
</diff>

this is the entire code within the assosiated files, so you can get a better size for such a small tweak (also makes it easier for other people to set their own favorite FOV)

NerdgasmTVOnTwitch
Posts: 2
Joined: Sun, 17. Nov 13, 12:49

Post by NerdgasmTVOnTwitch » Sun, 17. Nov 13, 12:52

Hey X Rebirth Newbie here.. Is there anway you can also make a mod to change the FOV outside the ship. I get severe motion sickness outside of the shop because of the Low FOV. Thanks

User avatar
TTD
Posts: 11165
Joined: Sun, 6. Jul 08, 10:29
x4

Post by TTD » Sun, 17. Nov 13, 14:01

In the settings menu, you can increase or decrease

NerdgasmTVOnTwitch
Posts: 2
Joined: Sun, 17. Nov 13, 12:49

Post by NerdgasmTVOnTwitch » Sun, 17. Nov 13, 14:27

TTD wrote:In the settings menu, you can increase or decrease
I think you are mistaken. There's no such option anywhere in the settings.

User avatar
TTD
Posts: 11165
Joined: Sun, 6. Jul 08, 10:29
x4

Post by TTD » Sun, 17. Nov 13, 14:35

ah! My bad.

There are some view settings though,but not this one.

:oops:

aerojet029
Posts: 78
Joined: Tue, 20. Aug 13, 14:36
x4

Post by aerojet029 » Sun, 17. Nov 13, 17:53

this "FOV" tweak seems to do just increase your FOV from what you can see outside the ship.

User avatar
Nifter
Posts: 14
Joined: Sat, 16. Nov 13, 22:31

Post by Nifter » Sun, 17. Nov 13, 18:13

Set the fov to 200 in all cases. Started a new free game with the mod and without the mod, but saw no changes.

Free game puts you in the same location and facing the same direction. Can anyone see any differences and post screenshots?

jpinard
Posts: 37
Joined: Wed, 14. Sep 05, 08:20
x4

Post by jpinard » Wed, 20. Nov 13, 20:36

I see no difference whatsoever in those pictures since thy're not of the same alignment. Can you please do a better before/after?

Stuii
Posts: 5
Joined: Tue, 17. Sep 13, 10:57

Re: massive size fix

Post by Stuii » Fri, 22. Nov 13, 09:04

aerojet029 wrote:so instead of replacing the ENTIRE xml file, here i only replace the nessasary components.. ends up only taking 2kb in rar'd form

viewercockpit.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>

<diff>
	<!-- Replace text example -->
	<replace sel="/components/component[@name='viewer_cockpit']/connections/connection[@name='Connection01']/camera[@name='cam_cockpit']">
		<camera name="cam_cockpit" fov="133.4"></camera>
	</replace>
</diff>
viewer_sfx_cockpit.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>

<diff>
	<!-- Replace text example -->
	<replace sel="/components/component[@name='viewer_sfx_cockpit']/connections/connection[@name='Connection41']/camera[@name='cam_cockpit']">
		<camera name="cam_cockpit" fov="133.4" focus="101">
	</replace>
</diff>
units_player_cockpit_1.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>

<diff>
	<!-- Replace text example -->
	<replace sel="/components/component[@name='units_player_cockpit_1']/connections/connection[@name='Connection40']/camera[@name='cam_cockpit']">
		<camera name="cam_cockpit" fov="133.4" focus="101">
	</replace>
</diff>
and finally units_player_cockpit_1_test2.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>

<diff>
	<!-- Replace text example -->
	<replace sel="/components/component[@name='units_player_cockpit_1_test2']/connections/connection[@name='Connection01']/camera[@name='cam_cockpit']">
		<camera name="cam_cockpit" fov="133.4" focus="101">
	</replace>
</diff>

this is the entire code within the assosiated files, so you can get a better size for such a small tweak (also makes it easier for other people to set their own favorite FOV)
Hi there Cratz,

Can you please help me find these files to edit on a steam install?

Thanks!

aerojet029
Posts: 78
Joined: Tue, 20. Aug 13, 14:36
x4

Post by aerojet029 » Sat, 23. Nov 13, 02:52

huh? why are you quoting me then?

dataschmuck
Posts: 3
Joined: Thu, 4. Dec 03, 09:43

Post by dataschmuck » Sat, 23. Nov 13, 07:56

any way you can make this compatible with better cockpits mod? With both installed, better cockpits has no effect (all the cockpit is shown).

I tried aerojet029's way of doing the mod and it still canceled out better cockpit. I even tried merging the code from your units_player_cockpit_1.xml with the better cockpits' xml and all the cockpit still showed up. Maybe you guys could work together to combine the two mods into one.

johncage
Posts: 204
Joined: Sat, 9. Nov 13, 08:35

Post by johncage » Sun, 1. Dec 13, 20:07

thanks for ending the headaches

savagetwinky
Posts: 169
Joined: Tue, 11. May 10, 19:29

Post by savagetwinky » Sun, 1. Dec 13, 23:24

Nitrometan wrote:in my opinion it's pointless because of no "zoom in" function in the game, for me some things are too small to aim at 1km away (weapons on the ships,etc.) and with increased FoV would be even smaller.

But great job anyways :)
the FOV is more about how close one sits to the screen, a lot of people can get motion sickness from a small FOV near a screen. Because of hte way its seen its not natural for your mind.

jpinard
Posts: 37
Joined: Wed, 14. Sep 05, 08:20
x4

Post by jpinard » Tue, 3. Dec 13, 04:22

The 2 images he shows have the exact same FOV. Look at the cockpit. A true FOV increase would show more cockpit just like running a higher resolution or a triple monitor setup.

not2day
Posts: 55
Joined: Thu, 28. Nov 13, 15:16

Post by not2day » Wed, 4. Dec 13, 00:11

jpinard wrote:The 2 images he shows have the exact same FOV. Look at the cockpit. A true FOV increase would show more cockpit just like running a higher resolution or a triple monitor setup.
I run a triple monitor setup (eyefinity), this was what I was looking for. I'll go download it and give it a try.

Thurmonator
Posts: 205
Joined: Thu, 4. Dec 03, 21:07
x2

Post by Thurmonator » Wed, 4. Dec 13, 02:15

What was the original FOV setting if you have changed it to 133.4?

Also, do you have to change the value in all four files (I assume so) for it to work?

Thanks for the mod.

Post Reply

Return to “X Rebirth - Scripts and Modding”