Author Topic: Is this possible? (Difficulty button idea)  (Read 3411 times)

Offline Tigermisu

  • Antweight
  • Posts: 39
  • Rep: 0
    • View Profile
    • Awards
Is this possible? (Difficulty button idea)
« on: November 01, 2009, 12:20:15 AM »
Hey there :-D

Another of my noob ideas, I was thinking of having an Difficulty option in the main menu, and 3 different AI folders in the game directory.

When you click on easy, the game uses the AI folder with the, for example, stock bots.

When you click on medium, the DSL bots is selected

Hard, you play agaisnt Starcore bots.

I came to this idea when it got old to fight the same DSL bots, i saw another AI packs but most of them needed a stock version to be added, I think this feature will be good, And I overuse the word "I" because I not I *continues offtopic rant*
:truck:



Offline Pwnator

  • *
  • Posts: 6676
  • Rep: 15
  • Awards BOTM Winner
    • View Profile
    • http://pwnator.tumblr.com
    • Awards
  • See profile for gamer tags: Yes
Is this possible? (Difficulty button idea)
« Reply #1 on: November 01, 2009, 12:27:30 AM »
One problem I see is that Starcore and DSL don't mix. But you can do all 4 version of SC instead. But what I usually do is put all of the teams I want into a single AI folder, and dropping down in order of difficulty. :D
Clash Cubes 1 - Grey Matter (Runner-Up)
King of Karnage - Sideshow Freak (Runner-Up, Best Engineered)
Rust In Pieces - Paper Cut 3 (Grand Champion, Most Dangerous Bot)
Wheely Tag Tournament - Ion Thruster (Grand Champion, along with Ounces' DiSemboweLment)
UK vs USA - Dark Striker (Grand Champion)
Rust In Pieces 2 - Claymore (Runner-Up, Favourite Bot)
BBEANS 6 - Infection 4 (Runner-Up)
RA2 Team Championships - Serious Business, Skeksis (Runner-Up, along with Scrappy, S_M, and Badnik)
RA2 Team Championships 2 - The Other Stig (Runner-Up, along with Scrappy, S_M, Badnik, 090901, and R1885)
Replica Wars 3 - Abaddon (Runner-Up, Luckiest Bot)
BroBots - wheebot & yaybot (Runner-Up)
Robo Zone 2 - Dipper (4th place, Survival Champion, & Best Axle Bot)
ARBBC - The Covenant (3rd place, BW Rumble Winner, Most Feared BW)

Offline Tigermisu

  • Antweight
  • Posts: 39
  • Rep: 0
    • View Profile
    • Awards
Is this possible? (Difficulty button idea)
« Reply #2 on: November 01, 2009, 12:31:04 AM »
Well i just found this:

https://gametechmods.com/forums/showthread.php?t=749

What if that mod, had around packs of 12 teams, from minor to max difficulty, and you could switch them with a scroll when you wanted some PRO carnage, or some cakewalk

Thats my idea, a difficulty button/scroll/level, and many AI teams in 1 game.
:truck:



Offline JoeBlo

Is this possible? (Difficulty button idea)
« Reply #3 on: November 01, 2009, 01:05:31 AM »
I was building a program that would have been capable of changing the AI prior to starting the game but it was to strict with file directories and such so I abandoned the idea

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Is this possible? (Difficulty button idea)
« Reply #4 on: November 01, 2009, 03:20:51 AM »
Mixing Stock and DSL is a big no-no here in this community - and DSL bots are technically MUCH harder than Starcore that said.

And get my NAR AI pack if you want some pro carnage.

Offline Tigermisu

  • Antweight
  • Posts: 39
  • Rep: 0
    • View Profile
    • Awards
Is this possible? (Difficulty button idea)
« Reply #5 on: November 01, 2009, 03:15:59 PM »
Ok, it was just some example, i dont say such bots and stock etc.

Just, each team has 3 lw, 3 mw, 3 hw, each one for each difficulty.

Choose hard, the AI team plays with the tougher bots of each class, etc.
:truck:



Offline Sage

  • *
  • Posts: 6179
  • Rep: 11
  • RA2 Wizard & GTM's Favorite Stock Builder 2015
  • Awards Sage's Favorite BOTM Winner
    • View Profile
    • Awards
Is this possible? (Difficulty button idea)
« Reply #6 on: November 01, 2009, 03:34:20 PM »
I do like the idea (In-game interchangeable AI packs), but you could also just put a bunch of AI packs in one AI (like phil already did). You could just have one empty team that separates the packs. And yes, you could order them in difficulty as well.
You got my vote for RA2 Wizard. Always and forever.

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Is this possible? (Difficulty button idea)
« Reply #7 on: November 01, 2009, 03:56:08 PM »
Some of the original programming suggests that they were working on a difficulty setting but it was never implemented.

The EXE regulates what buttons generated by GIBs do so we can't add any new ones unless the EXE already permits it (I'm not sure if we could access some of the unused coding buf there is probably a reason why it wasn't used). The only known work around is using the practice arena buttons (the EXE is allowing the practice arena python to know when it is pressed).

Offline Tigermisu

  • Antweight
  • Posts: 39
  • Rep: 0
    • View Profile
    • Awards
Is this possible? (Difficulty button idea)
« Reply #8 on: November 01, 2009, 11:53:18 PM »
Practice arena difficulty?

This brings me another Idea.

What if we add a bot to the practice arena, just click on it, and a random AI bot of the same class will spawn, best way to test ur bot IMO.
:truck:



Offline Madiaba

Is this possible? (Difficulty button idea)
« Reply #9 on: November 02, 2009, 07:06:28 AM »
Quote from: Tigermisu;76474
... This brings me another Idea.
 
What if we add a bot to the practice arena, just click on it, and a random AI bot of the same class will spawn, best way to test ur bot IMO.
There's no way to introduce another bot into the practice garage. It seems to be hard exe-coded.
Trov. and I tried putting a 'gmf' driven HouseBot (like Wild Robots Live [Pittsfield Arena]), but the practice arena has some issues (not 'crashy', but rather 'non-recognition', 'py to gmf' problems) with it.
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

Offline Tigermisu

  • Antweight
  • Posts: 39
  • Rep: 0
    • View Profile
    • Awards
Is this possible? (Difficulty button idea)
« Reply #10 on: November 02, 2009, 10:20:55 AM »
Ouch......

Well... Any way to put difficulty buttons in the practice arena??
:truck:



Offline Clickbeetle

  • *
  • Posts: 3375
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Is this possible? (Difficulty button idea)
« Reply #11 on: November 06, 2009, 10:16:09 PM »
You couldn't make a button, but I'm pretty sure you could make an arena PY that would change the AI difficulty when you loaded it.

I was experimenting with making an arena with no audience in it--just dead silence--and while that didn't work too well I think the code could be adapted to difficulty swapping.

You just need to use the os.rename() function and tell it to rename the AI folder.  I don't remember the exact syntax but if anyone's interested I can get it.  So you can have 3 AI folders for example, call them AI, AI2, and AI3, and when you load the arena it will rename them all so AI becomes AI3, AI3 becomes AI2, and AI2 becomes AI.

Obviously you couldn't do that if you tried to load an AI bot in that arena.  But it might work with two human bots.

I did successfully make the Epic Showdown arena silence the audience with this method; the only problem was I couldn't make it come back in the other arenas.  I believe the code I used is still in the .py, commented out.

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 kill343gs

Is this possible? (Difficulty button idea)
« Reply #12 on: November 06, 2009, 10:28:34 PM »
You know what could be really cool? If you made the AI harder as the match wore on if you were beating the ai bot too bad, like in desperation. I don't really understand the workings of it but you may be able to get it to work along with the crowd's reaction to the fight? Just an idea.


For once the mods did something right
#MakeGTMGreatAgain

Offline Madiaba

Is this possible? (Difficulty button idea)
« Reply #13 on: November 06, 2009, 10:57:23 PM »
I agree, CB. Though pretty sacrificial for me, since I sorta like the crowd for 'ambience'.
That's a cool idea, K-3.
In the AI.py, one could regulate the powers/strengths of an AI, based upon its present life. Say, start out a strong AI with 50% power. Then, if/as life decreased, powers could be increased proportionately, simulating 'desperation'/adrenaline kicks in....hypermorph..."Don't make me angry Mr. McGee; you won't like me when I'm angry!......"
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Is this possible? (Difficulty button idea)
« Reply #14 on: November 07, 2009, 05:02:14 AM »
Quote from: Madiaba;77542
if/as life decreased, powers could be increased proportionately, simulating 'desperation'/adrenaline kicks in....hypermorph...

About increasing the powers, you're notably talking of augmenting the analog control values on the bot ?

I could see my aptly named NAR AI Berserker augmenting it's spinner strength with damage...

Offline Tigermisu

  • Antweight
  • Posts: 39
  • Rep: 0
    • View Profile
    • Awards
Re: Is this possible? (Difficulty button idea)
« Reply #15 on: February 26, 2011, 10:37:36 PM »
(I hope thread necromancing is not bad here)

Has anyone gotten around to do this?
:truck:



Offline Pwnator

  • *
  • Posts: 6676
  • Rep: 15
  • Awards BOTM Winner
    • View Profile
    • http://pwnator.tumblr.com
    • Awards
  • See profile for gamer tags: Yes
Re: Is this possible? (Difficulty button idea)
« Reply #16 on: February 26, 2011, 10:45:12 PM »
The easiest way to do this is to arrange your AI teams in order of difficulty.
Clash Cubes 1 - Grey Matter (Runner-Up)
King of Karnage - Sideshow Freak (Runner-Up, Best Engineered)
Rust In Pieces - Paper Cut 3 (Grand Champion, Most Dangerous Bot)
Wheely Tag Tournament - Ion Thruster (Grand Champion, along with Ounces' DiSemboweLment)
UK vs USA - Dark Striker (Grand Champion)
Rust In Pieces 2 - Claymore (Runner-Up, Favourite Bot)
BBEANS 6 - Infection 4 (Runner-Up)
RA2 Team Championships - Serious Business, Skeksis (Runner-Up, along with Scrappy, S_M, and Badnik)
RA2 Team Championships 2 - The Other Stig (Runner-Up, along with Scrappy, S_M, Badnik, 090901, and R1885)
Replica Wars 3 - Abaddon (Runner-Up, Luckiest Bot)
BroBots - wheebot & yaybot (Runner-Up)
Robo Zone 2 - Dipper (4th place, Survival Champion, & Best Axle Bot)
ARBBC - The Covenant (3rd place, BW Rumble Winner, Most Feared BW)

Offline Tigermisu

  • Antweight
  • Posts: 39
  • Rep: 0
    • View Profile
    • Awards
Re: Is this possible? (Difficulty button idea)
« Reply #17 on: February 26, 2011, 10:49:38 PM »
How would you do that?

Sorry being under a rock for 2 years affected my memory.
:truck:



Offline Pwnator

  • *
  • Posts: 6676
  • Rep: 15
  • Awards BOTM Winner
    • View Profile
    • http://pwnator.tumblr.com
    • Awards
  • See profile for gamer tags: Yes
Re: Is this possible? (Difficulty button idea)
« Reply #18 on: February 26, 2011, 10:57:35 PM »
In your AI folder, you got your teams in the order you see in Exhibition mode. Arrange your teams by difficulty and rename all the teams from Team0 to Teamx (x being the total amount of teams minus 1). Once you've done that, fix your Teams.txt (that's quite tedious though, as a single mistake in syntax or spelling crashes your whole team).


[Edit] Hmmm... maybe a video would work. But I'm too busy to make one right now. XD
Clash Cubes 1 - Grey Matter (Runner-Up)
King of Karnage - Sideshow Freak (Runner-Up, Best Engineered)
Rust In Pieces - Paper Cut 3 (Grand Champion, Most Dangerous Bot)
Wheely Tag Tournament - Ion Thruster (Grand Champion, along with Ounces' DiSemboweLment)
UK vs USA - Dark Striker (Grand Champion)
Rust In Pieces 2 - Claymore (Runner-Up, Favourite Bot)
BBEANS 6 - Infection 4 (Runner-Up)
RA2 Team Championships - Serious Business, Skeksis (Runner-Up, along with Scrappy, S_M, and Badnik)
RA2 Team Championships 2 - The Other Stig (Runner-Up, along with Scrappy, S_M, Badnik, 090901, and R1885)
Replica Wars 3 - Abaddon (Runner-Up, Luckiest Bot)
BroBots - wheebot & yaybot (Runner-Up)
Robo Zone 2 - Dipper (4th place, Survival Champion, & Best Axle Bot)
ARBBC - The Covenant (3rd place, BW Rumble Winner, Most Feared BW)

Offline Tigermisu

  • Antweight
  • Posts: 39
  • Rep: 0
    • View Profile
    • Awards
Re: Is this possible? (Difficulty button idea)
« Reply #19 on: February 27, 2011, 12:08:38 AM »
Hmm I still don't get it. How do I "fix" the Teams.txt and how would I toggle the difficulty?
:truck: