[MOD] Extending Station Fix/Hack - Override Obstruction Check

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

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

User avatar
pilakin
Posts: 235
Joined: Sat, 16. Feb 08, 23:44

[MOD] Extending Station Fix/Hack - Override Obstruction Check

Post by pilakin »

You know after you give an order to an architect to expand a station and then just nothing happens at all? well, there's an obstruction check in the NPC_Architect.xml checking for ships in the building area. if the check fails the cue is reset and nothing happens at all. the user isn't also notified unless you edit the debug_text to filter="error" level or some other kind of notice. so I commented the check out and grandma finally starts expanding! guess what ships are in the place of the expanding area, blocking the obstruction check? XS mass traffic ships ... :roll:

Mod: https://www.dropbox.com/s/stpnvxzthroc2 ... nCheck.zip

[ external image ]

Building over mass traffic doesn't seem to cause any problems. Can't tell what might happen if there's some bigger ship blocking the area.
Last edited by pilakin on Fri, 6. Dec 13, 11:16, edited 7 times in total.
Scoob
Posts: 11170
Joined: Thu, 27. Feb 03, 22:28
x4

Post by Scoob »

Heh, I soon as I started reading your post I thought "mass traffic" - good find though. I actually went and killed ALL mass traffic around the building site of my own station...not sure it achieved anything other than my own satisfaction :)

Scoob.
Neneth
Posts: 3
Joined: Fri, 29. Nov 13, 17:56

Post by Neneth »

sorry my englisch ist not the best.

I have the same Problem, what i have to do, to get the Upgrade of my Station start?

Many people say i should leave the Sektor and come back.... dont work.

So what have you done to start?!?
Logain Abler
Posts: 2255
Joined: Mon, 31. Oct 05, 08:44
x4

Post by Logain Abler »

I've found de-assigning & re-assigning a ship to the construction ship helps getting the expand command accepted. May just be coincides.

LA
User avatar
pilakin
Posts: 235
Joined: Sat, 16. Feb 08, 23:44

Post by pilakin »

Wow I just spent half an hour trying to upload this to Nexus. After the 20th ""There was an error while storing your file in our database. Please try again." I was a bit mad.

Anyway use this mod to remove the obstruction check:
https://www.dropbox.com/s/stpnvxzthroc2 ... nCheck.zip
BlueWulv
Posts: 238
Joined: Sat, 7. Feb 04, 17:06
x4

Post by BlueWulv »

I think the Nexus site is getting a bigger update today with some downtimes. Just try it again tomorrow :)
User avatar
Baconnaise
Posts: 766
Joined: Sat, 23. Nov 13, 15:50
x4

Post by Baconnaise »

Thanks for this. I kept having to jump in the highway briefly and then back out to get any sort of traction or leave and come back.
ICO_hr
Posts: 415
Joined: Sat, 31. Aug 13, 17:56

Post by ICO_hr »

So station not bulding isnt bug after all.They just dont notify the player when something is in the building area.OMG!!! :shock:
jeroll3d
Posts: 665
Joined: Thu, 26. Jun 08, 02:28
x3ap

Post by jeroll3d »

I my case, the shipyard stop prodiction of my ship.

Exist any script to fix this?

:evil:
Entusiasta da série X3! The best game.
copperzinc
Posts: 80
Joined: Sun, 23. Sep 12, 20:29
x4

Post by copperzinc »

That's a different problem. Try go to your savefile and remove resources in <shop tag (search it)

Ships requires raw materials to build. If the shipyard don't have enough resources, you either have to supply it manually to the shipyard, wait until NPC does it, or edit your savefile.

Cheers!

I actually tried to remove the obstruction check before. But it didn't solve my problem. I think there's something else. My drones keep getting stuck around the station. Perhaps I need another drone AI script?
jeroll3d
Posts: 665
Joined: Thu, 26. Jun 08, 02:28
x3ap

Post by jeroll3d »

copperzinc wrote:That's a different problem. Try go to your savefile and remove resources in <shop tag (search it)

Ships requires raw materials to build. If the shipyard don't have enough resources, you either have to supply it manually to the shipyard, wait until NPC does it, or edit your savefile.

Cheers!

I actually tried to remove the obstruction check before. But it didn't solve my problem. I think there's something else. My drones keep getting stuck around the station. Perhaps I need another drone AI script?
Thanks, but, is just "<shop tag", (i have 2 ships in construct)
Entusiasta da série X3! The best game.
User avatar
pilakin
Posts: 235
Joined: Sat, 16. Feb 08, 23:44

Post by pilakin »

ICO_hr wrote:So station not bulding isnt bug after all.They just dont notify the player when something is in the building area.OMG!!! :shock:
yeah. but how would you get rid of the mass traffic anyway. if you shoot them they just keep respawning and you would get hostile with factions. the check is meant for bigger ships sitting in the area for some reason. they will move sooner or later.
the mass traffic paths however must be redisigned to never block the building areas. but that's for egosoft to do.
Llogeyr
Posts: 6
Joined: Sun, 23. Mar 08, 01:11

Post by Llogeyr »

Pilakin,

Thank You for this. Worked like a charm. Was able to start building up my Construction Shop again. I also did not see any interference from any of the bigger ships that may have been in the path of building.
Darkhan
Posts: 87
Joined: Wed, 5. Oct 05, 20:54
x4

Post by Darkhan »

Might be interesting to consider disabling the xs traffic until the station is operational (ie has a manager). Then the construction ship goes away anyway.
User avatar
pilakin
Posts: 235
Joined: Sat, 16. Feb 08, 23:44

Post by pilakin »

Darkhan wrote:Might be interesting to consider disabling the xs traffic until the station is operational (ie has a manager). Then the construction ship goes away anyway.
actually this got fixed in 1.18. the CV stais put and isn't used for trading by the manager any more.
Frosty273
Posts: 15
Joined: Sun, 24. Nov 13, 15:34

Post by Frosty273 »

pilakin wrote:Wow I just spent half an hour trying to upload this to Nexus. After the 20th ""There was an error while storing your file in our database. Please try again." I was a bit mad.

Anyway use this mod to remove the obstruction check:
https://www.dropbox.com/s/stpnvxzthroc2 ... nCheck.zip
Awesome Pilakin, thanks for creating and sharing this fix, really looking forward to getting the construction side of things working. Wish Egosoft has just released a game that works properly but hey.

Question I have now is how do I apply the Mod? Do I just put it in the save game file? If so does it matter where?

Thanks again! :)
User avatar
pilakin
Posts: 235
Joined: Sat, 16. Feb 08, 23:44

Post by pilakin »

Observe wrote:Installing Mods

Most of you will not be modding the game but simply use them.
The game's mod folder will be something like...

\Steam\steamapps\common\x_rebirth\extensions\

You probably have to create the "extensions" folder but then you can just drag and drop custom mod folders in there.

Just to verify, the end result would look like...
\Steam\steamapps\common\x_rebirth\extensions\AwesomeMod_v2\content.xml

That's it. Next time you launch the game, check if the new "extension" is enabled.
from http://forum.egosoft.com/viewtopic.php?t=347831
Darkhan
Posts: 87
Joined: Wed, 5. Oct 05, 20:54
x4

Post by Darkhan »

Gave the mod a whirl yesterday and I have to admit construction went off without a glitch. NO architect glitching out. :D
Frosty273
Posts: 15
Joined: Sun, 24. Nov 13, 15:34

Post by Frosty273 »

pilakin wrote:
Observe wrote:Installing Mods

Most of you will not be modding the game but simply use them.
The game's mod folder will be something like...

\Steam\steamapps\common\x_rebirth\extensions\

You probably have to create the "extensions" folder but then you can just drag and drop custom mod folders in there.

Just to verify, the end result would look like...
\Steam\steamapps\common\x_rebirth\extensions\AwesomeMod_v2\content.xml

That's it. Next time you launch the game, check if the new "extension" is enabled.
from http://forum.egosoft.com/viewtopic.php?t=347831
Pilakin my dear chap, you sir are AWESOME!

You should be getting paid by Egosoft for sorting out their Game, seriously, you should!

Just followed the steps you set and construction is working well now. MASSIVE THANKS!!!! 8)
User avatar
Frumph
Posts: 302
Joined: Wed, 20. Nov 13, 03:12
x4

Post by Frumph »

Just a side note, some station pieces can get misaligned on creation after using this mod.

(or to be more appropriate)

I have seen some station components not positioned properly in connection points, usually with an off yaw=" while using this mod.

Return to “X Rebirth - Scripts and Modding”