EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[MOD] Better Cockpits v0.5
Post new topic Reply to topic Goto page 1, 2, 3, 4, 5, 6, 7  Next
View previous topic :: View next topic
Author Message
OlDav54





Joined: 18 Nov 2013



modified
PostPosted: Mon, 18. Nov 13, 01:44    Post subject: [MOD] Better Cockpits v0.5 Reply with quote Print

This mod (my first mode eveeeeer Very Happy) expands the exterior view by moving and removing parts of the cockpit.

I have removed the top, front, left and right side of the visible cockpit, as well as the glass and distorsion effects from the cockpit's window.

>>>

There is still room for improvement, but that will do for now Smile .

Kown issues :

- the layer from the different scan modes does not fit the new cockpit. 3D modelling tools will be needed to solve that.





Last edited by OlDav54 on Tue, 19. Nov 13, 23:58; edited 3 times in total
Back to top
View user's profile Send private message
enenra





Joined: 08 Apr 2005
Posts: 6077 on topic
Location: Japan
Thank you for registering your game
PostPosted: Mon, 18. Nov 13, 01:49    Post subject: Reply with quote Print

Hey there! Nice work. Smile

Use this to link to the Nexus page:




EDIT: Oh, and btw.

Gazz wrote:
The border is defined in
\Steam\steamapps\common\x_rebirth\Extract\assets\units\player\units_player_cockpit_1.xml
I believe.

I can probably deal with that. =)
But that would be tomorrow.


Anyway, the ZIP for that cockpit mod appears to be broken.


From here: http://forum.egosoft.com/viewtopic.php?t=350199


_________________
Back to top
View user's profile Send private message
98abaile





Joined: 14 Aug 2004
Posts: 256 on topic
Location: Cloud cukkoo land
Thank you for registering your game
PostPosted: Mon, 18. Nov 13, 01:53    Post subject: Reply with quote Print

Thank you.


_________________
Rule 1: I am always right.
Rule 2: In the unlikely event that I am wrong, rule 1 applies.
Back to top
View user's profile Send private message Send e-mail
stk25





Joined: 17 Nov 2013
Posts: 33 on topic
Location: United Kingdom
Thank you for registering your game
modified
PostPosted: Mon, 18. Nov 13, 01:58    Post subject: Reply with quote Print

Good work! Much better than the version I was working on, just have one small request: is there any way to move the screens/panels to the corners of the screen? Like have the shield/boost/health on the bottom left and the weapon/missile screens on the bottom right, kinda like how FPS games do it? I tried looking into it but I'm not really sure how those coordinates work Shocked


_________________
XRSaveEditor - A simple save editor for X Rebirth
XRCatExtract - .NET 2.0 X Rebirth cat/dat extractor


Last edited by stk25 on Wed, 20. Nov 13, 02:26; edited 1 time in total
Back to top
View user's profile Send private message
OlDav54





Joined: 18 Nov 2013



PostPosted: Mon, 18. Nov 13, 02:18    Post subject: Reply with quote Print

I will add different cockpit in the near future (with no visible 3d models for example). Moving stuff is not hard, but it takes some time to have something nice. Also, the game is using quaternion angles, so rotating stuff in the right way is quite difficult Headbang ...

Back to top
View user's profile Send private message
stk25





Joined: 17 Nov 2013
Posts: 33 on topic
Location: United Kingdom
Thank you for registering your game
modified
PostPosted: Mon, 18. Nov 13, 02:23    Post subject: Reply with quote Print

OlDav54 wrote:
I will add different cockpit in the near future (with no visible 3d models for example). Moving stuff is not hard, but it takes some time to have something nice. Also, the game is using quaternion angles, so rotating stuff in the right way is quite difficult Headbang ...

Ah thought as much, maybe I'll take a crack at it tomorrow, probably take a while though since I'm no good with quaternions Rolling on the floor laughing
Also not sure if you know but it's an easy fix for the border/edge icons:
Code:

<replace sel="/components/component[@name='units_player_cockpit_1']/properties/border">
<border>
<position x="0" y="0" z="0"/>
</border>
</replace>

Makes them show at the edges of the screen, they show under the joystick and pillar thing though so I had to disable them too, reminds me of X3 now heh..


_________________
XRSaveEditor - A simple save editor for X Rebirth
XRCatExtract - .NET 2.0 X Rebirth cat/dat extractor


Last edited by stk25 on Wed, 20. Nov 13, 02:25; edited 1 time in total
Back to top
View user's profile Send private message
98abaile





Joined: 14 Aug 2004
Posts: 256 on topic
Location: Cloud cukkoo land
Thank you for registering your game
PostPosted: Mon, 18. Nov 13, 02:23    Post subject: Reply with quote Print

An idea but rather than try to fix the scan mode effects for this mod, can you just replace the entire texture for just a simple small icon (an icon for each mode) in the bottom left of the screen. Would probably only need a texture edit.


_________________
Rule 1: I am always right.
Rule 2: In the unlikely event that I am wrong, rule 1 applies.
Back to top
View user's profile Send private message Send e-mail
stones1601





Joined: 19 Apr 2011



PostPosted: Mon, 18. Nov 13, 02:27    Post subject: Reply with quote Print

Excellent work mate. Any chance of a 16:10 aspect ratio version? The 16:9 chops off everything right of the % sign in the info window.

Cheers mate

Back to top
View user's profile Send private message
OlDav54





Joined: 18 Nov 2013



PostPosted: Mon, 18. Nov 13, 02:49    Post subject: Reply with quote Print

Thanks for the tip stk25 Smile . Deleting the entire border section didn't influence the borders in-game, so I tought in the first place it wasn't the right thing.

I will make an update asap.

Back to top
View user's profile Send private message
Shrewd135





Joined: 06 Apr 2012



PostPosted: Mon, 18. Nov 13, 08:57    Post subject: Reply with quote Print

As you continue updating this, would you consider creating a simple tutorial on what you did to modify the cockpit? Perhaps a video tutorial using something like Cam studio uploaded to you tube.

I am sure there are others that have some customizations they would try that have questions on what they need to do. Me being one.

Thanks.

Back to top
View user's profile Send private message
nonnex





Joined: 28 Aug 2013
Posts: 298 on topic
Location: München
Thank you for registering your game
PostPosted: Mon, 18. Nov 13, 10:54    Post subject: Reply with quote Print

thanks, very nice one.

Is there a property for alpha (transparency) that could be changed?

Like for materials:
Code:
<property name="alphaStr" value="[double val]"></property>


It would be cool to change the alpha for the right MFD.

Back to top
View user's profile Send private message
Gazz
Moderator (Script&Mod)
Moderator (Script&Mod)



Joined: 13 Jan 2006
Posts: 12408 on topic
Location: Bavaria
Thank you for registering your game
PostPosted: Mon, 18. Nov 13, 13:13    Post subject: Reply with quote Print

olivier54 wrote:

Nevermind, you where right, the border parameters does defines... well the border :laugh: .

Hehehe.

I tried practically all weekend to do what you did. Removing the model, removing textures, making textures transparent, but nothing had the intended effect.

I'm useless with graphics stuff. Code monkey, ya see...?

Now I CAN SEE!



BTW, digging through the graphics I DID come across the graphic for the scanner mode overlay.
\assets\textures\player\cockpit

They are GZipped DDS textures. One of them has the "ski goggles" shape of the scanner mode glow.

I'll see if I can mess with that one later. I should be able to handle a flat texture like that. =P


OlDav54 wrote:
This mod (my first mode eveeeeer Very Happy) expands the exterior view by moving and removing parts of the cockpit.

And you're starting with a bang. =)


_________________
My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend. I AM THE LAW!
There is no sense crying over every mistake. You just keep on trying till you run out of cake.
Back to top
View user's profile Send private message Visit poster's website
danskmacabre





Joined: 06 Aug 2008
Posts: 130 on topic

Thank you for registering your game
PostPosted: Mon, 18. Nov 13, 14:47    Post subject: Reply with quote Print

stones1601 wrote:
Excellent work mate. Any chance of a 16:10 aspect ratio version? The 16:9 chops off everything right of the % sign in the info window.

Cheers mate


I created a 16:10 version of this mod so it all appears and also moves the primary and secondary weapons readout to the bottom left.

Just replace this bit of content in units_player_cockpit_1.xml with the following near the bottom bit of XML.


Code:

   <!-- Ship's status screen position!-->
    <replace sel="/components/component[@name='units_player_cockpit_1']/connections/connection[@name='Connection05']/offset">
      <offset>
         <position x="0.37" y="-0.32" z="1"/>
         <quaternion qx="0" qy="0.7" qz="0" qw="1"/>
      </offset>
    </replace>
   
    <!-- Ship's event screen position!-->
   <replace sel="/components/component[@name='units_player_cockpit_1']/connections/connection[@name='Connection08']/offset">
      <offset>
         <position x="0.635" y="-0.31" z="0.8552095"/>
         <quaternion qx="0" qy="0.15" qz="0" qw="1"/>
      </offset>
    </replace>
   
    <!-- Ship's primary weapon screen position!-->
    <replace sel="/components/component[@name='units_player_cockpit_1']/connections/connection[@name='Connection25']/offset">
      <offset>
         <position x="-1.2" y="-0.62" z="1.5"/>
         <quaternion qx="0" qy="0.25" qz="0" qw="1"/>
      </offset>
    </replace>
   
    <!-- Ship's secondary weapon screen position!-->
    <replace sel="/components/component[@name='units_player_cockpit_1']/connections/connection[@name='Connection26']/offset">
      <offset>
         <position x="-1.25" y="-0.78" z="1.5"/>
         <quaternion qx="0" qy="0.27" qz="0" qw="1"/>
      </offset>
    </replace>



Screenshot of the the 16:10 version
http://steamcommunity.com/sharedfiles/filedetails/?id=196142342

Back to top
View user's profile Send private message
DaMuncha





Joined: 01 Nov 2010
Posts: 642 on topic

Thank you for registering your game
PostPosted: Mon, 18. Nov 13, 14:59    Post subject: Reply with quote Print

Its a sad day when the moderators are ripping on the game and looking for mods to fix it

Back to top
View user's profile Send private message
OlDav54





Joined: 18 Nov 2013



PostPosted: Mon, 18. Nov 13, 15:21    Post subject: Reply with quote Print

New version available !

- Added support for 16/10 screens.
- Enhanced 4/3 cockpit. The status screen isn't cropped anymore.
- Enhanced the way icons are displayed. Icons will now follow the outline of the new cockpit.

Next update will add a new cockpit with, well, no cockpit at all Very Happy , just HUD.
I will also look into making different fovs, and modify the scanners textures.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2, 3, 4, 5, 6, 7  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Control Panel
Login Data
The time now is Sat, 29. Nov 14, 02:59

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.30257 seconds, sql queries = 75