[REQUEST] Get rid of the perspective view (and ONLY this)

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

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

XenonSurf
Posts: 597
Joined: Fri, 18. Jan 08, 21:00
x2

[REQUEST] Get rid of the perspective view (and ONLY this)

Post by XenonSurf »

Hi,
what I'm calling Perspective View only happens AFAIK when calling up the mission briefing and the screen turns towards Yisha presenting the monitor with a perspective view.
As long as you are using a screen resolution of 1280x720 or such, the text is easily readable, but I'm playing with 1600x900 or even 1920x1080, and then...well...better get a magnifying glass to read the text :D

So I want to get rid of that, and INSTEAD: There is a 2nd screen possible in-game already where the screen turns towards Yisha, but it's plain 2D and much bigger. THAT's what I want when pressing the "Tell me more" command.

Note:
I know that I can set the HUD behavior in the game settings, but this will change other screens as well, which I don't want.

Now the difficult part:
The mod or XML change should be compatible with the Mission Computer mod, OR: it should be made possible to integrate any XML part easily into it for personal usage (so that those players who don't like this change don't have to deal with it).

It's possible or even likely that a mod is not necessary at all, and a simple XML change is enough to be done somewhere. In this case, I HIGHLY welcome anyone to share it here.

Thanks very much in advance 8)

Greetings,
XenonS
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

basically this boils down to removing all related
<add_conversation_view view="facecopilot" />
or better replacing them with the additional screen you said.
should not be too much work, its about 6 Ocurrences in 5 Files. the additional Screen could be a diffrent story, not sure..

IMO this is pointless because its like texting the person sitting right next to you instead of talking to her did you even know you can do phone calls with that thing?
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)
XenonSurf
Posts: 597
Joined: Fri, 18. Jan 08, 21:00
x2

Post by XenonSurf »

UniTrader wrote: (...) the additional Screen could be a diffrent story, not sure..

IMO this is pointless because (...) [/size]
Hi UniTrader,
thanks very much for telling a procedure.
This 'additional screen' already exists, it doesn't have to be created or modded, also it doesn't make a blattant difference, but is actually much better for the eyeball 8) (consider the higher resolution!)

Actually the screen I want for replacement is the same screen you get when the mission info pops-up for the FIRST time (after clicking on the station icon or selecting in the Mission Computer mod).

I will search out for myself, but thanks anyone to provide the relevant XML expressions for that first screen mentioned just here above, so I can change UniTraders expressions with those ones. 8) 8)

This all means a mod is not necessary, but I think there may be some people like me who wanna change that.

Thanks
XenonS

PS:
If anyone is in doubt about how useful these changes could be, I welcome him to change his screen resolution to 1920x1080 or above and read out loud the mission briefing. That's the point. A font change would probably get some lines missed onscreen.
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

well, the problem is that Yisha already sits next to you and therefore the Game doesnt see the need to display her in the Video Screen. at least thats my impression from interpreting the related game files..
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)
XenonSurf
Posts: 597
Joined: Fri, 18. Jan 08, 21:00
x2

Post by XenonSurf »

UniTrader,
I have will have to carefully go in the game and see the exact sequence of the screens poping up. I have to be clear about when/which my intended "First Screen" pops-up.

I will share any successful modification, BUT I cannot compile and publish a mod, someone else has to do it :D

XenonS
XenonSurf
Posts: 597
Joined: Fri, 18. Jan 08, 21:00
x2

Post by XenonSurf »

Ok I've located the XML files, 5 exactly, wow UniTrader, how did you know in advance? :D

If have also located the screen I have in mind, I got a screenshot but don't know how to make it appear here (thx anyone to tell if you get the time.)
The screen pops-up when you go in the Mission Manager > Select mission > Briefing. That's the one I'd like to see instead of the Perspective.

I will have to check which views in XML are available after view=... and make a replacement to see if it works. Up to now, I see only 1 candidate, it's the

...view="closeupdetailmonitor"... ,

Let's assume a replacement is possible in the XML; how do I handle the file(s)? I'll have to put them in the Extension folder I guess, but just *as is* or in form of a mod?
Currently I have a separate folder with all the cat files extracted.

Thanks anyone,
XenonS

[/img]
Last edited by XenonSurf on Sun, 3. May 15, 00:14, edited 1 time in total.
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

1) i have all game files extracted anyway and a text search through all ai/md-scripts is quick ^^

2) i think you are looking for this (from libraries/common.xsd)

Code: Select all

<xs:simpleType name="conversationview">
  <xs:annotation>
    <xs:documentation>
      Conversation view type, defining the desired camera direction
    </xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
    <xs:enumeration value="facecopilot"/>
    <xs:enumeration value="facenormal"/>
    <xs:enumeration value="facedetailmonitor"/>
    <xs:enumeration value="closeupdetailmonitor"/>
    <xs:enumeration value="closeupeventmonitor"/>
    <xs:enumeration value="faceconsole"/>
    <xs:enumeration value="facepos1"/>
    <xs:enumeration value="facepos2"/>
    <xs:enumeration value="facepos3"/>
    <xs:enumeration value="facepos4"/>
    <xs:enumeration value="facepos5"/>
    <xs:enumeration value="angry_01"/>
    <xs:enumeration value="disappointed_01"/>
    <xs:enumeration value="flirting_01"/>
    <xs:enumeration value="happy_01"/>
    <xs:enumeration value="happy_02"/>
    <xs:enumeration value="idle_01"/>
    <xs:enumeration value="sad_01"/>
    <xs:enumeration value="sad_02"/>
    <xs:enumeration value="surprised_01"/>
  </xs:restriction>
</xs:simpleType>
3) as xml diff file, see also this tuto: http://forum.egosoft.com/viewtopic.php?t=354310
and also take other Mods as example, here some concrete example on how to replace Attributes in xml files (not MD, but technique is the same ;) ):
https://github.com/UniTrader/UTBridgeCo ... irdock.xml
(the lines after <!-- replace Player starting Pos --> )
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)
XenonSurf
Posts: 597
Joined: Fri, 18. Jan 08, 21:00
x2

Post by XenonSurf »

UniTrader,
that's great help, thanks very much!
If I understand well, I now have 2 options:

1)
this code in the Common file is the value definition for all possible camera directions and should not be changed in any case; I have to pick up the right trigger here, I guess "facedetailmonitor" and change it in the 5 files in the md folder, OR

2)
I change the code right above in the Common file everythng with only the 1 trigger I want, e.g. facedetailmonitor.

Will have to try out. Time for some backups... :D

My last question in the previous answer is obsolete: I've just taken a look at other mods, and no problem for me.

Will have to make some backups and try out.

XS
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

changing the libraries/common.xsd does not affect anything - this File is just information for Modders about the XML structure, it is not actually used by the game - so 1 is the way to go ;)
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

Return to “X Rebirth - Scripts and Modding”