Staredit Network > Forums > Modding Discussion > Topic: Problems with Current Modding Tools
Problems with Current Modding Tools
Mar 4 2015, 3:49 am
By: Sand Wraith
Pages: < 1 19 20 21
 

Sep 12 2017, 9:18 pm Pr0nogo Post #401



Quote from poiuy_qwert
Both are now done (Use right click for fill function).
Right-click to fill doesn't do anything (at least, not visibly).




Sep 12 2017, 9:34 pm poiuy_qwert Post #402

PyMS and ProTRG developer

Quote from Pr0nogo
Quote from poiuy_qwert
Both are now done (Use right click for fill function).
Right-click to fill doesn't do anything (at least, not visibly).
I think it might just be a little confusing. When editing height, it will fill the currently selected height you are "drawing". But for the other flags you are toggling the state, so there is no inherent value being "drawn". So for those it fills based on the value of the minitile you right clicked. I might change it to fill with the opposite of the value you right clicked on, that might be a little more intuitive, at least in that case right clicking would always change something visibly.




Sep 12 2017, 9:38 pm Pr0nogo Post #403



Quote from poiuy_qwert
When editing height, it will fill the currently selected height you are "drawing". But for the other flags you are toggling the state, so there is no inherent value being "drawn".
Oh, that's how it works! Alright, that seems to work fine. Thanks!

edit: after some mucking about in the program, I think that making right-click fill the opposite for binary properties (walkability, ramp, block vision, etc) would be a great change, so basically what you mentioned in the post I quoted. As for the hotkeys to apply to properties, I think these are useful but it might be even more ideal to just axe the dropdown menu altogether and separate the single property and all properties functions into different buttons that are permanently affixed to the UI, like so:



Request/bug? -> PyMPQ: 'Delete' hotkey for deleting files? Isn't working on my end, not sure if it's supposed to. edit: actually it's something one of us reported earlier

edit 2: had a brief look at the GitHub issues for PyMS, if there's anything I can do to resolve any of these let me know and I'll give you whatever info I can. I know it's not a weekend job but it'd be awesome to knock down that number of open issues.

Post has been edited 4 time(s), last time on Sep 12 2017, 10:03 pm by Pr0nogo.




Sep 13 2017, 3:43 am poiuy_qwert Post #404

PyMS and ProTRG developer

Quote from Pr0nogo
after some mucking about in the program, I think that making right-click fill the opposite for binary properties (walkability, ramp, block vision, etc) would be a great change, so basically what you mentioned in the post I quoted.
Done. Didn't bump the version number, just update.

Quote from Pr0nogo
As for the hotkeys to apply to properties, I think these are useful but it might be even more ideal to just axe the dropdown menu altogether and separate the single property and all properties functions into different buttons that are permanently affixed to the UI
I don't really want to fill the UI like that. The intention is if you are doing complex and repetitive things like that you should use the settings importer, and otherwise the keyboard shortcuts.

Quote from Pr0nogo
Request/bug? -> PyMPQ: 'Delete' hotkey for deleting files? Isn't working on my end, not sure if it's supposed to. edit: actually it's something one of us reported earlier
Yeah I have an issue for that. I looked into it before and was not able to figure it out at the time, then forgot about it.

Quote from Pr0nogo
edit 2: had a brief look at the GitHub issues for PyMS, if there's anything I can do to resolve any of these let me know and I'll give you whatever info I can. I know it's not a weekend job but it'd be awesome to knock down that number of open issues.
There are not many things that will help other then me getting more time to put into it :P The only ones I can think of off the top of my head would be the tickets labeled as documentation, but those won't help getting features/bugs completed :P

Thanks!




Sep 13 2017, 3:56 am Pr0nogo Post #405



Quote from poiuy_qwert
I don't really want to fill the UI like that. The intention is if you are doing complex and repetitive things like that you should use the settings importer, and otherwise the keyboard shortcuts.
To this end, is there documentation on what each 'reuse megatile/minitile' setting does in the import window? I had them all unticked so I could import visually identical tiles and modify minitile properties on a mega-by-mega basis, but I have no idea what does what here, really.

Quote from poiuy_qwert
The only ones I can think of off the top of my head would be the tickets labeled as documentation, but those won't help getting features/bugs completed
Right. Doing tutorials is something voy's already up to, and I have plans to make them in the future. I'll let you know when I wind up contributing in any capacity.

Bug? -> PyTILE: Shift+click/Ctrl+click doesn't seem to do anything in the group selector. Unless that update only affected the .bmp selector during the import process?




Sep 13 2017, 4:31 am poiuy_qwert Post #406

PyMS and ProTRG developer

Quote from Pr0nogo
Quote from poiuy_qwert
I don't really want to fill the UI like that. The intention is if you are doing complex and repetitive things like that you should use the settings importer, and otherwise the keyboard shortcuts.
To this end, is there documentation on what each 'reuse megatile/minitile' setting does in the import window? I had them all unticked so I could import visually identical tiles and modify minitile properties on a mega-by-mega basis, but I have no idea what does what here, really.
Megatile groups have basic settings (everything outside the Megatile editor), and just point to the megatiles. Megatiles are a bunch of settings flags for each minitle in the megatile, and just points to mintiles. Minitiles are just images. You should pretty much always reuse duplicates for minitiles, there are very few reasons not to. But for megatiles its very important whether you reuse duplicates or not. If multiple megatile groups are referencing the same megatile, editing the megatile will affect all of those groups, not just the group you have selected. This can be very useful, or very problematic, depending on how you are using your tiles. The Old and New allow you to differentiate between the old (existing) tiles and the new (imported) tiles. So you might want to reuse duplicate dirt tiles in your import, but not reuse the dirt tile that exists in the tileset already, so you can edit your new megatile settings without worry you might affect the original dirt tiles.

Quote from Pr0nogo
Quote from poiuy_qwert
The only ones I can think of off the top of my head would be the tickets labeled as documentation, but those won't help getting features/bugs completed
Right. Doing tutorials is something voy's already up to, and I have plans to make them in the future. I'll let you know when I wind up contributing in any capacity.
Sounds good.

Quote from Pr0nogo
Bug? -> PyTILE: Shift+click/Ctrl+click doesn't seem to do anything in the group selector. Unless that update only affected the .bmp selector during the import process?
I'm not exactly sure what you mean by 'group selector' or '.bmp selector'. The shift+click/ctrl+click is for the Palette windows, the main window can only edit one group/megatile at once.

Post has been edited 1 time(s), last time on Sep 13 2017, 4:48 am by poiuy_qwert.




Sep 15 2017, 10:26 pm Pr0nogo Post #407



Quote from poiuy_qwert
So you might want to reuse duplicate dirt tiles in your import, but not reuse the dirt tile that exists in the tileset already, so you can edit your new megatile settings without worry you might affect the original dirt tiles.
Ah, gotcha. So tick the 'new' reuse and keep 'old' unticked if this is the desired outcome? Thanks for the writeup.

Quote from poiuy_qwert
The shift+click/ctrl+click is for the Palette windows, the main window can only edit one group/megatile at once.
Yeah, in the group palette window, clicking anywhere adds the group you've clicked to your selection (similar to iscript entries in PyICE). Shift/Ctrl doesn't actually do anything different in this case. I was expecting to be able to click row 1, hold shift, and click row 10, and select all rows in between, but that does not occur.

Bugs -> PyBIN:
The up arrow moves the selection down in the list, and the down arrow moves the selection up in the list.
With one item selected, shift-clicking on the list will move the selection up or down.
PyBIN will not track if you've saved or not and will not warn you if you've made changes and attempt to exit the program without saving.




Sep 18 2017, 2:19 pm poiuy_qwert Post #408

PyMS and ProTRG developer

Quote from Pr0nogo
Quote from poiuy_qwert
So you might want to reuse duplicate dirt tiles in your import, but not reuse the dirt tile that exists in the tileset already, so you can edit your new megatile settings without worry you might affect the original dirt tiles.
Ah, gotcha. So tick the 'new' reuse and keep 'old' unticked if this is the desired outcome? Thanks for the writeup.
It all depends on what you want to do for your specific cases, so yeah choose what you want for your desired outcome.

Quote from Pr0nogo
Quote from poiuy_qwert
The shift+click/ctrl+click is for the Palette windows, the main window can only edit one group/megatile at once.
Yeah, in the group palette window, clicking anywhere adds the group you've clicked to your selection (similar to iscript entries in PyICE). Shift/Ctrl doesn't actually do anything different in this case. I was expecting to be able to click row 1, hold shift, and click row 10, and select all rows in between, but that does not occur.
That is definitely not how it should work, I can not reproduce it doing that, and I don't see how it could do that based on the code. Are you sure you have updated to the latest version? Are you sure we are talking about the same window, could you take a screenshot just to confirm? Or would it be possible for you to take a video of the issue in action? I also have a couple things you could try for me, open PyTILE.pyw and change:
1) Go to line 1165 and add a log right above it so it looks like:
Code
        print 'selected %s' % self.selected
        self.draw_selections()

2) Go to line 1123 and add a debug logger right above it so it looks like:
Code
    @debug_func_log()
    def select(self, select, sub_select=None, modifier=None, scroll_to=False):

3) Try adding a # to line 1117 so it is commented out, like:
Code
                            # self.canvas.tag_bind(tag, '<Command-Button-1>', lambda e,id=id: select(id,'cntrl'))

After doing that open PyTILE, open the group palette, and execute certain selections in a specific order and write down exactly what you did, like: 1) left click id 0, 2) shift+click id 10, 3) ctrl+click id 5, etc.
Once you have closed PyTILE, send me your PyTILE log and the steps you wrote down, I can hopefully correlate the log with your steps and get a better idea of whats happening on your side.

Quote from Pr0nogo
Bugs -> PyBIN:
The up arrow moves the selection down in the list, and the down arrow moves the selection up in the list.
Noted.

Quote from Pr0nogo
With one item selected, shift-clicking on the list will move the selection up or down.
I don't know what you mean, you will need to be more specific.

Quote from Pr0nogo
PyBIN will not track if you've saved or not and will not warn you if you've made changes and attempt to exit the program without saving.
Noted.

Thanks!




Sep 18 2017, 9:42 pm Pr0nogo Post #409



Quote from poiuy_qwert
That is definitely not how it should work, I can not reproduce it doing that, and I don't see how it could do that based on the code. Are you sure you have updated to the latest version? Are you sure we are talking about the same window, could you take a screenshot just to confirm? Or would it be possible for you to take a video of the issue in action?
Video of PyTILE bug. First couple clicks are normal, with nothing held. Second is with shift and sometimes ctrl held. No change.

Quote from poiuy_qwert
I also have a couple things you could try for me
Doing that fixed the problems and the program appears to behave as intended, which doesn't really make sense to me unless the culprit was what I commented out.

Quote from poiuy_qwert
I don't know what you mean, you will need to be more specific.
Video of PyBIN bug. I attempt to shift+click to select multiple elements (for moving them up or down, or mass deleting, etc.) and it just moves the selection in the list instead.




Sep 19 2017, 12:21 am poiuy_qwert Post #410

PyMS and ProTRG developer

Quote from Pr0nogo
Quote from poiuy_qwert
That is definitely not how it should work, I can not reproduce it doing that, and I don't see how it could do that based on the code. Are you sure you have updated to the latest version? Are you sure we are talking about the same window, could you take a screenshot just to confirm? Or would it be possible for you to take a video of the issue in action?
Video of PyTILE bug. First couple clicks are normal, with nothing held. Second is with shift and sometimes ctrl held. No change.

Quote from poiuy_qwert
I also have a couple things you could try for me
Doing that fixed the problems and the program appears to behave as intended, which doesn't really make sense to me unless the culprit was what I commented out.
Yeah, that line you commented out was the only thing I could see causing the issue. I started adding the "Command-Button-1" bindings in addition to "Control-Button-1" in some places because it is more convenient for mac users, but it looks like windows does not like that. Well at least its an easy solve.

Quote from Pr0nogo
Quote from poiuy_qwert
I don't know what you mean, you will need to be more specific.
Video of PyBIN bug. I attempt to shift+click to select multiple elements (for moving them up or down, or mass deleting, etc.) and it just moves the selection in the list instead.
Thanks, that clears it up. It looks like it thinks you are doing a drag and drop for some reason. I'll look into it.

Thanks!




Yesterday, 9:55 am Nekron Post #411



Issue with all programs in PyMS in general: Mousing over the buttons at the top doesn't show their tooltips; update/reinstall didn't help :v
(I know that's not a 'global' issue, but I can't figure it out myself)




Options
Pages: < 1 19 20 21
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:30 am]
jjf28 -- NPH as count olaf <3 , took me a few minutes to recognize him
[07:17 pm]
m.0.n.3.y -- Dem0n
Dem0n shouted: Those extra ones are extended colors, right?
m.0.n.3.y
m.0.n.3.y shouted: a reason I can't* change
Yeah it's .scx. That's lame... oh well lol
[07:16 pm]
Dem0n -- Those extra ones are extended colors, right?
[07:16 pm]
Dem0n -- m.0.n.3.y
m.0.n.3.y shouted: Is there a reason I can change player 8 computer players color? I can do a few but colors like green and cyan just turn it yellow...
If you're playing SC:R, extended colors don't work anymore
[07:09 pm]
Pr0nogo -- Is your map a .scx?
[07:06 pm]
m.0.n.3.y -- a reason I can't* change
[07:06 pm]
m.0.n.3.y -- Is there a reason I can change player 8 computer players color? I can do a few but colors like green and cyan just turn it yellow...
[06:42 pm]
m.0.n.3.y -- Dem0n
Dem0n shouted: Make triggers that remove 1 score and add 1 death of a unit and preserve it, and then make another trigger to subtract those deaths and add the scores back
I figured it out! Did it a little differently than that but you're a genius. Thank you
[06:40 pm]
Dem0n -- Make triggers that remove 1 score and add 1 death of a unit and preserve it, and then make another trigger to subtract those deaths and add the scores back
Please log in to shout.


Members Online: Roy, Katarzynaugeaer