Engine power indicator issue
Moderator: JeremyaFr
Engine power indicator issue
- Phoenix Leader
- Posts: 437
- Joined: Wed Aug 08, 2018 2:20 pm
While I was playing a skirmish mission I noticed that the engine power indicator (top-right blue bar) does not scale correctly when flying a craft with a beam system installed. In particular it is not full when all the 3 recharges (cannons, shields and beams) are totally redirected to the engines.
This only happens on crafts with a beam system installed.
I use GOG v18061 X-Wing Alliance installation.
This problem is present with XWACP v1.5, but not in the basic v2.02 installation.
This only happens on crafts with a beam system installed.
I use GOG v18061 X-Wing Alliance installation.
This problem is present with XWACP v1.5, but not in the basic v2.02 installation.
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
I don't know why you think the XWAUCP might be to blame! There is nothing in it to my knowledge that changes the beam system, I wouldn't know where to start to find anything like that. So please find some genuine evidence first before you start accusing my installers and indirectly me of changing something I have no knowledge of!
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- Driftwood
- Posts: 2174
- Joined: Wed Oct 22, 2003 11:01 pm
- Contact:
It probably has something to do with your screen resolution I would guess. Things act and scale weird at higher resolutions in this game.
- keiranhalcyon7
- Posts: 599
- Joined: Tue Jan 02, 2018 6:41 am
DS, relax. He's just reporting what hes seeing, not accusing anyone of anything. I can confirm this; with DSUCP2.5 installed and flying a ship with a beam weapon installed, the engine power indicator is only 3/4 as full as it ought to be.
Base game: DSUCP2.5:
Base game: DSUCP2.5:
You do not have the required permissions to view the files attached to this post.
- Phoenix Leader
- Posts: 437
- Joined: Wed Aug 08, 2018 2:20 pm
I experienced this problem playing at 1600x1200 resolution, but after setting 800x600 resolution the engine power indicator was full as it should be.
I think Driftwood's theory is correct: the top left HUD and the top right HUD do not scale the same way when the screen resolution is increased.
With a non modded GOG installation I did not see anything strange because the game was forced to run at 800x600 resolution.
I think Driftwood's theory is correct: the top left HUD and the top right HUD do not scale the same way when the screen resolution is increased.
With a non modded GOG installation I did not see anything strange because the game was forced to run at 800x600 resolution.
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
Oh thanks for the apology! Your welcome!
I've just done a test with a vanilla version of GOG removed all the crap they added to the exe that stops you playing above 800x600, set the screen to 1600x1200
And the Right Hud for the Beam System does not scale, anything above 800x600 and it goes out of wack!
I took a quick look at the HUD.dat file and both left and right sides are exactly the same size images, they probably just mirrored the images
It's got to be something in the exe that's stopping it scaling the same way as the Left side and the other HUD objects
EDIT: Just tested it with a vanilla Disc install it does exactly the same thing
I've just done a test with a vanilla version of GOG removed all the crap they added to the exe that stops you playing above 800x600, set the screen to 1600x1200
And the Right Hud for the Beam System does not scale, anything above 800x600 and it goes out of wack!
I took a quick look at the HUD.dat file and both left and right sides are exactly the same size images, they probably just mirrored the images
It's got to be something in the exe that's stopping it scaling the same way as the Left side and the other HUD objects
EDIT: Just tested it with a vanilla Disc install it does exactly the same thing
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- JeremyaFr
- Posts: 3987
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
This problem is due to a bug in the game engine. In functions L0046B4F0 (DrawBeamStrength3D) and L00469A80 (DrawPowerSettings3D), there is a missing hud scaling.
Here is a fix:
Here is a corresponding patch:
EDIT: do not apply this because it's anold version. Instead, use the latest version from XwaExePatcher.
Here is a fix:
Code: Select all
; Fix beam HUD scaling
At offset 06A960, replace 75226814555B00FFD68B0DC81C8C0033C03BC7750F6888585B00FFD65F5E5D5B83C414C3 with 508B44242625FFFF000089442414DB442414D80DB8026000E8D3F0120066894424265890.
At offset 0691A6, replace 8B0D2CC76800895C241881E1FFFF00008974241C2BC1895C242089442414DF6C2414DF6C241CDC0D90995A00 with 8B0D2CC7680081E1FFFF00008974241C2BC189442414DB442414DB44241CD80DB8026000DC0D90995A009090.
Code: Select all
<Patch Name="Fix beam HUD scaling">
<Item Offset="06A960" From="75226814555B00FFD68B0DC81C8C0033C03BC7750F6888585B00FFD65F5E5D5B83C414C3" To="508B44242625FFFF000089442414DB442414D80DB8026000E8D3F0120066894424265890"/>
<Item Offset="0691A6" From="8B0D2CC76800895C241881E1FFFF00008974241C2BC1895C242089442414DF6C2414DF6C241CDC0D90995A00" To="8B0D2CC7680081E1FFFF00008974241C2BC189442414DB442414DB44241CD80DB8026000DC0D90995A009090"/>
</Patch>
Last edited by JeremyaFr on Thu Feb 14, 2019 4:39 pm, edited 1 time in total.
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- JeremyaFr
- Posts: 3987
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
I've removed the second item from the fix as it is not needed.
I've removed the second item from the fix as it is not needed.
- JeremyaFr
- Posts: 3987
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
I've added the patch to XwaExePatcher.
I've added the patch to XwaExePatcher.
- Epsilon Eridani
- Posts: 48
- Joined: Sun Jul 08, 2018 6:57 am
I installed the new craft pack and this problem is not solved at all: when flying an Assault Gunboat with a tractor beam system the engine power indicator is at 0% (empty) when all 3 recharges cannon, shields and beam system are at maximum rate, and it shows 1/8 power (12.5%) in every other energy configuration.
This has been tested both at 800x600 resolution and at 1600x1200 resolution.
This has been tested both at 800x600 resolution and at 1600x1200 resolution.
- Phoenix Leader
- Posts: 437
- Joined: Wed Aug 08, 2018 2:20 pm
You are right, Epsilon. The engine power indicator (blue bar) now seems to work on a 0 or 1 logic for crafts with a beam weapon system installed.
It shows 0% when all the 3 recharges are at maximum rate, 12.5% if at least 1 recharge is not, and these ones are the only 2 levels displayable.
This now happens regardless of the screen resolution.
It shows 0% when all the 3 recharges are at maximum rate, 12.5% if at least 1 recharge is not, and these ones are the only 2 levels displayable.
This now happens regardless of the screen resolution.
- Mark_Farlander
- Posts: 580
- Joined: Tue Jan 16, 2018 10:47 pm
This has something to do with the fact that the engine power indicator should be divided in 12 levels when a beam weapon is installed, whereas 8 levels are enough without it.
I don't judge tactics. The Battle is the best and only Judge.
- Phoenix Leader
- Posts: 437
- Joined: Wed Aug 08, 2018 2:20 pm
12.5% is 1/8 so it seems the power indicator is still working on the usual 8 levels division, but with a 0 or 1 logic.
- JeremyaFr
- Posts: 3987
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Have you checked that the beam HUD scaling patch is applied?
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
If they have XWAUCPv1.6 or DSUCPv2.6 installed then the answer is yes they have the patch installed, I should point out that the Rebel Beam patch is also included
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- Mark_Farlander
- Posts: 580
- Joined: Tue Jan 16, 2018 10:47 pm
I meant a 12 levels sub-bar division with a beam weapon installed, so there are actually 13 levels available (from 0 to 12 ); or the usual 8 levels sub-bar division without a beam weapon installed, so there are actually 9 levels available (from 0 to 8 ).Mark_Farlander wrote: ↑Sun Mar 31, 2019 8:14 amThis has something to do with the fact that the engine power indicator should be divided in 12 levels when a beam weapon is installed, whereas 8 levels are enough without it.
I don't judge tactics. The Battle is the best and only Judge.
- JeremyaFr
- Posts: 3987
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Hello,
It seems that the craft packs don't include the latest version of the patch from XwaExePatcher but an older one. That's what cause the problem.
It seems that the craft packs don't include the latest version of the patch from XwaExePatcher but an older one. That's what cause the problem.
- Darksaber
- Posts: 10931
- Joined: Mon Jan 10, 2000 12:01 am
- Contact:
Probably because I didn't know there was a different version
I'll try and create a fix
EDIT: Yes it's the old values patch, plus I missed out the Beam system for rebel starfighters patch
I'll try and create a fix
EDIT: Yes it's the old values patch, plus I missed out the Beam system for rebel starfighters patch
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station
- John Lydgate
Good Things Come To Those Who Wait....
Darksaber's X-Wing Station