[X3LU] Mayhem 3.21b

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

Post Reply
User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Thu, 3. May 18, 10:14

Be prepared for normal-size Terran factories. It's so much better... Now you can go into Terran sectors without having to cross your fingers and wait for longer loading times.

(and now I can put back Terran sectors into the asteroids generator)


User avatar
Hector0x
Posts: 998
Joined: Mon, 18. Nov 13, 18:03
x3tc

Post by Hector0x » Thu, 3. May 18, 18:33

C'mon please! This was going to be my productive weekend. Now you brought X3 back to the table.

AND RUINED IT!!! :wink:

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Thu, 3. May 18, 19:48

Productive week-end? Never heard of that.

User avatar
Shuulo
Posts: 1629
Joined: Mon, 14. Apr 08, 17:03
x4

Post by Shuulo » Fri, 4. May 18, 16:07

Hey! Is it possible to add terrain sectors to the list of possible empty sectors during galaxy generation?

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Fri, 4. May 18, 16:37

Isn't that already the case?

EDIT: no it's not indeed. Well... I'm not sure about that. Terrans have not many sectors, and I'm sure people who play Terrans only appreciate to see all their sectors populated. It's pretty easy to mod yourself: x3\addon\script\setup.mayhem -> line 435.

User avatar
Shuulo
Posts: 1629
Joined: Mon, 14. Apr 08, 17:03
x4

Post by Shuulo » Fri, 4. May 18, 18:45

Actually, Im the one who played terrans-only 5 or 6 times, and failed miserably due to the fact that it is impossible to settle in the safe sector anywhere near terrans, you are either obliterated by pirates or by invasion of other races, some diplomatic action to ask for help would be cool in such situations. (and this is if you lucky to have empty sector bordering terrans). My record is 1.5 days of survival. (but having it as optional edit is perfect for me, would be cool if you could stick this instruction to cover page, for people who may want this, like myself)

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Fri, 4. May 18, 19:44

The problem here is really about luck... Terrans do not have enough sectors to counteract the fact that in one game, you could have 1 or 2 unknown sectors, and in the next one, 8 empty sectors that will ruin the Terran faction (or maybe not... I'll have to think about it).

User avatar
Shuulo
Posts: 1629
Joined: Mon, 14. Apr 08, 17:03
x4

Post by Shuulo » Fri, 4. May 18, 20:41

Joubarbe wrote: x3\addon\script\setup.mayhem -> line 435.
are you sure about this line number? it seems to be unrelated to unknown sector generation to me

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Fri, 4. May 18, 20:50

Edit in game or with X-Studio, but not with Notepad++ or a text editor.

Code: Select all

if $owner != [Unknown] AND !$isCore AND $unknownSectors < $rng AND $owner != [Goner] AND $owner != [Yaki] AND $owner != [ATF] AND $owner != [Terran] AND $owner != [Xenon] AND $owner != [Player]
Change to:

Code: Select all

if $owner != [Unknown] AND !$isCore AND $unknownSectors < $rng AND $owner != [Goner] AND $owner != [Yaki] AND $owner != [ATF] AND $owner != [Xenon] AND $owner != [Player]
Leave ATF though, or it will crash, as they only have 6 sectors.

User avatar
Shuulo
Posts: 1629
Joined: Mon, 14. Apr 08, 17:03
x4

Post by Shuulo » Fri, 4. May 18, 22:56

Any idea why X-Studio does not want to save the file?
Image

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Fri, 4. May 18, 23:01

You need the custom LU syntax.

Extract to the root X-Studio dir.

User avatar
Shuulo
Posts: 1629
Joined: Mon, 14. Apr 08, 17:03
x4

Post by Shuulo » Fri, 4. May 18, 23:06

Joubarbe wrote:You need the custom LU syntax.

Extract to the root X-Studio dir.
Thanks, that worked!

User avatar
Dr2i
Posts: 779
Joined: Sun, 12. Feb 12, 21:18

Post by Dr2i » Mon, 7. May 18, 21:40

When I export/Import with 2.3.12, The universe is set to its original LU state (cores, sectors that randomly belonged to no one regained their original owners, etc.). I can't find any shipyards either..

Why do I get the feeling I messed something up?
I'm naturally unfriendly sometimes. Don't take what I say too badly.

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Tue, 8. May 18, 08:48

Did you install both E/I packages from LU and Mayhem?

User avatar
Dr2i
Posts: 779
Joined: Sun, 12. Feb 12, 21:18

Post by Dr2i » Wed, 9. May 18, 08:44

Joubarbe wrote:Did you install both E/I packages from LU and Mayhem?
Yes both, first LU then Mayhem (in the installation directory, not addon, yes).
I found the shipyards. After the Export/Import I had to rediscover them. They were not visible in the universe/sector maps like other stations.

But the core/border characteristic for sectors is messed up (core sectors that had shipyards before export are now border but with the shipyards still).

Ownerships are also messed up (back to LU sector ownerships)
I'm naturally unfriendly sometimes. Don't take what I say too badly.

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Wed, 9. May 18, 08:57

There's a problem indeed. "Unknown" race is disregarded. Other sector owners should work though.

User avatar
Dr2i
Posts: 779
Joined: Sun, 12. Feb 12, 21:18

Post by Dr2i » Wed, 9. May 18, 09:02

Joubarbe wrote:Other sector owners should work though.
My game wasn't very advanced. I don't remember any sectors changing hands between races so can't check that. I only have the observation for unknown sectors (I should've been more precise).
I'm naturally unfriendly sometimes. Don't take what I say too badly.

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Wed, 9. May 18, 09:06

E/I 1.13

That should fix unknown sectors, core security levels and known status of Mayhem stations.

User avatar
Dr2i
Posts: 779
Joined: Sun, 12. Feb 12, 21:18

Post by Dr2i » Thu, 10. May 18, 10:11

It's working exept for security levels. Do mayhem security levels overwrite those of LU? Cause I have a mix of both after the import.
I'm naturally unfriendly sometimes. Don't take what I say too badly.

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”