gametechmods

Robot Arena => General Support => Topic started by: Dragonfire on August 24, 2008, 04:41:18 PM

Title: Arenas
Post by: Dragonfire 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
Title: Arenas
Post by: JoeCB1991 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.
Title: Arenas
Post by: Madiaba 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)
Title: Arenas
Post by: Scrap Daddy on August 24, 2008, 11:32:34 PM
Can you change how high off the ground a robot starts?
Title: Arenas
Post by: Madiaba on August 25, 2008, 07:20:57 AM
Yep.  Just adjust the Y parameter in the said triad.
Title: Arenas
Post by: goose 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?)
Title: Arenas
Post by: Dragonfire 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.
Title: Arenas
Post by: goose 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
Title: Arenas
Post by: Madiaba 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:
 
(http://www.madiaba.gametechmods.com/PICS/Matrix_pic.jpg)
 
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....
Title: Arenas
Post by: goose 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)