Author Topic: Can someone modify a file to make the hammer in the stock "Half circle arena" mortal?  (Read 2843 times)

Offline Tigermisu

  • Antweight
  • Posts: 39
  • Rep: 0
    • View Profile
    • Awards
Can someone modify a file to make the hammer in the stock "Half circle arena" mortal?

I think is too big and does almost no damage, I been looking and playing with the files but i can't find the one that sets how damage a hazard inflicts.

I could use that someone make, or told me how to, the hammer stronger, maybe enought that it can KO a LW bot, and inflict serious damage to a HW.

Please?:-D
:truck:



Offline cephalopod

It's definately do-able, I've known people to do similar things, but I'm not sure what I'm editing.
bristol bot builders / two headed death flamingo / snappy robots
//
kindest and friendliest '13, '15, '16, '17 / favourite staff member '14, '15

Offline Tigermisu

  • Antweight
  • Posts: 39
  • Rep: 0
    • View Profile
    • Awards
Thank you.

I'll wait for an expert on editing :-)
:truck:



Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Be sure to make a backup first before modding...

To increase damage all you really need to do is change the .8 in this line to something higher...
Code: [Select]
self.SetSubMaterialSound("Hammer", "metal", .8, "Sounds\\hzd_hammer_thud.wav")
This function makes the specified sound play whenever the "Hammer" hits something, assigns the material to "metal" (only other choices are "rubber" and "arenium"), and how much damage it inflicts (I'm not sure what the relationship between this value and the actual damage is but it generally doesn't need a big, huge number to deal large amounts of damage).

Offline Madiaba

^^yep^^ Thanks, Trov. (you deserve a raise)...
Watch out though, cause Spyguy will nail you for long answers... (though I like them).
 
My input:
Just remove the decimal:
Code: [Select]
self.SetSubMaterialSound("Hammer", "metal", [COLOR=red].8[/COLOR], "Sounds\\hzd_hammer_thud.wav")
self.SetSubMaterialSound("Hammer", "metal",  [COLOR=red]8[/COLOR], "Sounds\\hzd_hammer_thud.wav")

Bwahahahaha!!!!!
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 Tigermisu

  • Antweight
  • Posts: 39
  • Rep: 0
    • View Profile
    • Awards
Wow u guys so smart!!

But you forgot one thing...

In what file is that command?
:truck:



Offline Madiaba

"half" python file.
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 Tigermisu

  • Antweight
  • Posts: 39
  • Rep: 0
    • View Profile
    • Awards
Wait i got it.

Half.py

Uhm nice!!!!!!!1 it works!!

I wonder, what other hazards are underpowered.......
:truck:



Offline JoeBlo

8 ?? mad your way to kind try 500 :evil:

that is if you want bots to die is 2 hits haha

Offline DuckRA2

  • *
  • Posts: 1006
  • Rep: 1
    • View Profile
    • Awards
I like over powered spikes


:roll:

Offline JoeBlo

yeah :P

or like the Dreadzone arena I made out of the Octagon

Offline Madiaba

-500? :Confused:
 
-Nice spikes, Duck.
 
-You guys (Joe/Duck/Wham/...) need to keep up your gmf and py work until you can understand and do just about anything....:biggrin:
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 JoeBlo

makes the hazards more hazardous :P

I made the Crushers of the Compressor arena kill in about 2-3 hits because I figured that was a little more realistic

Offline Somebody

  • *
  • Posts: 7201
  • Rep: 13
  • CP: +2
    • View Profile
    • Awards
On the subject of crappy hazards:
I've always wondered since I got RA2: What do those buttons in the corners of the Electric Arena do?
They have the sz thingies and it shows them in the intro, but I've tried for a while and can't get them to seem to do anything.
I built that big robot on that TV show that time


Offline Pwnator

  • *
  • Posts: 6676
  • Rep: 15
  • Awards BOTM Winner
    • View Profile
    • http://pwnator.tumblr.com
    • Awards
  • See profile for gamer tags: Yes
Since the game is unfinished, those SZs are probably for activating the lightning hazard whether bots are in there or not.
Clash Cubes 1 - Grey Matter (Runner-Up)
King of Karnage - Sideshow Freak (Runner-Up, Best Engineered)
Rust In Pieces - Paper Cut 3 (Grand Champion, Most Dangerous Bot)
Wheely Tag Tournament - Ion Thruster (Grand Champion, along with Ounces' DiSemboweLment)
UK vs USA - Dark Striker (Grand Champion)
Rust In Pieces 2 - Claymore (Runner-Up, Favourite Bot)
BBEANS 6 - Infection 4 (Runner-Up)
RA2 Team Championships - Serious Business, Skeksis (Runner-Up, along with Scrappy, S_M, and Badnik)
RA2 Team Championships 2 - The Other Stig (Runner-Up, along with Scrappy, S_M, Badnik, 090901, and R1885)
Replica Wars 3 - Abaddon (Runner-Up, Luckiest Bot)
BroBots - wheebot & yaybot (Runner-Up)
Robo Zone 2 - Dipper (4th place, Survival Champion, & Best Axle Bot)
ARBBC - The Covenant (3rd place, BW Rumble Winner, Most Feared BW)

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Quote from: Somebody;75943
On the subject of crappy hazards:
I've always wondered since I got RA2: What do those buttons in the corners of the Electric Arena do?
They have the sz thingies and it shows them in the intro, but I've tried for a while and can't get them to seem to do anything.


I think, don't quote me on this, but I heard they only work if there are more than 2 bots in the arena.

Offline Tigermisu

  • Antweight
  • Posts: 39
  • Rep: 0
    • View Profile
    • Awards
Amazing...

How could I make the flamethrowers in the DSL Robot wars arena/claw top arena more dangerous? They take ages to burn down a bot.....

Edit: yeah i wonder why those buttons are for.
:truck:



Offline RedSawn

  • aka RedlineM203
  • *
  • Posts: 1922
  • Rep: 4
  • Awards BOTM Winner
    • View Profile
    • Awards
Quote from: Tigermisu;76052
Amazing...

How could I make the flamethrowers in the DSL Robot wars arena/claw top arena more dangerous? They take ages to burn down a bot.....


Hazards.py in the Arenas folder. These are the python files for the hazards ofcourse.
Code: [Select]
plus.damage(compinfo[0], compinfo[1], 40, (compinfo[2], compinfo[3], compinfo
Find Flame and look for that.

Electricity is also in there.




Offline cephalopod

I've just had an idea. I was just editing flames like you guys spoke about, and I know people once discussed a Sumo arena, well could you put flame jets in a circle, make the robots start in the circle, then make the flame damage so high that it's an instant KO?

Is this anything like a good idea? Anyhow... wrong thread, I know.
bristol bot builders / two headed death flamingo / snappy robots
//
kindest and friendliest '13, '15, '16, '17 / favourite staff member '14, '15

Offline Madiaba

Red: Thanks for helping out.
 
Craig, Tiger: Here are a couple example tweeks using the flames (location, movement, potency)and a couple other Hazards:
P_3
 
P_4
 
P_5
 
M-1final
« Last Edit: November 01, 2009, 05:40:40 AM 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...