Jump to content

Photo

[2.53][2.55] Palette/CSet issues in editor


  • Please log in to reply
8 replies to this topic

#1 venrob

venrob

    Scripter / Dev

  • ZC Developers
  • Real Name:Rob
  • Gender:Male

Posted 10 January 2020 - 01:46 AM

When editing tiles, on the tile page: Pressing '+' to increment CSet can go past CSet 11. Pressing - while above this wraps to 0 as it should, but + isn't wrapping.

Shift+1 -> Shift+6 for palettes A-F shortcuts do not work on numpad; standard 0-9 work fine on numpad.



#2 HeroOfFire

HeroOfFire

    Junior

  • Members

Posted 10 January 2020 - 01:54 AM

To be more specific on the CSet incrementing to 12 - 15, instead of wrapping back to 0 after 11 (or incorrectly going from 0 to 15 when using '-'), this seems to happen in the Select Tile window. Which means you can see it when selecting a tile to edit, or also selecting a tile for an item or enemy.

 

Interestingly, when you go into the tile editor window in CSets 12 - 15, '+' will wrap back to 0 correctly, but '-' will not wrap back to 11, instead going through all the other CSets one at a time.



#3 Avaro

Avaro

    Quest maker

  • Members
  • Real Name:Robin
  • Gender:Male
  • Location:Germany

Posted 10 January 2020 - 10:14 AM

Can confirm. At some point during 2.53.1 you could select CSets 12 to 15. This was never possible before



#4 ZoriaRPG

ZoriaRPG

    The Timelord

  • ZC Developers
  • Gender:Unspecified
  • Location:Prydon Academy

Posted 10 January 2020 - 06:01 PM

It is supposed to go to 15 then wrap to 0, and 0 is intended to wrap to 15.


To be more specific on the CSet incrementing to 12 - 15, instead of wrapping back to 0 after 11 (or incorrectly going from 0 to 15 when using '-'), this seems to happen in the Select Tile window. Which means you can see it when selecting a tile to edit, or also selecting a tile for an item or enemy.

 

Interestingly, when you go into the tile editor window in CSets 12 - 15, '+' will wrap back to 0 correctly, but '-' will not wrap back to 11, instead going through all the other CSets one at a time.

 

Pressing the minus key while viewing cset 15 should decrement back to 14. If it does not, then I'll inspect it.

 

This was an intentional change to reflect some existing tilesets that use these csets for enemies or for cs2 values..It should only affect the tile editor


When editing tiles, on the tile page: Pressing '+' to increment CSet can go past CSet 11. Pressing - while above this wraps to 0 as it should, but + isn't wrapping.

Shift+1 -> Shift+6 for palettes A-F shortcuts do not work on numpad; standard 0-9 work fine on numpad.

 

That may be a keyboard issue ? It'd a bit hard to determine at present.



#5 HeroOfFire

HeroOfFire

    Junior

  • Members

Posted 10 January 2020 - 10:20 PM

So if this is an intended feature, two questions.

 

One, why is it specific to the Select Tile window and not also the Tile Editor Window? As mentioned, the Tile Editor window will skip forward to CSet 0 with "+" if it was on CSets 12 - 15, and will also skip over all those CSets from 11 with "+" or 0 with "-", meaning the only way to view the Tile Editor in CSets 12 - 15 is to scroll to those CSets in the Select Tile window and then open the Tile Editor. Pressing "-" on CSets 12 - 15 will properly scroll back to the previous one, rather than skipping back to 11.

 

Two, what exactly are CSets 12 - 15? I can tell a few of them are formed by grabbing colors from somewhere else. And I know these are the additional CSets in 8-bit tiles. Knowing what creates those colors, I could see some clever setups to get a "proper" CSet 12 and beyond that are formatted similarly to CSets 0 - 11.



#6 venrob

venrob

    Scripter / Dev

  • ZC Developers
  • Real Name:Rob
  • Gender:Male

Posted 11 January 2020 - 12:13 AM

One main thing is, several of the CSets that are accessible here are auto-generated. That meaning, if you edit the CSet in the palette editor, your edits are not retained. Those csets should be removed from the palette editor.



#7 Avaro

Avaro

    Quest maker

  • Members
  • Real Name:Robin
  • Gender:Male
  • Location:Germany

Posted 11 January 2020 - 12:37 PM

Wtf. Why would you let us use csets 12+ for enemies, items, etc etc?



#8 ZoriaRPG

ZoriaRPG

    The Timelord

  • ZC Developers
  • Gender:Unspecified
  • Location:Prydon Academy

Posted 23 January 2020 - 05:26 AM

Wtf. Why would you let us use csets 12+ for enemies, items, etc etc?

 

I didn't. There is a long-standing glitch that questmakers have abused to do this. The complaint that I received is that there was no way to view how these enemies look in those csets in the tile editor, so I allowed viewing them in the csets used by these stupid tilesets. (e.g. My tileset has enemies set to use CSet 14, but when in the enemy editor I click on the tile, I cannot see how the enemy appears in-game.)

 

Viewing these in the tile editor exists purely to preview how they will look in tilesets that already exist and exploit this.

 

I will not explain how to do it as, I do not need more people doing it, and it is thankfully both hard to find the discussion on it and the method to accomplish the glitch is obscure; but some people figured out how to do it, so, bleah.

 

I'd remove it entirely, but that would break two or three tilesets and all quests that use them, andI have no intention of making it easier to edit these bonkers exploits. I am merely willing to allow viewing them in the tileset as presented. I think that at some point in 2.50 beta, or 2.10, you could edit with these ramps. Otherwise, IDK how these tileset authors imported te gfx and bound them to those csets when designing their tileset.

 

What is the actual bug here? CSet 12 in the tile editor, with the plus hotkey advances to cset 12 but CSet 0 with the minus hotkey doesn't wrap to 15??? CSet 15 in the tileeditor, with the plus hotkey doesn't wrap to cset 0???

 

You are meant to be able to view, but not to edit, the colours in the system csets in the palette viewer. The reason for this is that you can draw using these colours with script draws and with other features. This is another oversight that has been exploited.

 

Please stay topical.



#9 Avaro

Avaro

    Quest maker

  • Members
  • Real Name:Robin
  • Gender:Male
  • Location:Germany

Posted 23 January 2020 - 07:05 AM

You can do more than just view them in CSets 12 - 15 now. You can also set up items, enemies, sprites etc to use them now.

 

Anyway, no clue about the bug other's have talked about, but it's very easy to test.


Edited by Avaro, 23 January 2020 - 07:10 AM.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users