[Request] disable mouse steering upon some events

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

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

jojorne
Posts: 877
Joined: Sun, 17. Nov 13, 17:25
x4

[Request] disable mouse steering upon some events

Post by jojorne »

a mod to listen these events (player entering highway/superhighway and player docking/undocking) to disable mouse steering

thanks
User avatar
Leafcutter
Posts: 244
Joined: Wed, 2. Apr 03, 18:23
x4

Post by Leafcutter »

I like this idea... if it's possible :-)

-LC-
Always expect the unexpected, and you will never be surprised.
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

This is a nice idea. Won't have time to test for a couple of days but on a quick look around I found this to get the idea rolling :

Code: Select all

<set_value name="$MouseSteeringWasOn" exact="player.input.mousesteering.permanent"/>
and

Code: Select all

<check_value value="not player.input.controller"/>
                        <check_value value="player.input.mousesteering.permanent" exact="$MouseSteeringWasOn" negate="true"/>
from Plot_ep1_ch1.xml

These might be read only values of course but at least it demonstrates how to check if mouse steering is on when you enter the highway.

EDIT : from properties.xml, in player definition :

Code: Select all

<property name="input.controller" result="true if player is using the controller, false if using keyboard/mouse (this value can change!)" type="boolean" />
    <property name="input.mousesteering" result="true if player is playing in mousesteering-mode, false otherwise (this value can change!)" type="boolean" />
    <property name="input.mousesteering.permanent" result="true if player is playing in permanent mousesteering-mode, false otherwise (this value can change!)" type="boolean" />
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
JESS 246
Posts: 574
Joined: Mon, 3. Jul 06, 03:24
x3

Post by JESS 246 »

Hi All

I asked the same sometime back about this i hate the mouse steering following that stupid ring and was told that it only disabled when you press spacebar then you have no steering i don't know what the game makers were thinking it's not in any other FPS games.

I was told it not there when using some controllers, and on looking at some videos i don't see a steering mouse ring.

I want it gone it's stupid It's misleading your steering and as soon as you get back in the ship if you haven't centered the mouse you find you are spinning wildly or as this post is about entering a highway again if not centered you get bounced out.
sonil
Posts: 5
Joined: Sun, 6. Jan 08, 04:39

Post by sonil »

:) i like this idea,i would highly appreciate it if someone can complete this mod
Calca
Posts: 127
Joined: Wed, 12. Mar 03, 23:10
x4

Post by Calca »

disable it when you open the side bar menu too :)
jojorne
Posts: 877
Joined: Sun, 17. Nov 13, 17:25
x4

Post by jojorne »

+1
Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 8074
Joined: Tue, 30. Mar 04, 12:28
x4

Post by Sparky Sparkycorp »

Nice idea :)
JESS 246 wrote: I asked the same sometime back about this i hate the mouse steering following that stupid ring and was told that it only disabled when you press spacebar then you have no steering
You do have steering in highways without mouse steering: WASD buttons on the keyboard still work, for example.
Clownmug
Posts: 419
Joined: Wed, 11. Dec 13, 02:39
x4

Post by Clownmug »

I came up with something after seeing this topic.

http://steamcommunity.com/sharedfiles/f ... =641765542
jojorne
Posts: 877
Joined: Sun, 17. Nov 13, 17:25
x4

Post by jojorne »

thanks for the mod!!

Return to “X Rebirth - Scripts and Modding”