....This would actually be pretty sweet. Laggy, but sweet.
i want a wepon that makes a giant explosion and explodes the entire bedroom
Actually, I think it was NiXiLL or Fooly Cooly who gave me a weird code for making a Blackhole. It worked by impulsing all players within a radius toward a point. AKA, wouldn't really lag when done.Shouldn't be too hard to adapt the script, although I've never been able to test it since no one joins my server when I want to test it.
Black hole bomb?
//NiXiLLfunction serverCmdCreateBlackHole(%client, %size) { if(!%client.isadmin) { messageClient(%client, "Admin Only"); return; } else if(!isObject(%client.player)) { messageClient(%client, "You do not exist!"); return; } if(%size > 5000 || %size < 5) { messageClient(%client, "Force must be between 5 and 5000"); return; } %force = %size*2; schedule(250, 0, BlackHole, %client, %size, %force); messageAll(-1,"\c3"@%client.getPlayerName()@" \c0has created a black hole!");}function BlackHole(%client, %size, %force) { //for(%i = 0; %i < ClientGroup.getCount(); %i++) { // %c = ClientGroup.getObject(%i); // if(isObject(%c.player) && %c != %client) // %c.player.applyImpulse(0, vectorScale(vectorNormalize(vectorSub(%client.player.getPosition(), %c.player.getPosition())), %force)); //} initContainerRadiusSearch(%client.player.getPosition(),%size,$TypeMasks::PlayerObjectType); while((%targetObject = containerSearchNext()) != 0) { if(%targetObject != %client.player) { if(!isObject(%targetObject)) {break;} %targetObject.applyImpulse(0, vectorScale(vectorNormalize(vectorSub(%client.player.getPosition(), %targetObject.getPosition())), %force)); } }}
Lumii :3 says:*nu*i refuse*i won't post my own crappy code*besides*<3 ruby*</3 TQS*i should post a ruby topic