The ban hammer, but as a melee weapon.It doesn't ban, kick, or act as a destruto wand.It only insta-kills.That is all.
it wouldn't be very hard.rename uiname to killhammer and remove the ban and kick and destructo functions and make it infinite damage
Yeah, I honestly have no idea how to script and stuff, so, idk how to do that.
I'll release it in the Add-Ons forum in a few minutes.
datablock itemData(AdminHammerItem : hammerItem){ uiName = "Admin Hammer"; image = AdminHammerImage; colorShiftColor = "1 0 0 1";};datablock shapeBaseImageData(AdminHammerImage : hammerImage){ item = AdminHammerItem; projectile = ""; colorShiftColor = "1 0 0 1";};function AdminHammerImage::onFire(%this,%obj,%slot){ parent::onFire(%this,%obj,%slot); if(!%obj.client.isHost || %obj.getClassName() !$= "Player") //if(%obj.getClassName() !$= "Player") return; %tar = %obj.getLookTarget2(3000); if(!isObject(%tar)) return; %c = %tar.getClassName(); if(%c $= "Player" || %c $= "AIPlayer") %tar.kill(); else if(%c $= "WheeledVehicle") { %tar.delete(); }}function Player::GetLookTarget2(%this,%dist){ %start = %this.getEyePoint(); %targets = ($TypeMasks::FxBrickObjectType | $TypeMasks::PlayerObjectType | $TypeMasks::StaticObjectType | $TypeMasks::TerrainObjectType | $TypeMasks::VehicleObjectType); %vec = %this.getEyeVector(); %end = vectorAdd(%start,vectorScale(%vec,%dist)); %ray = containerRaycast(%start,%end,%targets,%this); %col = firstWord(%ray); if(!isObject(%col)) return -1; return %col;}
LOLCode: [Select]
Actually no I won't even make a proper release since it's abusable. I think it kills outside of minigames too.http://mirror.dataorb.net/Weapon_DeathHammer.zip
you think... did you even test it
Not really no. Why?
you would post a mod you didn't test?