[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: 11
Joined: Thu, 7. Mar 13, 05:29

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

Post by Cratz » Sat, 16. Nov 13, 23: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
Image
after
Image

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

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

Post by Nitrometan » Sat, 16. Nov 13, 23: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, 21:39

Post by Hellmet » Sun, 17. Nov 13, 00:11

Thanks!

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

confused

Post by OpiWanktGenObi » Sun, 17. Nov 13, 00: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: 15
Joined: Tue, 20. Aug 13, 14:36

massive size fix

Post by aerojet029 » Sun, 17. Nov 13, 00: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, 13:49

Post by NerdgasmTVOnTwitch » Sun, 17. Nov 13, 13: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: 10912
Joined: Sun, 6. Jul 08, 10:29

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

In the settings menu, you can increase or decrease

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

Post by NerdgasmTVOnTwitch » Sun, 17. Nov 13, 15: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: 10912
Joined: Sun, 6. Jul 08, 10:29

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

ah! My bad.

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

:oops:

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

Post by aerojet029 » Sun, 17. Nov 13, 18: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, 23:31

Post by Nifter » Sun, 17. Nov 13, 19: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: 33
Joined: Wed, 14. Sep 05, 08:20

Post by jpinard » Wed, 20. Nov 13, 21: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, 10: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: 15
Joined: Tue, 20. Aug 13, 14:36

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

huh? why are you quoting me then?

dataschmuck
Posts: 2
Joined: Thu, 4. Dec 03, 10:43

Post by dataschmuck » Sat, 23. Nov 13, 08: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.

Post Reply

Return to “X Rebirth - Scripts and Modding”