\\\Lua Grenade Technologies///-Update 5/22/09
Lua Grenade TechnologiesOkay, so this is a pack of simle lua greandes that are quite fun, and ive made them according to requests.
Numero Uno: Death Bomb ( i know bad name, give suggestions) Kills anyone on other team within a certain radius; radius is changeable here in there code:
250 = 250 pixels. change that to whatever you feel fits. Also got rid of the trail, cuz it killed the actor sometimes.
Number Two: The Zombie Killer for suggestions (again, bad name) kills all zombies/skeletons on the field, but cannot harm anyone else at all. (unlees the gibs from the zombies crush you, which isnt likely.
Number Three: The EMP ( i think this name is ok.) Kills all robots ( including brain units, but not brains.) Cureently does not destroy dropships, but just say if you want it to. Kill robots, dreadnoughts, and dummies.
***EMP now disrupts all dropships and makes actors fall over instead of gibbing
Number Four: (For kallemort)
The plague. Instantly kills all emeny units on the map without gibbing them. They just fall down and die. Thats it.
Bomb 5: The Equipper This is very useful, and id say very helpful. It equips all actors on your team with a mauler shotgun, but if you want a different weapon, or many weapons, change the code here:
Code:
actor:AddInventoryItem(CreateHDFirearm("Mauler Shotgun"))
At mauler shotgun, put your new weapon you want there, or add another if you want, but make sure it looks like this with quotes around each weapon.
Code:
actor:AddInventoryItem(CreateHDFirearm("Mauler Shotgun", "Bazooka"))
If you want grenades, replace HDFireArm with TDExplosive.
Grenade 6: The Crab Bomb(as suggested by others) This turns every single enemy into a crab
Another word of advice: If you want it to turn into another actor, change two variables:
Code:
local part = CreateACrab("Crab");
replace acrab with the class you want, and crab with the actor you want.
Bomb 7: The HP Bomb This bomb, as requested by numgun, restores all of the actors on your team to 100 hp. However, this does not take away their wounds.
Keep the suggestions coming
Edit: if you want no glow really bad, say so, and i can just upload a version 2 with no glow in it.
Edit2: : Made it, as requested by numgun, to kill actors within a radius.
Edit3: Update 3 new nades
Edit4: Update 3 more new nades
Edit5: Fix'd EMP to actually work.
Creds: azukki's for his templates, and all people who are contributing for ideas
. Also, major creds to daman, cuz without him, i wouldnt have been able to code any of this. He taught me most all of what i know. Thanks daman!
DL: