[MOD] NoSuperHighways

The place to discuss scripting and game modifications for X4: Foundations.

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

Nemesis_87
Posts: 730
Joined: Sat, 19. Mar 11, 16:26
x3tc

Re: [MOD] NoSuperHighways

Post by Nemesis_87 » Mon, 27. Jul 20, 18:15

Well its just to go with VRO, and NoSuperHighways was reccomended
Mods

Argon Citizen gamestart
Sector satalites
Learning All The Things
Cheat Menu

Neloth23
Posts: 71
Joined: Thu, 13. Jul 17, 18:31
x4

Re: [MOD] NoSuperHighways

Post by Neloth23 » Sat, 29. Aug 20, 19:46

Nemesis_87 wrote:
Sun, 26. Jul 20, 15:37
Just started a new VRO game and it says to use this mod, but for some reason this mod prevents me from loading or even starting new games, it just stops at 35% while loading

Tested with and without NoSuperHighways and when its disabled the game starts up ok
Here's what I did to solve the issue on my end. I hope it can work for you as well. I took inspiration from the expanded sectors mod, so credit for the solution goes to its author.

NOTE : I tried to contact NoSuperHighway's author on Nexus to ask if I could post my modified version of the mod, but it seems he no longer supports the mod. So I'm posting the modified code instead. If it poses an issue to the OP or the author, let me know and I'll remove my post.

Basically, you'll need 3 files in "extensions/NoSuperHighway/maps/XU_ep2_universe" for it to work.

1. Edit the zonehighways.xml file so that it looks like this:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<diff>
	<replace sel="//macros">
		<macros>
		</macros>
	</replace>
</diff>
2. Add a sectors.xml file with this code:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<diff>
	<remove sel="//macros/macro[@name='Cluster_08_Sector001_macro']/connections/connection[@name='Highway02_Cluster_08_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_08_Sector001_macro']/connections/connection[@name='Highway01_Cluster_08_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_34_Sector001_macro']/connections/connection[@name='Highway01_Cluster_34_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_34_Sector001_macro']/connections/connection[@name='Highway02_Cluster_34_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_09_Sector001_macro']/connections/connection[@name='Highway01_Cluster_09_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_09_Sector001_macro']/connections/connection[@name='Highway02_Cluster_09_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_18_Sector001_macro']/connections/connection[@name='Highway01_Cluster_18_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_18_Sector001_macro']/connections/connection[@name='Highway02_Cluster_18_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_18_Sector001_macro']/connections/connection[@name='Highway03_Cluster_18_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_10_Sector001_macro']/connections/connection[@name='Highway01_Cluster_10_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_10_Sector001_macro']/connections/connection[@name='Highway02_Cluster_10_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_22_Sector001_macro']/connections/connection[@name='Highway01_Cluster_22_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_22_Sector001_macro']/connections/connection[@name='Highway02_Cluster_22_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_11_Sector001_macro']/connections/connection[@name='Highway03_Cluster_11_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_11_Sector001_macro']/connections/connection[@name='Highway02_Cluster_11_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_24_Sector001_macro']/connections/connection[@name='Highway02_Cluster_24_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_24_Sector001_macro']/connections/connection[@name='Highway01_Cluster_24_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_24_Sector001_macro']/connections/connection[@name='Highway03_Cluster_24_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_24_Sector001_macro']/connections/connection[@name='Highway04_Cluster_24_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_12_Sector001_macro']/connections/connection[@name='Highway01_Cluster_12_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_12_Sector001_macro']/connections/connection[@name='Highway02_Cluster_12_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_13_Sector001_macro']/connections/connection[@name='Highway02_Cluster_13_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_13_Sector001_macro']/connections/connection[@name='Highway01_Cluster_13_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_14_Sector001_macro']/connections/connection[@name='Highway02_Cluster_14_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_14_Sector001_macro']/connections/connection[@name='Highway01_Cluster_14_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_29_Sector001_macro']/connections/connection[@name='Highway01_Cluster_29_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_29_Sector001_macro']/connections/connection[@name='Highway02_Cluster_29_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_04_Sector001_macro']/connections/connection[@name='Highway01_Cluster_04_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_04_Sector001_macro']/connections/connection[@name='Highway02_Cluster_04_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_15_Sector001_macro']/connections/connection[@name='Highway02_Cluster_15_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_15_Sector001_macro']/connections/connection[@name='Highway01_Cluster_15_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_19_Sector001_macro']/connections/connection[@name='Highway01_Cluster_19_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_20_Sector001_macro']/connections/connection[@name='Highway02_Cluster_20_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_20_Sector001_macro']/connections/connection[@name='Highway04_Cluster_20_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_25_Sector001_macro']/connections/connection[@name='Highway02_Cluster_25_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_25_Sector001_macro']/connections/connection[@name='Highway01_Cluster_25_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_28_Sector001_macro']/connections/connection[@name='Highway01_Cluster_28_Sector001_connection']"/>
	<remove sel="//macros/macro[@name='Cluster_28_Sector001_macro']/connections/connection[@name='Highway02_Cluster_28_Sector001_connection']"/>

	<remove sel="//macros/macro[@name='Cluster_32_Sector001_macro']/connections/connection[@name='Highway02_Cluster_32_Sector001_connection']"/>
</diff>

3. Add a zones.xml file with this code:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<diff>
	<remove sel="//macros/macro[@name='Zone004_Cluster_08_Sector001_macro']/connections/connection[@ref='Highway02Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone004_Cluster_08_Sector001_macro']/connections/connection[@ref='Highway01Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_29_Sector001_macro']/connections/connection[@ref='Highway02Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_29_Sector001_macro']/connections/connection[@ref='Highway01Connection02_gate']" />

	<remove sel="//macros/macro[@name='Zone002_Cluster_08_Sector001_macro']/connections/connection[@ref='Highway02Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_08_Sector001_macro']/connections/connection[@ref='Highway01Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone003_Cluster_34_Sector001_macro']/connections/connection[@ref='Highway01Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone003_Cluster_34_Sector001_macro']/connections/connection[@ref='Highway02Connection02_gate']" />

	<remove sel="//macros/macro[@name='Zone001_Cluster_09_Sector001_macro']/connections/connection[@ref='Highway02Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone001_Cluster_09_Sector001_macro']/connections/connection[@ref='Highway01Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone005_Cluster_34_Sector001_macro']/connections/connection[@ref='Highway02Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone005_Cluster_34_Sector001_macro']/connections/connection[@ref='Highway01Connection02_gate']" />

	<remove sel="//macros/macro[@name='Zone002_Cluster_09_Sector001_macro']/connections/connection[@ref='Highway02Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_09_Sector001_macro']/connections/connection[@ref='Highway01Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_09_Sector001_macro']/connections/connection[@ref='Highway03Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_09_Sector001_macro']/connections/connection[@ref='Highway03Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone003_Cluster_18_Sector001_macro']/connections/connection[@ref='Highway02Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone003_Cluster_18_Sector001_macro']/connections/connection[@ref='Highway01Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone003_Cluster_18_Sector001_macro']/connections/connection[@ref='Highway03Connection02_gate']" />

	<remove sel="//macros/macro[@name='Zone002_Cluster_10_Sector001_macro']/connections/connection[@ref='Highway03Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_10_Sector001_macro']/connections/connection[@ref='Highway02Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_10_Sector001_macro']/connections/connection[@ref='Highway01Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone005_Cluster_18_Sector001_macro']/connections/connection[@ref='Highway02Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone005_Cluster_18_Sector001_macro']/connections/connection[@ref='Highway01Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone005_Cluster_18_Sector001_macro']/connections/connection[@ref='Highway03Connection01_gate']" />

	<remove sel="//macros/macro[@name='Zone001_Cluster_10_Sector001_macro']/connections/connection[@ref='Highway02Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone001_Cluster_10_Sector001_macro']/connections/connection[@ref='Highway01Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone001_Cluster_10_Sector001_macro']/connections/connection[@ref='Highway03Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_22_Sector001_macro']/connections/connection[@ref='Highway02Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_22_Sector001_macro']/connections/connection[@ref='Highway01Connection01_gate']" />

	<remove sel="//macros/macro[@name='Zone001_Cluster_11_Sector001_macro']/connections/connection[@ref='Highway01Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone001_Cluster_11_Sector001_macro']/connections/connection[@ref='Highway01Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone001_Cluster_11_Sector001_macro']/connections/connection[@ref='Highway02Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone001_Cluster_11_Sector001_macro']/connections/connection[@ref='Highway03Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone001_Cluster_11_Sector001_macro']/connections/connection[@ref='Highway02Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone001_Cluster_11_Sector001_macro']/connections/connection[@ref='Highway03Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone004_Cluster_22_Sector001_macro']/connections/connection[@ref='Highway02Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone004_Cluster_22_Sector001_macro']/connections/connection[@ref='Highway01Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone004_Cluster_24_Sector001_macro']/connections/connection[@ref='Highway01Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone004_Cluster_24_Sector001_macro']/connections/connection[@ref='Highway02Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone004_Cluster_24_Sector001_macro']/connections/connection[@ref='Highway04Connection02_gate']" />

	<remove sel="//macros/macro[@name='Zone001_Cluster_12_Sector001_macro']/connections/connection[@ref='Highway02Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone001_Cluster_12_Sector001_macro']/connections/connection[@ref='Highway01Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_24_Sector001_macro']/connections/connection[@ref='Highway02Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_24_Sector001_macro']/connections/connection[@ref='Highway01Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_24_Sector001_macro']/connections/connection[@ref='Highway03Connection01_gate']" />

	<remove sel="//macros/macro[@name='Zone003_Cluster_12_Sector001_macro']/connections/connection[@ref='Highway01Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone003_Cluster_12_Sector001_macro']/connections/connection[@ref='Highway02Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_13_Sector001_macro']/connections/connection[@ref='Highway02Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone002_Cluster_13_Sector001_macro']/connections/connection[@ref='Highway01Connection02_gate']" />

	<remove sel="//macros/macro[@name='Zone003_Cluster_13_Sector001_macro']/connections/connection[@ref='Highway02Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone003_Cluster_13_Sector001_macro']/connections/connection[@ref='Highway01Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone001_Cluster_14_Sector001_macro']/connections/connection[@ref='Highway02Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone001_Cluster_14_Sector001_macro']/connections/connection[@ref='Highway01Connection02_gate']" />

	<remove sel="//macros/macro[@name='Zone003_Cluster_14_Sector001_macro']/connections/connection[@ref='Highway01Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone003_Cluster_14_Sector001_macro']/connections/connection[@ref='Highway02Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone003_Cluster_14_Sector001_macro']/connections/connection[@ref='Highway03Connection02_gate']" />
	<remove sel="//macros/macro[@name='Zone003_Cluster_14_Sector001_macro']/connections/connection[@ref='Highway03Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone003_Cluster_29_Sector001_macro']/connections/connection[@ref='Highway01Connection01_gate']" />
	<remove sel="//macros/macro[@name='Zone003_Cluster_29_Sector001_macro']/connections/connection[@ref='Highway02Connection02_gate']" />
</diff>
And that's it! Hope it helps.

Post Reply

Return to “X4: Foundations - Scripts and Modding”