Building more than 5 factories causes Commanders' orders screen to glitch out. #3521
Comments
Shadow Wolf TJC uploaded file 10 factories on-screen, with a Commander selected. Note the messed-up orders screen on the bottom left. |
vexed changed status from |
vexed changed resolution from `` to |
vexed changed _comment0 which not transferred by tractive |
vexed commented This isn't a bug, it is a limitation. Right now, nothing more than 5 is supported. |
Shadow Wolf TJC commented So I take it that you're not interested in fixing this BECAUSE it's a limitation of the core game, and because you don't care about the modding community, right? Well then, if the devs won't fix this, then who will? :( |
vexed commented Replying to Warzone2100/old-trac-import#3521 (comment:2):
O_o ... ::sigh:: Your not even in the ballpark. If someone wants to fix the GUI, then fine, but since this is a current engine limitation, and not a bug, I don't see how you end up making those unfounded accusations. Trac is for bugs + patches, not feature requests. |
Shadow Wolf TJC commented Sorry. |
Shadow Wolf TJC uploaded file I'm still interested in seeing this bug fixed, so I've prepared a few new images for use with the orders menu, 2 of which are blank button icons for a more modular use. However, I don't quite know how to make them show up, sadly. I've tried messing around with intfac.img (which I presume will need to be modified), but it doesn't seem to work at all. |
Shadow Wolf TJC changed status from |
Shadow Wolf TJC changed resolution from |
vexed changed status from |
vexed changed resolution from `` to |
vexed commented The interface image is only part of the issue, the other part is the code itself. Feel free to open it back up when someone comes up with a patch that will fix the limitation. |
Shadow Wolf TJC changed _comment0 which not transferred by tractive |
Shadow Wolf TJC commented I've been taking a look at the code at github, and while I haven't changed anything (I'd only make such changes on my own fork of the Warzone 2100 repository), it seems that src/intfac.h will need some work. However, I'm still trying to find out what scripts control how the orders screen is displayed, so that I could work out a way to display some of the extra buttons below others. Edit: I believe that this block of code within src/intorder.cpp may need to be changed:
I'd personally want to add the extra factory assignment buttons below the others (given the limited space in the orders screen), though I wonder how we're going to do that. |
Shadow Wolf TJC changed status from |
Shadow Wolf TJC changed resolution from |
Shadow Wolf TJC commented While I've added in some code that should hopefully fix this ticket, it's only a temporary solution. Later on, we should probably look into finding out how to add the extra factory buttons in a way that's acceptable. |
vexed commented This doesn't fix anything though, you just are removing a safety net. As for which files, I don't recall offhand, but usually, it is spread out in a few files. |
vexed changed status from |
vexed changed resolution from `` to |
vexed commented Oh, I forgot to mention, no need to reopen the ticket. Your just causing more noise with trac when you open them. |
Shadow Wolf TJC commented I see. Sorry about that. Sigh. I wish that I could create my own snapshots of Warzone 2100 using the resources that are available on my fork. Then I could actually see for myself if the code changes would actually work instead of having to rely upon others to do the actual testing. :( |
resolution_later
type_bug
| by Shadow Wolf TJCNow this is only if you're modding the game, but when you have more than 5 of a single factory type (such as more than 5 Cyborg Factories, or more than 5 VTOL Factories) present, it screws with Commanders' orders menu, by pushing some factory numbers off-screen with non-existent buttons. However, the factories seem to work fine otherwise.
Issue migrated from trac:3521 at 2022-04-16 09:51:45 -0700
The text was updated successfully, but these errors were encountered: