gametechmods

Robot Arena => Modifications => Topic started by: Streetlamp on September 04, 2016, 11:40:47 AM

Title: *ARENA* - The Trauma Pit
Post by: Streetlamp on September 04, 2016, 11:40:47 AM
Hey, long time lurker first time poster.

Been working on an arena for about a week now and it's nearly ready for release. Started off as a reskin of the AU arena from the BBAI pack to make it look like the Rio Delgado Center from RA1 (ya'know, to match the imported RA1 parts in the Retooled pack). Started messing with the .gmf and one thing led to another and it kinda turned into its own thing.

(https://gametechmods.com/uploads/images/38520Robot Arena 2 2016-09-03 17-34-34-43.png)

Click Here (https://gametechmods.com/forums/index.php?action=downloads;sa=view;down=279) to download.

EDIT: Gave the arena a proper name, got the OOTA working, and walls hitbox fixed.

Title: Re: *ARENA* - Battle Center (Needs New Name)
Post by: R01 on September 04, 2016, 11:54:19 AM
Wow, amazing work for a newcomer.
Title: Re: *ARENA* - Battle Center (Needs New Name)
Post by: 090901 on September 04, 2016, 12:14:32 PM
looks sexy man

iirc the combat arenas walls has a sperate visual and collision mesh.

also its possible to import the whole rio arena  :dumb)
Title: Re: *ARENA* - Battle Center (Needs New Name)
Post by: Badger on September 04, 2016, 12:25:51 PM
That's super cool, nice work. You should upload it to the downloads section, cause that dropbox link is gonna die at some point.
Title: Re: *ARENA* - Battle Center (Needs New Name)
Post by: yugitom on September 04, 2016, 12:45:49 PM
I really like this arena; nice job :)
Title: Re: *ARENA* - Battle Center (Needs New Name)
Post by: Mecha on September 04, 2016, 01:51:20 PM
I was just wondering the other day how come we don't have more RA1 arenas.
Nice work
Title: Re: *ARENA* - Battle Center (Needs New Name)
Post by: Mr. AS on September 04, 2016, 02:12:15 PM
There's a few ways to add elimination zones, but most arenas just use this bit of code from the tabletop arenas:

Code: [Select]
    def Tick(self):
        # check to see if anyone has been "eliminated" by falling off the tabletop
        for each in self.players:
            if plus.getLocation(each)[1] < Y:
                plus.eliminatePlayer(each)

        return Arenas.SuperArena.Tick(self)

where Y is the height a robot needs to be in order to be eliminated. If you were able to figure out the .gmf, finding the correct Y value should be easy enough.

The code is pretty flexable, plus.eliminatePlayer(each) can be changed to any command, such as plus.addPoints(each, X) or plus.force(BotID, X_Direction, Y_Direction, Z_Direction) or whatever. You can also change the < to a > if you want a robot that is higher than a certain height to have an effect, rather than lower.

This thread also has some information on how to add OOTA zones and other hazards. (https://gametechmods.com/forums/index.php?topic=17773.msg677300#msg677300)

The arena itself is looking pretty good. The only thing I would really add is a hazard or two, just to give it some variety. I feel some combat zone-esque popup spikes, or hellraisers would fit well with this arena.
Title: Re: *ARENA* - The Trauma Pit
Post by: Badnik96 on September 07, 2016, 01:24:11 AM
holy sh** i remember you! i found your ra2 series on youtube forever ago

this arena is super cool man, hope you stick around