Author Topic: How to select AI-Teams in LAN-Multiplayer  (Read 1198 times)

Offline max-damage

  • Antweight
  • Posts: 5
  • Rep: 0
    • View Profile
    • Awards
How to select AI-Teams in LAN-Multiplayer
« on: March 21, 2015, 08:17:58 AM »
Hello Fellas :)

We would love to play Robot Arena 2 at our "retro" LAN parties, but out of the box it only comes with only one predefined team to choose from.

So I’ve copied the Team0 to Team15 folders from an AI package into the team directory and tried to modify the teams.txt.
Unfortunately this doesn’t work – either RA2 doesn’t start anymore or there’s still only one team in the TeamHQ.

So please - is there a tool or a “manual way” to get this AI teams into the TeamHQ easily?

Have a nice weekend :)

Offline Lemonism

  • *
  • Posts: 666
  • Rep: 16
    • View Profile
    • Awards
Re: How to select AI-Teams in LAN-Multiplayer
« Reply #1 on: March 21, 2015, 08:25:06 AM »
First off, welcome to GTM!
So if I'm understanding you correctly you want to add the AI robots as playable robots in your team HQ? The easiest way would just be to copy and paste all of the robots from the AI folders into the 'Robot Designs' folder in the main RA2 directory, and import them one by one into a team whilst in-game (I'm assuming you know how to use the 'Import' button, but if not it's next to the Scrap Bot button when you select an empty robot slot in your team HQ). Since all of the robots are called Bot0, Bot1 or Bot2 you will have to rename the files when you paste them, which is tedious but easy enough.
Let me know if I didn't explain anything well enough.
Download Mortis.py
Download some of my DSL2.2 Bots

Offline max-damage

  • Antweight
  • Posts: 5
  • Rep: 0
    • View Profile
    • Awards
Re: How to select AI-Teams in LAN-Multiplayer
« Reply #2 on: March 21, 2015, 08:42:52 AM »
Hi Lemonism,

thank you very much for your quick reply :)

Yout got that right - I want the AI robots as playable bots to start quick matches at our LAN parties (without building own bots before).

Is there no quicker/easier way - e.g. modifying the teams.txt? I couldn't find a description regarding the structure of the teams.txt file so far.

Offline Philippa

  • The Queen of GTM
  • Giga Heavyweight
  • Posts: 6186
  • Rep: 0
  • ✊ Viva la Standard! ✊
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: How to select AI-Teams in LAN-Multiplayer
« Reply #3 on: March 21, 2015, 08:47:02 AM »
Could you describe in more detail how you copied the teams and stuff across? The error might be in there somewhere.

Offline max-damage

  • Antweight
  • Posts: 5
  • Rep: 0
    • View Profile
    • Awards
Re: How to select AI-Teams in LAN-Multiplayer
« Reply #4 on: March 21, 2015, 08:53:56 AM »
I've copied the Team0, Team1 ... Team15 (all 16 directories) from the AI folder to the Teams subfolder in the RA2 main directory (overwritten the existing ones).

Offline ty4er

Re: How to select AI-Teams in LAN-Multiplayer
« Reply #5 on: March 21, 2015, 08:56:54 AM »
what you could probably do is create a bunch of empty teams in the hq, and copy/paste the .bot files into each team folder, and change the teams.txt file (at the end it should say Robots: 0 1 2 3 4 5 if you have 6 robots in that team)

also welcome buddy
DSL Showcase
is this bot don't lost all razors in a fight before do a damage thought

Offline max-damage

  • Antweight
  • Posts: 5
  • Rep: 0
    • View Profile
    • Awards
Re: How to select AI-Teams in LAN-Multiplayer
« Reply #6 on: March 21, 2015, 02:56:37 PM »
I've tried several things and finally I could make it :)

Of course I'll share the results with you - so maybe someone can use this as a draft for his own teams =D

Here it comes:
Code: [Select]
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Test
"Test"
Teams\Chaos.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
Robot Arena Reincarnated
"From the forgotten graves and rusting junk we rise again!"
Teams\RA1.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
Arthrobotics
"Be warned... these bugs swat back."
Teams\arthrobotics.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
Team Despair
"Deep inside your darkest dream, you can hear our voices scream !"
Teams\teamdespair.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
Ordo Ignis
"Super efficient cleaning service, for flash results!"
Teams\ordoignis.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
In Darkest Night
"You won't even see your bots losing!"
Teams\indarkestnight.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
Earth Element
"How can you fight the strength of the Earth Element?"
Teams\earthelement.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
Chaos
"New stuff."
Teams\Chaos.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
Blood Thorns
"Never underestimate the power of a sawblade on a Magmotor"
Teams\bloodthorns.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
Alkali Metals
"Brought to you by H@zm47"
Teams\alkalimetals.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
Black Hole
"Winning is relative"
Teams\blackHole.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
The Dead Pool
"Brought to you by Pwnator"
Teams\deadpool.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
Team Destroyer
"Destroying the opposition"
Teams\DestroyerLogo2.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
Team Destroyer 2
"Still destroying the opposition"
Teams\DestroyerLogo2.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
ENT_toxic_X_2
"Caution: even more toxic than before"
Teams\ent.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
Happy King Cat
"The king gets bored, give him some fun"
Teams\happykingcat.bmp
Robots: 0 1 2 3 4 5
Robot In Event: -1
0
16
16
0
0
0
0
0
10000
true
0
false
0
-1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
« Last Edit: March 22, 2015, 10:54:42 AM by Trovaner »

Offline Philippa

  • The Queen of GTM
  • Giga Heavyweight
  • Posts: 6186
  • Rep: 0
  • ✊ Viva la Standard! ✊
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: How to select AI-Teams in LAN-Multiplayer
« Reply #7 on: March 21, 2015, 05:43:02 PM »
You need to put "index (number)" at the start of each team's bit of code, I think.

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17536
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: How to select AI-Teams in LAN-Multiplayer
« Reply #8 on: March 21, 2015, 06:29:12 PM »
I think he just said he got it to work.

Offline Philippa

  • The Queen of GTM
  • Giga Heavyweight
  • Posts: 6186
  • Rep: 0
  • ✊ Viva la Standard! ✊
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: How to select AI-Teams in LAN-Multiplayer
« Reply #9 on: March 21, 2015, 06:57:41 PM »
I think he just said he got it to work.
:<

Offline max-damage

  • Antweight
  • Posts: 5
  • Rep: 0
    • View Profile
    • Awards
Re: How to select AI-Teams in LAN-Multiplayer
« Reply #10 on: March 22, 2015, 04:07:00 AM »
Yes, works like a charm with structure posted above :)