Graphic bug in design menu #4649
Comments
alfred007 uploaded file |
alfred007 commented And also when you change the propulsion or the turret to a stronger one. |
Berserk Cyborg changed blockedby which not transferred by tractive |
Berserk Cyborg changed blocking which not transferred by tractive |
Berserk Cyborg commented I attempted to fix this. There seems to be more smaller problems with minor component shadow markers, namely body armors seem to be a few points higher (?) and the markers for speed with hover are off. |
Forgon uploaded file patch file created with |
Forgon commented I tested your patch and found no problem with it. A whitespace error Git complained about has been fixed. |
Berserk Cyborg commented In Warzone2100/warzone2100@ae7b5ce:
|
alfred007 commented I update to master ae7b5ce and checked it. The lines for the change of body and turret are in the right place but for speed at propulsion change still not. Especially when you look at the change from/to tracks the lines are not at the right place. Also with some turrets (i. e. heavy cannon, commander) with the change from wheels to hover and back. |
alfred007 uploaded file |
Berserk Cyborg commented Missed a few cases so the below patch should show the shadow markers more accurately for total HP and power when changing between weapon and system components. @alfred007 Yep, the speed marks are all wrong when changing the propulsion. Some notes for later:
|
Berserk Cyborg commented Don't think we need the if statement in the shadow power/hp markers
Since we don't care what the current design of the template is, only the component type that is highlighted. It also leaves most of the system variables incorrectly set when highlighting a component (due to how everything is calculated, the end result would still be the same). As for road speeds, it is calculating the weight and base speed using only the current template, and not using the newly highlighted propulsion in intCalcSpeed(). |
Berserk Cyborg uploaded file |
Berserk Cyborg uploaded file |
Berserk Cyborg uploaded file |
Berserk Cyborg uploaded file |
Berserk Cyborg uploaded file |
Berserk Cyborg changed _comment0 which not transferred by tractive |
Berserk Cyborg changed _comment1 which not transferred by tractive |
Berserk Cyborg commented Ok, I think I got it all now. These shadow markers were really broken. edit.
edit 2. |
Berserk Cyborg uploaded file |
Berserk Cyborg committed [4] In Warzone2100/warzone2100@4c57502:
|
Berserk Cyborg committed [7] In Warzone2100/warzone2100@7bed711:
|
Berserk Cyborg commented In Warzone2100/warzone2100@d22da3d:
|
Berserk Cyborg changed status from |
Berserk Cyborg changed resolution from `` to |
Berserk Cyborg commented Shadow markers appear to be accurate. Closing for now. |
resolution_fixed
type_bug
| by alfred007When you want to change the body for a template a red line shows you in which direction the stats will move. As you can see on the picture added the red line shows decreasing hitpoints when I want to change the body from mantis to python. But they incrase. This happens every time you want to change to a stronger body.
Issue migrated from trac:4649 at 2022-04-16 12:55:39 -0700
The text was updated successfully, but these errors were encountered: