gametechmods
Robot Arena => General Support => Topic started 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
-
I need to do this too, the balance tail on one of my VS's gets stuck on some levels when the match starts.
-
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)
-
Can you change how high off the ground a robot starts?
-
Yep. Just adjust the Y parameter in the said triad.
-
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?)
-
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.
-
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
-
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....
-
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)