gametechmods

Robot Arena => General Support => Topic started by: Somebody on December 20, 2008, 05:08:56 PM

Title: A little confused
Post by: Somebody on December 20, 2008, 05:08:56 PM
(https://gametechmods.com/uploads/images/12699What the....jpg)

I didn't change ANYTHING in my game, but now the box for the bot's pic has a green background (I cut out the bot :biggrin:) All I can think of is that I was going through the BBEANS 3 bots (thanks Click), and FIXXXER had the same-colored background.

Edit: and it only happens on this bot
Title: A little confused
Post by: Clickbeetle on December 21, 2008, 09:20:38 PM
It's because you did a battle in the Small Arena.

The background color is always the color of the sky in the most recent arena you did.  The default color is gray.  The combat arena is black, and the small arena is lime green, hence the color change.
Title: A little confused
Post by: Somebody on December 21, 2008, 09:29:30 PM
What do you mean, "most recent arena"?
Title: A little confused
Post by: Sage on December 21, 2008, 09:50:22 PM
Quote from: Somebody;25124
What do you mean, "most recent arena"?

the arena you were last in. If you were in the test garage, the background will be gray. There's something in firebeetle's cheat thing that lets you change it in the test garage, I believe. I could be wrong.
Title: A little confused
Post by: Urjak on December 21, 2008, 10:37:39 PM
That is Awesome. I will have to make sure that I fight all my bots in the small arena before I take a screenshot. I love that green background.
Title: A little confused
Post by: R1885 on December 21, 2008, 11:07:11 PM
Sweet.
Title: A little confused
Post by: philetbabe on December 22, 2008, 04:02:15 AM
the best way to define the background color is to set it in your practice arena :

go under RA2/Arenas.
Open the file practice.py

in the 'init' function add the line setting the background color :
ie sample init function with a 'broken white background' :

Code: [Select]
   def __init__(self):
        Arenas.SuperArena.__init__(self, "Arenas/practice arena/practice_arena.gmf")
        self.window = None
        plus.setBackColor(50,50,50)

To define the good colors code, they are many site, here is one :
http://html-color-codes.com/rgb.html
Title: A little confused
Post by: Somebody on December 22, 2008, 08:04:42 AM
Thanks guys. Click's right, I had just downloaded the small arena when I tested this. (and then tested it again with the hazard on, just to find out [8(])

It was a fail bot anyways, but I was wondering if I had messed something up. Is that just a glitch in the programming or is it supposed to change colors like that?