[WIP] Take Control

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

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

Clownmug
Posts: 418
Joined: Wed, 11. Dec 13, 02:39
x4

[WIP] Take Control

Post by Clownmug » Sat, 4. Jul 20, 00:48

This is an updated mod of an older one I started: Fly Other Ships. It allows you to take control of any of your small/medium ships at any time. I've managed to work out most of the limitations from the previous mod and removed the restriction of needing to dock. You can now take control of your ships from anywhere and switch control between them seamlessly. Certain actions that normally only AI can do, like trading and mining, are also possible now.

The current release of this mod isn't final, it's mostly for testing, experimenting, or just messing around. Access to the mod's features are limited to new game starts only at the moment.

Download:
Take Control v0.40

Version 0.40
- Updated various text for multi-language support
Example: "Let me take control." is now "Yes, I will take control of that ship now."
- Cockpit view from controlled ships now uses the Albion Skunk variants (fight, trade, build) based on type of ship
- Controlled ship being destroyed now returns player to Albion Skunk rather than Game Over
- Mod features can now be accessed from vanilla and dlc game starts (test start also renamed to Take Control Test)
- Fixed crew disappearing from Albion Skunk
- Fixed Yisha not having a greeting through remote comms

Version 0.32
- Fixed controls locking sometimes when docked
- Throttle speed now set to 0 before switching ships

Version 0.31
- Re-enabled side console in controlled ship cockpit

Version 0.3
- Added transition when switching between ships
- Added invisible cockpit for controlled ship
- Game over is now possible if controlled ship is destroyed

Version 0.2
- Fixed controlled ship not taking damage
- Fixed duplicate ship model on Albion Skunk after returning
- Fixed sometimes getting teleported back to Albion Skunk's location
- Removed third person camera only restriction

Instructions:

Starting
  • Select new game start: Aspiring Merchant - Take Control Test
  • Contact pilot of ship you want to control
  • Go to "New Order" -> "Fly to.." -> "Let me take control"
Weapon Control
  • Fire primary weapons with "Fire Weapon" key
  • Fire secondary weapons with "Fire Missile" key
  • Target any object and weapons will auto-aim at it when fired
  • Most secondary weapons and some primary weapons have cooldowns
Trading
  • Open trade menu
  • Select your controlled ship
  • Perform transaction
  • Dock at your trade partner
Ware Exchange - Passive
  • Contact trade partner and order "Transfer wares.."
  • Perform transaction
  • Small/medium partners will fly to you and drop cargo for you to collect
  • Fly near cargo and it should be picked up automatically
  • Large partners will fly to you and you dock to complete trade
Ware Exchange - Active
  • Under ship details of the controlled ship give pilot New Order -> Transfer Wares
  • Perform transaction
  • Fly within about 100m of small/medium partners and the cargo should drop
  • For large partners just fly to them and dock
Find Trade Route
  • If you can't find or don't remember the trade/ware exchange partner...
  • Contact controlled ship pilot
  • Select "Plot my next trade route"
  • Follow guidance
Mining
  • Make sure controlled ship has surface miner drones
  • Activate mining mode scanner
  • Tag small asteroid fragments
  • Drones will launch and pick up whatever is tagged
Gas Mining
  • Make sure controlled ship has scoop collector drones
  • Activate mining mode scanner
  • Select desired "liquid" ware, if any found in zone
  • Drones will launch and immediately start collecting
Return to Albion Skunk
  • Contact pilot of controlled ship
  • Select "You can take over now"
  • OR contact Yisha on Albion Skunk and give "Let me take control" order"
  • You should return to controlling the Albion Skunk now
Notes:
  • You can target your controlled ship in third person
  • You can also target in cockpit by selecting the green icon at the top of the screen.
  • The Albion Skunk is controlled by Yisha and can be given orders like a regular small ship.
  • If either the controlled ship or the Albion Skunk are destroyed you'll get a game over.
  • Upgrading ships with ship dealer hasn't been implemented yet at this time.
Last edited by Clownmug on Mon, 3. May 21, 02:24, edited 11 times in total.

User avatar
KrYcHokE
Posts: 259
Joined: Wed, 2. Dec 15, 13:15
x4

Re: [WIP] Take Control

Post by KrYcHokE » Sat, 4. Jul 20, 23:16

Hey, is it possible to some kind of cockpit view, like on drones?
And it kinda strange when yo can enter station from remote controlled ship :D .

Clownmug
Posts: 418
Joined: Wed, 11. Dec 13, 02:39
x4

Re: [WIP] Take Control

Post by Clownmug » Sun, 5. Jul 20, 01:40

Yeah it's possible. I'll get that into the next update, thanks for the suggestion.

Angsaar
Posts: 151
Joined: Thu, 7. Mar 19, 14:03
x4

Re: [WIP] Take Control

Post by Angsaar » Sun, 5. Jul 20, 04:29

Very exciting mod!

tomchk
Posts: 1294
Joined: Mon, 26. Jan 15, 19:55
x4

Re: [WIP] Take Control

Post by tomchk » Sun, 5. Jul 20, 22:20

You’re a hero. XR is probably the most underrated game ever and I appreciate that you still mod for it!
Care to see what I've been creating? https://www.youtube.com/user/ytubrute

Rei Ayanami
Posts: 3333
Joined: Wed, 6. Nov 02, 20:31
x4

Re: [WIP] Take Control

Post by Rei Ayanami » Tue, 7. Jul 20, 13:54

This sounds AWESOME! :o I might even reinstall X:Rebirth just to try it out.
Does anyone have a Youtube video of it in action?

Clownmug
Posts: 418
Joined: Wed, 11. Dec 13, 02:39
x4

Re: [WIP] Take Control

Post by Clownmug » Tue, 7. Jul 20, 16:23

Thank you Angsaar, tomchk, and Rei. An example video would be good so I'll try to put something together. Hopefully I'll have an update soon as well to fix the damage registration and offer a proper cockpit view.

tomchk
Posts: 1294
Joined: Mon, 26. Jan 15, 19:55
x4

Re: [WIP] Take Control

Post by tomchk » Tue, 7. Jul 20, 23:14

Can't wait! Maybe XR could have a surge of new interest someday (although I won't hold out hope for it)!
Care to see what I've been creating? https://www.youtube.com/user/ytubrute

Clownmug
Posts: 418
Joined: Wed, 11. Dec 13, 02:39
x4

Re: [WIP] Take Control

Post by Clownmug » Fri, 10. Jul 20, 05:59

Ok, released a newer version that fixed some bugs, haven't figured out how to implement a unique cockpit for the controlled ship yet though. All attempts so far have caused weird bugs like losing controls when walking on platforms and the ship randomly becoming untargetable. :x

John Colman
Posts: 141
Joined: Sat, 3. Jan 15, 22:35

Re: [WIP] Take Control

Post by John Colman » Mon, 12. Oct 20, 19:52

Any news on the progress?

Clownmug
Posts: 418
Joined: Wed, 11. Dec 13, 02:39
x4

Re: [WIP] Take Control

Post by Clownmug » Mon, 12. Oct 20, 22:15

I've been putting it off for awhile. Probably will have to settle for making a barebones version of the mod with invisible cockpit and fade transition when switching between ships.

tomchk
Posts: 1294
Joined: Mon, 26. Jan 15, 19:55
x4

Re: [WIP] Take Control

Post by tomchk » Tue, 13. Oct 20, 17:51

Great idea--no need to make it perfect before release, in my opinion! You can always release it here but not on bigger platforms like Steam Workshop, for example. :D
Care to see what I've been creating? https://www.youtube.com/user/ytubrute

Clownmug
Posts: 418
Joined: Wed, 11. Dec 13, 02:39
x4

Re: [WIP] Take Control

Post by Clownmug » Sun, 18. Oct 20, 04:27

The new version with invisible cockpit and transition upon switching ships is now up.

John Colman
Posts: 141
Joined: Sat, 3. Jan 15, 22:35

Re: [WIP] Take Control

Post by John Colman » Sun, 18. Oct 20, 15:49

I like the animation when switching ships.
Sadly, when i am in another ship, i cant use the menu. I am stuck and have to end the game then.
I do really hope that this mod will be someday in the future be really fleshed out and properly working, cause i have read a lot of comments for people complaining primarly about the single ship option and maybe then this game gets the attention it deserves.

Clownmug
Posts: 418
Joined: Wed, 11. Dec 13, 02:39
x4

Re: [WIP] Take Control

Post by Clownmug » Sun, 18. Oct 20, 20:01

John Colman wrote:
Sun, 18. Oct 20, 15:49
I like the animation when switching ships.
Sadly, when i am in another ship, i cant use the menu. I am stuck and have to end the game then.
I do really hope that this mod will be someday in the future be really fleshed out and properly working, cause i have read a lot of comments for people complaining primarly about the single ship option and maybe then this game gets the attention it deserves.
If the menu you're talking about is the side console, I've updated the mod to include it in the controlled ship's cockpit.

Edit: Ugh, should've known this would happen again. Controls sometimes not working when docked and a bunch of input errors in the debug log now, hopefully a fix coming soon.

Edit 2: Ok the control bug is fixed. Still getting debug errors, but oh well.
Last edited by Clownmug on Sun, 18. Oct 20, 22:04, edited 1 time in total.

John Colman
Posts: 141
Joined: Sat, 3. Jan 15, 22:35

Re: [WIP] Take Control

Post by John Colman » Wed, 21. Oct 20, 21:09

Yes i mean the side console. When i open the side console inside a controlled ship and also inside skunk (happens only in the take control gamestart) the console doesnt appear and the game doesnt react in any way except for opening the main menu. But i believe, this issue might be created by another mod, cause i get the same problem when trading with a person inside a station. So i will test this out and let you know when i know more.

Realspace
Posts: 1339
Joined: Wed, 15. Nov 06, 10:21
x4

Re: [WIP] Take Control

Post by Realspace » Sun, 3. Jan 21, 19:22

Great! I enjoy this game right now after years I left it down after purchase...what a surprise. Of course without mods it'd be quite unplayable for me but now it is a little gem, an evolution of Freelance more than X3. Catches me more than X4 that still looks...shallow. The only thing not adressed by mods was indeed controlling other ships (and a better universe map). Thanks!

Clownmug
Posts: 418
Joined: Wed, 11. Dec 13, 02:39
x4

Re: [WIP] Take Control

Post by Clownmug » Mon, 3. May 21, 02:31

Hi all, just released a version 0.4 which makes things slightly more polished. There's still the annoying issue of certain ship models obstructing cockpit view though. If anybody knows a way to hide, mask, cloak, or turn invisible an object in the game I would greatly appreciate it!

tomchk
Posts: 1294
Joined: Mon, 26. Jan 15, 19:55
x4

Re: [WIP] Take Control

Post by tomchk » Mon, 3. May 21, 17:14

Clownmug wrote:
Mon, 3. May 21, 02:31
Hi all, just released a version 0.4 which makes things slightly more polished. There's still the annoying issue of certain ship models obstructing cockpit view though. If anybody knows a way to hide, mask, cloak, or turn invisible an object in the game I would greatly appreciate it!
Nice, I'll have to try this!
Have you already tried placing the player/view inside the object mesh? I believe that is supposed to make the object invisible.
Care to see what I've been creating? https://www.youtube.com/user/ytubrute

Clownmug
Posts: 418
Joined: Wed, 11. Dec 13, 02:39
x4

Re: [WIP] Take Control

Post by Clownmug » Mon, 3. May 21, 19:10

tomchk wrote:
Mon, 3. May 21, 17:14
Clownmug wrote:
Mon, 3. May 21, 02:31
Hi all, just released a version 0.4 which makes things slightly more polished. There's still the annoying issue of certain ship models obstructing cockpit view though. If anybody knows a way to hide, mask, cloak, or turn invisible an object in the game I would greatly appreciate it!
Nice, I'll have to try this!
Have you already tried placing the player/view inside the object mesh? I believe that is supposed to make the object invisible.
Yeah, I wanted to try moving the cockpit position but editing each one seems like a headache. Can't even use the xmf to dae converter because the cockpits have animated parts.

Post Reply

Return to “X Rebirth - Scripts and Modding”