[X3LU] Mayhem 2.7.8

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
amadeok
Posts: 67
Joined: Sat, 3. Oct 15, 04:10

Re: [X3LU] Mayhem 2.7.8

Post by amadeok » Sat, 3. Nov 18, 22:39

Hi,
I think i have to report a bug. The game freezes when i use the Supply refuel command. I had the same problem before with vanilla litcube, and the changelog stated that it was fixed.
This savegame i uploaded does not freeze, because i didn't give command to the Supply ship. There is only one ship that has the supply command software and it's UT 004 Caiman Adv
https://drive.google.com/file/d/11K41_r ... sp=sharing
Btw its a great mod, i hope that x4 is like this.

amadeok
Posts: 67
Joined: Sat, 3. Oct 15, 04:10

Re: [X3LU] Mayhem 2.7.8

Post by amadeok » Tue, 6. Nov 18, 04:49

Hi,
After playing for a while the framerate goes from around 50 to around 20. If i reload the savegame it goes back to 50, but after a while it goes back again to 20. Anyone had this problem?
This the save: https://drive.google.com/file/d/1lInwxx ... sp=sharing
I'm using only MLCC TM Compatibility and ADS - Joubarbian Edition, that i extracted into the main installation folder. Is this correct or should extract them to the addon folder?
Anyone please?
Is there any way i can see what scripts are running in real time to try to troubleshoot it?

Fureimuu
Posts: 335
Joined: Sun, 2. Feb 14, 10:27

Re: [X3LU] Mayhem 2.7.8

Post by Fureimuu » Tue, 6. Nov 18, 13:09

Does it happen everywhere or in a certain sector(s)?

lighters
Posts: 57
Joined: Wed, 11. Feb 15, 11:48

Re: [X3LU] Mayhem 2.7.8

Post by lighters » Tue, 6. Nov 18, 13:35

Does Mayhem change turn rate of the ships? In LU average turn rate of M2s is 0.3-0.4 rpm which is already very low, but now in Mayhem I see 0.2 and even 0.1 sometimes which just doesn't make any sense - they can cross an entire sector for the same time they can turn around on the spot. It also messes up the AI which uses full forward when attacking and thus sends the ship into a 50 km loop to just turn around.

Shuulo
Posts: 304
Joined: Mon, 14. Apr 08, 17:03

Re: [X3LU] Mayhem 2.7.8

Post by Shuulo » Tue, 6. Nov 18, 22:57

lighters wrote:
Tue, 6. Nov 18, 13:35
Does Mayhem change turn rate of the ships? In LU average turn rate of M2s is 0.3-0.4 rpm which is already very low, but now in Mayhem I see 0.2 and even 0.1 sometimes which just doesn't make any sense - they can cross an entire sector for the same time they can turn around on the spot. It also messes up the AI which uses full forward when attacking and thus sends the ship into a 50 km loop to just turn around.
Yes, mayhem has some changes to ship parameters. Also, if i remember correctly Mayhem changes the way capital ships engage, so they do not go full forward but try to circle the enemy shooting with their side turrets (if they do not have main weapons)

User avatar
Kadatherion
Posts: 474
Joined: Fri, 25. Nov 05, 17:05

Re: [X3LU] Mayhem 2.7.8

Post by Kadatherion » Wed, 7. Nov 18, 14:13

lighters wrote:
Tue, 6. Nov 18, 13:35
Does Mayhem change turn rate of the ships? In LU average turn rate of M2s is 0.3-0.4 rpm which is already very low, but now in Mayhem I see 0.2 and even 0.1 sometimes which just doesn't make any sense - they can cross an entire sector for the same time they can turn around on the spot. It also messes up the AI which uses full forward when attacking and thus sends the ship into a 50 km loop to just turn around.
Actually, not really: yaw, pitch and roll RPM is pretty much the same for M2s in Mayhem and Litcube (just quickly checked comparing the two tships files). Even in Litcube's a 0.3 RPM turn rate is a HIGH turn rate given only to light and "nimble" M2s like the OTAS Boreas. Normal M2s usually are around 0.2 (like the Titan or Atlas, to remain in Argon territory), while M2P (like the Excalibur) usually are 0.1. There might end up being a slight difference in the actual game, when compared to LU, because in Mayhem you don't have speed/turn extensions to buy (except for just 1 speed extension through perks), but it doesn't make much of a difference tbh.

And, btw, that's pretty much a necessity given the weapon rebalance done by Litcube: the decreased fire rate mixed with the much shorter fire sustainability of every weapon NEEDS less agile big ships, capital ship weapons can be as slow as firing 2 salvos per minute, more agile M2s could make cap ship battles close to impossible to resolve IS.

User avatar
Kadatherion
Posts: 474
Joined: Fri, 25. Nov 05, 17:05

Re: [X3LU] Mayhem 2.7.8

Post by Kadatherion » Wed, 7. Nov 18, 16:43

While I'm here, double post - pardon me - since it's a whole other topic: Joubarbe, while playing and messing a bit with my files to rebalance a couple things to my tastes, I noticed an issue with the Cluster Flaks. I believe it probably was already in LU, but since Mayhem also comes with its own graphics package now, you might be interested in looking into it.

Basically, I found that a good chunk of Cluster Flaks firing together (as it often happens if you fly an Argon M2, as they are among the best weapons for defense against fighters and even medium sized threats) easily halve my FPS, from stable 60s to low 30s. This doesn't come from the actual "fragments" but from the lens flare effect: I just switched it in the effects.txt to the similar (but white) lens flare effect of the terran equivalent artillery (thus, using the lens flare from effect 304 in the effect 310, IIRC), and I'm good to go again. Teladi normal flak artillery works fine as well, not even the slightest FPS drop.

I have a quite decent GTX 1060 6GB, so it really shouldn't be a GPU bottleneck. Initially I guessed it had to be a CPU bottleneck for the hit detection of cluster flaks, but if just changing the lens flare effect solves it, maybe the effect itself is badly optimized? Mine was just a quick and dirty edit to make the game better playable, but for visual variety's sake I suppose a good approach could be copying the actual lens flare graphics of either the normal flak or the starbust shockwave cannon, and change its color back to the reddish one the Cluster Flaks normally have. Still not going to be exactly the same as it was, but better than nothing I guess.

Fureimuu
Posts: 335
Joined: Sun, 2. Feb 14, 10:27

Re: [X3LU] Mayhem 2.7.8

Post by Fureimuu » Wed, 7. Nov 18, 18:57

This game doesn't know what gpu bottleneck is. The engine is too old to properly utilize your videocard.

User avatar
Kadatherion
Posts: 474
Joined: Fri, 25. Nov 05, 17:05

Re: [X3LU] Mayhem 2.7.8

Post by Kadatherion » Wed, 7. Nov 18, 19:43

Fureimuu wrote:
Wed, 7. Nov 18, 18:57
This game doesn't know what gpu bottleneck is. The engine is too old to properly utilize your videocard.
That's a different matter. The greatest perfomance issue and as such bottleneck with the game - because of its old engine - is CPU, as it's a single threaded application (with LOTS of CPU calculations going on with thousands of ships, entities and scripts running). That's why Litcube rebalanced the weapons so that there are much fewer projectiles in space at any one time: because each projectile calls for CPU calculations (especially on hit): the actual video load of more projectiles has always been in comparison fairly negligible in X3.
When it comes to two lens flare effects that should pretty much be the same kind of asset except for color and a slight linear glow, and one of the two halves your FPS while the other causes no loss whatsoever, then the issue does not come from the engine being old per se (which it is, often overloading the CPU when GPU could indeed be used more and better), it likely is the specific asset.

Ragemaster9999
Posts: 200
Joined: Mon, 17. May 10, 08:53

Re: [X3LU] Mayhem 2.7.8

Post by Ragemaster9999 » Thu, 8. Nov 18, 05:04

I cant figure out how to get a transporter or salvage insurance. I need a transporter device to arm my orbital weapons platform before the first wave arrives, can anyone give me some advice.

KingSloth
Posts: 1
Joined: Wed, 4. Jan 17, 03:37

Re: [X3LU] Mayhem 2.7.8

Post by KingSloth » Thu, 8. Nov 18, 05:32

Ragemaster9999 wrote:
Thu, 8. Nov 18, 05:04
I cant figure out how to get a transporter or salvage insurance. I need a transporter device to arm my orbital weapons platform before the first wave arrives, can anyone give me some advice.
Jonferco Headquarters in the Belt of Aguilar has a transporter device for sale. I've found Insurance around Terran space.

Fureimuu
Posts: 335
Joined: Sun, 2. Feb 14, 10:27

Re: [X3LU] Mayhem 2.7.8

Post by Fureimuu » Thu, 8. Nov 18, 11:08

My fps is already shite, it can't get any worse :D

lighters
Posts: 57
Joined: Wed, 11. Feb 15, 11:48

Re: [X3LU] Mayhem 2.7.8

Post by lighters » Thu, 8. Nov 18, 16:06

Transporter device is sold by most if not all corporate HQs.

Salvage insurance is sold, for example, at Terracorp HQ in Home of Light.

Ragemaster9999
Posts: 200
Joined: Mon, 17. May 10, 08:53

Re: [X3LU] Mayhem 2.7.8

Post by Ragemaster9999 » Thu, 8. Nov 18, 19:57

Thank you everyone. I have found the transporter device and equipped my naked orbital weapons platform with a 2G shield. Now trying to figure out how to best outfit this badboy. Any suggestions? So many laser options!

Fureimuu
Posts: 335
Joined: Sun, 2. Feb 14, 10:27

Re: [X3LU] Mayhem 2.7.8

Post by Fureimuu » Thu, 8. Nov 18, 20:06

What size is the platform? I don't use small and medium ones, but here is my LOWP loadout:

Front - any capital weapon, I usually go for either Ion Cannons or Gauss Cannons;
Back - AA guns, FAA or CFA will do;
Right 1, Left 1 - light capital weapon, Gauss Cannons are best imo;
Right 2, Left 2 - AA guns, FAA or CFA.

Front, Right 1 and Left 1 are set to Attack Capitals, the rest is either Protect Ship or Attack Enemies.

Medium platforms are good enough for Tri-Beam Cannons or PALCs. Last time I had no time producing those, so I went for 32 CIGs and it did okay. Make sure to give it max shields though and a few guns. It should be enough.
Last edited by Fureimuu on Sat, 10. Nov 18, 16:17, edited 1 time in total.

Post Reply

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