metalmap/pathmap problem with ctrlpanel.lua
Posted: 02 Nov 2006, 17:55
I have been trying the ctrlpanels from: http://taspring.clan-sy.com/phpbb/viewtopic.php?t=7449
I'd like to use these panels or maybe even modify them a bit. But I ran into this problem:
When placing a metal extractor the view is changed to metalmap. On a few maps I do like to change the view to pathmap, because it's pretty difficult to find a spot for the big moho metal extractor sometimes.
Now, when I use either of the ctrlpanel.lua, the view is immediately reverted back to metalmap. Most of the times so quick, that I couldn't look for a valid spot to place the MME at all.
This only happens, when one of those ctrlpanel.lua is in place. Without it changing between the views los/metalmap/pathmap/elevation works fine while placing a metal extractor.
Could it be, that the UpdateLayout-function needs more checks? What checks should I add?
As a side note: pathmap is not working for construction planes at all.
I'd like to use these panels or maybe even modify them a bit. But I ran into this problem:
When placing a metal extractor the view is changed to metalmap. On a few maps I do like to change the view to pathmap, because it's pretty difficult to find a spot for the big moho metal extractor sometimes.
Now, when I use either of the ctrlpanel.lua, the view is immediately reverted back to metalmap. Most of the times so quick, that I couldn't look for a valid spot to place the MME at all.
This only happens, when one of those ctrlpanel.lua is in place. Without it changing between the views los/metalmap/pathmap/elevation works fine while placing a metal extractor.
Could it be, that the UpdateLayout-function needs more checks? What checks should I add?
As a side note: pathmap is not working for construction planes at all.