Author Topic: AI combing, AI Merging or whatever you'ld call this.  (Read 1684 times)

Offline thesnowingsteak

  • Middleweight
  • Posts: 284
  • Rep: -1
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
AI combing, AI Merging or whatever you'ld call this.
« on: May 14, 2015, 08:43:18 AM »
I've been trying to merge AIs from different mods with zero success I asked about this in another forum with Resetti replying with this sentence.

"I've basically done this with the copy of RA2 that I make replicas with.  The extenders, sawblades, and anchors get overwritten, so you need to make backup copies of them.  I went through the txt and gmf files of each one and added "Classic" to the ends of their names."

I took his advice and while the game still works nothing happened if someone can simplify this sentence or suggest something else I would thank them just remember I not a tech wiz in the slightest I please don't go mad because I didn't understand.
The art of insanity is the very core of art itself.

Offline 090901

  • alcoholic in denial
  • *
  • Posts: 7006
  • Rep: 22
  • :mrgreen:
  • Awards Donated money for site hosting 2019 GTMCS2 Divison Winner GTMCS Division Winner
    • View Profile
    • Awards
Re: AI combing, AI Merging or whatever you'ld call this.
« Reply #1 on: May 14, 2015, 09:16:33 AM »
1. What mods are you even trying to combine
2. You can't just rename the .gmf file, because the .txt will still have the old .gmf file name in it  I'm not sure why you would even rename the .gmf files.
3. You still need to combine the AI folders if you want to fight the AI bots, which means you will have to rename the team folders, combine the bindings (easy part ) and combine the teams.txt. You need to make sure that the team folders and the index numbers in the teams.txt are in order. (AI doesnt matter).

Offline thesnowingsteak

  • Middleweight
  • Posts: 284
  • Rep: -1
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI combing, AI Merging or whatever you'ld call this.
« Reply #2 on: May 14, 2015, 09:31:33 AM »
1. What mods are you even trying to combine
2. You can't just rename the .gmf file, because the .txt will still have the old .gmf file name in it  I'm not sure why you would even rename the .gmf files.
3. You still need to combine the AI folders if you want to fight the AI bots, which means you will have to rename the team folders, combine the bindings (easy part ) and combine the teams.txt. You need to make sure that the team folders and the index numbers in the teams.txt are in order. (AI doesnt matter).

I was trying to merge AI's from the standard dsl ai with that RW ai set from Whammanutt.  I renamed the teams from team 1-21 if that's what you're asking the rest I don't understand much, yeah can imagine you being understandably annoyed right now.

The art of insanity is the very core of art itself.

Offline cephalopod

Re: AI combing, AI Merging or whatever you'ld call this.
« Reply #3 on: May 14, 2015, 09:39:34 AM »
Before you attempt something like this you NEED to understand how RA2 works. Otherwise you have to learn it all as you go and it's a massive uphill battle.
Renaming the teams in the AI folder and adding more does not tell the game there are more teams there.
The Bindings files need to be combined - The bindings.py file tells the game how to control each robot. It's this file that AIing is based on.
The Teams.txt files need to be combined. This file tells RA2 what teams are where.
Once you've understood this, we can start to get to grips with the harder (sort of) bit, understanding how components work.
bristol bot builders / two headed death flamingo / snappy robots
//
kindest and friendliest '13, '15, '16, '17 / favourite staff member '14, '15

Offline yugitom

  • *
  • Posts: 2378
  • Rep: 17
  • Google Garry's Wars
    • TheYuGiTom
    • View Profile
    • Awards
  • Skype: nanwiththeplan
Re: AI combing, AI Merging or whatever you'ld call this.
« Reply #4 on: May 14, 2015, 10:27:20 AM »
I asked about this in another forum with Resetti replying with this sentence.

"I've basically done this with the copy of RA2 that I make replicas with.  The extenders, sawblades, and anchors get overwritten, so you need to make backup copies of them.  I went through the txt and gmf files of each one and added "Classic" to the ends of their names."
I'm pretty sure he said that on this forum.

Offline thesnowingsteak

  • Middleweight
  • Posts: 284
  • Rep: -1
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI combing, AI Merging or whatever you'ld call this.
« Reply #5 on: May 14, 2015, 11:05:46 AM »
Before you attempt something like this you NEED to understand how RA2 works. Otherwise you have to learn it all as you go and it's a massive uphill battle.
Renaming the teams in the AI folder and adding more does not tell the game there are more teams there.
The Bindings files need to be combined - The bindings.py file tells the game how to control each robot. It's this file that AIing is based on.
The Teams.txt files need to be combined. This file tells RA2 what teams are where.
Once you've understood this, we can start to get to grips with the harder (sort of) bit, understanding how components work.
Thank you Craaig I have more of an understanding of what I'm doing but just so we're on the same page here by combing do you mean

A:Copying and pasting the file just how they are.

B:Opening them, merging the scripts together in one file.
The art of insanity is the very core of art itself.

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: AI combing, AI Merging or whatever you'ld call this.
« Reply #6 on: May 14, 2015, 10:19:05 PM »
Both.

To combine the AI bots from multiple packs:
-You will need to copy/paste the AI.py files (one of each).
-You will need to copy/paste/rename the Teams folders.
-You will need to merge some of the contents of the Bindings.py files.
-You will need to merge some of the contents of the Teams.txt files and correct the team numbers.
-You will need to make sure that all of the components used by the AI get copy/pasted as necessary (if a component is modified on one version, it will require quite a bit more work to keep them separate).

Offline cephalopod

Re: AI combing, AI Merging or whatever you'ld call this.
« Reply #7 on: May 15, 2015, 04:24:56 AM »
Yeah, you'll need to learn to BFE (bot file edit) if bots from both packs use a component with the same name that is actually different in some way.
bristol bot builders / two headed death flamingo / snappy robots
//
kindest and friendliest '13, '15, '16, '17 / favourite staff member '14, '15

Offline thesnowingsteak

  • Middleweight
  • Posts: 284
  • Rep: -1
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: AI combing, AI Merging or whatever you'ld call this.
« Reply #8 on: May 17, 2015, 10:34:10 AM »
Cheers for all your help I'm greatful.
The art of insanity is the very core of art itself.