by skydereign » Wed Dec 30, 2009 10:27 am
First off if you are going to try to bump a topic, do it within the topic that you want... don't start new ones. I have seen the problem you are experiencing, though I get it through the following.
Open the file -> Game Mode -> Click, creating the hex colors -> Exit Game -> Game Mode
I didn't go completely through the code, but here are some observations I made. First off, it seems that the game is hell bent on a certain random combination. Red on top, yellow in the middle, and two blacks on bottom. This happens whenever I load the game, maybe due to the rand function, or just my gameEditor. I can break this by making sure that combination does not happen, and after that it will allow actual random patterns.
In the code where you have if(C==0), if you comment out the setting of black, and instead increase C, in my case I set C to 1, effectively getting rid of the black hex, it seems to not mess up. From what I saw that does not make sense... but furthering this, I found that the game only has this bug you are encountering if there are two black hex actors created. Again I am not sure if this is acceptable. The only thing that I noticed that made HEX_black unique was that everything inherited from it. I will look further into it for a more acceptable fix.
-Edit
Try this, it worked for me. Create a new actor and make it identical to HEX_black, and use that instead. See if that works for you as well, you probably already know, but also switch the Get_HEX_Colors names for C==0.