-
Notifications
You must be signed in to change notification settings - Fork 0
Droid Design screen can only handle max 128 turrets #4677
Comments
Berserk Cyborg changed blocking which not transferred by tractive |
Berserk Cyborg changed blockedby which not transferred by tractive |
Berserk Cyborg commented Wonder if changing MAX_SYSTEM_COMPONENTS in design.cpp (line 72) would do the trick. I do not have access to a mod with that many weapons though. https://github.com/Warzone2100/warzone2100/blob/master/src/design.cpp |
Per commented 129 turrets?? Why? |
MIH-XTC commented For porting contigency mod into 3.2.x The mod has approximately ~165'ish total unique weapon turrets but only 128 are designable. The rockets are the best example. The mini-pod is not designable even when there are only 3 turrets choosable from the menu because alphabetically it's loaded after turret 128 from weapons.json. This mod has same problem in 3.1.5 so apparently it never worked properly. I'd like to make a nice set of stats for this mod but this is a blocker. I think Jeff is right about MAX_SYSTEM_COMPONENTS. Can we try 128 --> 256? |
MIH-XTC commented I added a partially ported contingency mod to the forum that this can be tested on in 3.2.3 |
Berserk Cyborg commented Guess that was only part of the problem. From what I can tell, the overflow is happening around the rail gun weapons in the mod's weapons file. Putting the limit around 256 components. |
vexed changed status from |
vexed changed resolution from `` to |
vexed commented You would need to re-write the UI code as well... This isn't a bug, just a engine limitation. If anyone wants to change the behavior of this, feel free to make a patch, and open a new ticket. Closing this, as it isn't a bug. |
Prot EuPhobos <prot@...> commented In Warzone2100/warzone2100@c05e4f7:
|
Forgon2100 <forgon2100@...> changed owner from `` to |
Forgon2100 <forgon2100@...> changed resolution from |
Forgon2100 <forgon2100@...> committed [865] In Warzone2100/warzone2100@865e255:
|
Forgon2100 <forgon2100@...> commented In Warzone2100/warzone2100@cef6b6a:
|
Cyp commented Haven't tested, but I'd guess that I think Changing |
Prot EuPhobos <prot@...> committed [3] In Warzone2100/warzone2100@3a729d9:
|
resolution_fixed
type_bug
| by MIH-XTChttp://forums.wz2100.net/viewtopic.php?f=49&t=9493&p=139172#p139170
When loading turrets from weapons.json, the 129th designable turret overflows to the first when previewing the droid design screen.
Issue migrated from trac:4677 at 2022-04-16 12:57:42 -0700
The text was updated successfully, but these errors were encountered: