Author Topic: Arenas  (Read 1611 times)

Offline Dragonfire

Arenas
« on: August 24, 2008, 04:41:18 PM »
Anybody know how to change the start location of a robot in any arena?

e.g. which script do i edit, which specific line, etc.

thanks in advance

Offline JoeCB1991

  • Middleweight
  • Posts: 359
  • Rep: 0
    • View Profile
    • Awards
Arenas
« Reply #1 on: August 24, 2008, 09:11:38 PM »
I need to do this too, the balance tail on one of my VS's gets stuck on some levels when the match starts.

Offline Madiaba

Arenas
« Reply #2 on: August 24, 2008, 10:42:59 PM »
The info is in the arena's gmf.  After you decompile it, just 'search' for the below text ""GMID_ATTACHMENTPT" (there are 4 starting points, below is starting point 1):
 
    *GMID_ATTACHMENTPT
 {
  *NODE_NAME Point01
  *NODE_TM
  {
   *NODE_NAME Point01
   *TM_ROW0 0 0 -1
   *TM_ROW1 0 1 0
   *TM_ROW2 1 0 0
   *TM_ROW3 -17 1 12
 }
  USER DATA type = startpoint
id = 1
 }

Just edit the X and Z positions (center is Y) until you get it to start where you want.
 
(PS: the indenting in the gmf must be kept as is)
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 Scrap Daddy

Arenas
« Reply #3 on: August 24, 2008, 11:32:34 PM »
Can you change how high off the ground a robot starts?

Offline Madiaba

Arenas
« Reply #4 on: August 25, 2008, 07:20:57 AM »
Yep.  Just adjust the Y parameter in the said triad.
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 goose

  • *
  • Posts: 10015
  • Rep: 1
    • View Profile
    • Awards
Arenas
« Reply #5 on: August 25, 2008, 12:08:00 PM »
Im going to add this small tutorial to the wiki.

https://gametechmods.com/RA2wiki/index.php?title=Arena_start_location

wiki is colorless(I think?)
sippin' on my Honeydew bubble tea.
party in my tummy. yummy, yummy.

Offline Dragonfire

Arenas
« Reply #6 on: August 25, 2008, 01:44:55 PM »
but how do you change the direction the bot is facing?
i changed the position, but now they face the wrong way and also walls which where translucent are now opaque.

Offline goose

  • *
  • Posts: 10015
  • Rep: 1
    • View Profile
    • Awards
Arenas
« Reply #7 on: August 25, 2008, 03:58:48 PM »
I beleve it is  has to do with:
   *TM_ROW0 0 0 -1
   *TM_ROW1 0 1 0
   *TM_ROW2 1 0 0

just play with the 1 location

Im sure that  mad or someone that has more experience can explain it in  more detail, I made all my arenas using max so I never needed to play with the GMF
sippin' on my Honeydew bubble tea.
party in my tummy. yummy, yummy.

Offline Madiaba

Arenas
« Reply #8 on: August 25, 2008, 04:17:40 PM »
Goose has the idea... Here's a chart I drew up for Hacker-X that explains the purpose of TM_ROWS:
 

 
In the above settings, the bot is squarely set in the arena (Bot's X is toward arena's X, etc....).
If you need more help let me know...
 
 
Goose: Thanks allot for doing the wiki... Time, you know....
« Last Edit: August 25, 2008, 05:00:19 PM by Madiaba »
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 goose

  • *
  • Posts: 10015
  • Rep: 1
    • View Profile
    • Awards
Arenas
« Reply #9 on: August 25, 2008, 11:16:41 PM »
No problem Mad. This kinda stuff is what I envisioned when ACAMS and I were putting the wiki together. Not that the stuff on the wiki is not interesting, it is just not very useful. (IMO)
sippin' on my Honeydew bubble tea.
party in my tummy. yummy, yummy.