Subcolour Glitch

Help Topics, Bug Reports, Feature Requests, etc.
Post Reply
Emerald141
Rainbow AllStar
Posts: 4548
Joined: Fri Dec 26, 2008 4:56 pm

Subcolour Glitch

Post by Emerald141 » Sun Jun 14, 2009 4:08 pm

You do not have the required permissions to view the files attached to this post.
Last edited by Emerald141 on Thu Sep 01, 2022 4:26 pm, edited 1 time in total.
User avatar
cbloopy
Rainbow Master
Posts: 612
Joined: Thu Jan 01, 2009 11:21 am

Post by cbloopy » Mon Jun 15, 2009 12:15 am

It's been always like that I think, there was never a restriction on subcolor for colored block gates.
Last edited by cbloopy on Mon Jun 15, 2009 3:25 am, edited 2 times in total.
User avatar
sonny
Gold Wonderlander
Posts: 72
Joined: Tue Oct 31, 2006 3:15 am

Post by sonny » Mon Jun 15, 2009 2:10 am

That's not true. My subcolors are only 0-4. However I don't remember but I think I got past 4 once. I might just be thinking I did. :?
(o_o) (0_0) (O_O) <(-_-)>
User avatar
Qloof234
Rainbow AllStar
Posts: 4193
Joined: Wed Oct 03, 2007 10:33 pm
Location: Canada

Post by Qloof234 » Mon Jun 15, 2009 2:12 am

I've always been able to set the gate's subcolour beyond 0 to 4. Methinks it would make the game crash, though. :?
Image
User avatar
cbloopy
Rainbow Master
Posts: 612
Joined: Thu Jan 01, 2009 11:21 am

Post by cbloopy » Mon Jun 15, 2009 3:25 am

sonny wrote:That's not true. My subcolors are only 0-4. However I don't remember but I think I got past 4 once. I might just be thinking I did. :?
Let me clarify. What I mean is that the subcolor value for "colour block" gates has never been restricted. Currently the Editor's range checking of object modifiers are handled basically on a per-model basis, so different type of objects with different models may have different range checking.

I tested that buttons and doors, for example, do have subcolors restricted to 0-4. I haven't tested everything but it's quite possible that block gates are the only thing that's missing the restriction on subcolor.
User avatar
bround
Rainbow Master
Posts: 641
Joined: Thu Jul 24, 2008 10:55 am

Post by bround » Mon Jun 15, 2009 9:34 am

My subcolor can go ever 10000000! But my Buttons' subcolor only can go 4.

Hmmmmm.... weird,
Avid TTR player and TTS developer, a new revolutionary server in works.
User avatar
AJQZC
Rainbow Wizard
Posts: 462
Joined: Mon Jan 05, 2009 1:31 pm

Re: Subcolour Glitch

Post by AJQZC » Sun Jun 21, 2009 4:27 am

Deleted
Last edited by AJQZC on Mon Jun 22, 2009 2:00 pm, edited 1 time in total.
User avatar
Qloof234
Rainbow AllStar
Posts: 4193
Joined: Wed Oct 03, 2007 10:33 pm
Location: Canada

Post by Qloof234 » Sun Jun 21, 2009 4:38 am

Qloof234 wrote:I've always been able to set the gate's subcolour beyond 0 to 4. Methinks it would make the game crash, though. :?
I should've been more specific - this includes before any of these hacks were even started. Around the time I got into the editor.

It isn't something that just happened with installing all these hacks, as far as I know.
Image
User avatar
Pawelec
Rainbow Master
Posts: 690
Joined: Tue Jul 15, 2008 8:37 am

Re

Post by Pawelec » Sun Jun 21, 2009 10:33 am

I know why buttons subcolor can't go further than 4: Do you remember color ID formula?

500 + color*5 + subcolor

Look for this: 500 + red*5 + subcolor 5 = 500 + 0 + 5 = 505
500 + orange*5 + subcolor 0 = 500 + 5 + 0 = 505

This button will be able to open both gates.
"Let us return to the past; it will be progress."
by Giuseppe Verdi
User avatar
AJQZC
Rainbow Wizard
Posts: 462
Joined: Mon Jan 05, 2009 1:31 pm

Post by AJQZC » Mon Jun 22, 2009 2:01 pm

Pawelec wrote:I know why buttons subcolor can't go further than 4: Do you remember color ID formula?

500 + color*5 + subcolor

Look for this: 500 + red*5 + subcolor 5 = 500 + 0 + 5 = 505
500 + orange*5 + subcolor 0 = 500 + 5 + 0 = 505

This button will be able to open both gates.

Precisely. That's why the subcolor function was restricted to number "4".
Last edited by AJQZC on Thu Jun 25, 2009 7:53 am, edited 1 time in total.
User avatar
cbloopy
Rainbow Master
Posts: 612
Joined: Thu Jan 01, 2009 11:21 am

Post by cbloopy » Mon Jun 22, 2009 6:41 pm

AJQZC wrote:Perhaps the restriction is only for the original Editor and was removed on cbloopy's hacked Editor?
Didn't you say this before already? The answer is NO. My changes to the Editor have no effect on modifier range checks, and I explicitly tested downloading the Editor from Midnight Synergy's website again onto a computer that never has the Editor installed. The result is that for most objects, Subcolor is restricted from 0 to 4, except color block gates.

In other words, nothing changed in Emerald141's Editor. It's just that he didn't notice this quirk until now, since the subcolor restriction does work on other object types.

End of story.
Post Reply