Author Topic: Awesome glitch  (Read 1462 times)

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Awesome glitch
« on: October 16, 2010, 03:37:59 PM »
When I clicked on the shiny Hub Wheel, I saw that something weird had happened to the shiny part:



I haven't touched any of the Shiny Hub Wheel files, this happens randomly like an encounter with a shiny Pokemon.  What causes this, and how do I make it happen on command? (because I think it looks really cool)

Offline Gazea2

  • Ultra Heavyweight
  • Posts: 3670
  • Rep: 9
  • the one and only
    • View Profile
    • Awards
  • Skype: gazea2
Re: Awesome glitch
« Reply #1 on: October 16, 2010, 03:40:54 PM »
This has happened to me as well. I remember reading somewhere why it happens. I think it has something to do with the file names being mixed up.


Offline J24

  • Ultra Heavyweight
  • Posts: 1568
  • Rep: 0
    • View Profile
    • Awards
Re: Awesome glitch
« Reply #2 on: October 16, 2010, 03:41:46 PM »
That glitch = Awsemsauce

no idea why it happens though
<<< Stalk me on the Twitter! (... Please... I'm lonely)

4th place in COTT! My word...

Offline Scorpion

  • Giga Heavyweight
  • Posts: 5431
  • Rep: 2
    • View Profile
    • Awards
Re: Awesome glitch
« Reply #3 on: October 16, 2010, 03:43:21 PM »
I get something like that whenever I try (and fail) to import any custom paint  :laughing

Offline Naryar

  • Posts: 23267
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: Awesome glitch
« Reply #4 on: October 16, 2010, 03:49:44 PM »
Yes, that's the standard .bmp file that appears 75% of the time when you skin something wrong.

Offline JoeBlo

Re: Awesome glitch
« Reply #5 on: October 16, 2010, 09:01:25 PM »
I haven't touched any of the Shiny Hub Wheel files,

you dont have to...

you could have skinned or made another component with the same map name and thats effecting it

I found this issue with an arena floor before (yeah :P) I found it by doubling the size of the BMP skin which the game didnt like...

doesnt do it will all skins so I guess its how the skin is applied to the model.

Offline Clickbeetle

  • *
  • Posts: 3374
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: Awesome glitch
« Reply #6 on: October 17, 2010, 03:07:48 PM »
how do I make it happen on command? (because I think it looks really cool)


Replace generic_refmap2.bmp in the shinywheel folder with any .bmp (doesn't matter what's on it) of random dimensions.  Example: 47x89, or 111x61.  That should work.


Though I've never heard of anyone TRYING to get this glitch... usually it is unwanted and unintentional.

To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson, The Way of Kings

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
Re: Awesome glitch
« Reply #7 on: October 17, 2010, 05:10:09 PM »
how do I make it happen on command? (because I think it looks really cool)
Replace generic_refmap2.bmp in the shinywheel folder with any .bmp (doesn't matter what's on it) of random dimensions.  Example: 47x89, or 111x61.  That should work.

Yes. This happens because, like most 3d game engines, RA2 uses a quadtree-based texture manager (hence all the textures must be squares - makes the algorithm a lot simpler). When you create a non-power-of-two texture, the engine craps out (I don't know on which step exactly) and feeds DirectX coordinates that are still on the texture "plane" (where all the textures are stored), but it also grabs pixels from other bitmaps, random-ishly.
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org

Offline FOTEPX

  • Your dad
  • Giga Heavyweight
  • Posts: 6790
  • Rep: 5
  • Thank you, meow.
    • Bamzookiman130
    • View Profile
    • Awards
  • Skype: f0tepx
  • Discord: Shima33 #9110
Re: Awesome glitch
« Reply #8 on: October 17, 2010, 05:14:36 PM »
Basically, when the texture file of the component is not 64x64, 128x128 or 256x256, then it glitches up and does that.


Currently listening to: Marblehead Johnson - The Bluetones

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Awesome glitch
« Reply #9 on: October 18, 2010, 01:33:10 AM »
Shiny hub doesnt even have a texture file.

Offline Naryar

  • Posts: 23267
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: Awesome glitch
« Reply #10 on: October 18, 2010, 01:34:36 AM »
Shiny hub doesnt even have a texture file.

It does... for the wheel's outer rim. The shiny part, however, has not.

Offline Sage

  • *
  • Posts: 6179
  • Rep: 11
  • RA2 Wizard & GTM's Favorite Stock Builder 2015
  • Awards Sage's Favorite BOTM Winner
    • View Profile
    • Awards
Re: Awesome glitch
« Reply #11 on: October 18, 2010, 07:57:36 PM »
Shiny part is using generic_refmap2.bmp. Dunno how the game mixed that up >.>
You got my vote for RA2 Wizard. Always and forever.