gametechmods
Robot Arena => Discussion => Topic started by: Classicus on February 04, 2013, 08:48:53 AM
-
What do I change in cube.py to make the hazards do more damage? Thanks.
-
I don't have a cube.py. Do you mean box.py?
Either way, the easiest way of increasing damage for arena objects is by modifying their material damage value. The floating point number in self.SetSubMaterial or self.SetSubMaterialSound is what you'll want to modify.
-
Thanks for the help. The hazards seem to have a bit more punch now. I also have self.spinner.SetPowerSettings(100,855) self.hammer.SetPowerSettings(20,1000) would these be relevant?
-
I don't have a cube.py. Do you mean box.py?
i have a cube.py, and it is click's containment cube.
the number that determines damage values for most hazards (IE the combat arena's saws, spinners, hammers... etc) should be ' "metal", X, ', you can set it what whatever number you like, including some insanely high number for extra destructiveness :mrgreen:
-
Thanks Trov + AS, worked a treat. I know its not a bit thing but I find it more satisfying when hazards give a noticeable hit. Also gives more of a chance to flippers and other non-weapon bots in closed arenas.
-
I don't have a cube.py. Do you mean box.py?
i have a cube.py, and it is click's containment cube.
Whoops, I guess I didn't have it installed on my USB's version of RA2.
Thanks for the help. The hazards seem to have a bit more punch now. I also have self.spinner.SetPowerSettings(100,855) self.hammer.SetPowerSettings(20,1000) would these be relevant?
In this context, those are used for controlling torque and speed (prismatics have something similar for force and speed). You can crank those up if you want but you may end up launching a bot out of the arena (straight through the collision mesh).
-
Yeah was funny watching it fly when I tried it. I'm thinking of trying it on Battlebots arena but I think it may cause a black hole and destroy the planet.