Blockland Forums > Modification Help
Brick Killing
RedGajin:
--- Quote from: wizzlemanizzle on April 14, 2011, 11:46:23 PM ---|->"I know that you could you the trust system but that would apply for all bricks and would cause
| problems"
| umm, if you clarify what thi means, perhaps someone could help you, what im getting from what you
| have asked is
| "would it be possible to make a hammer/admin wand?"
| yes... if not they wouldnt exist, and there wouldnt be "Admin weapons" which can destroy bricks.
|-clarify what this means and perhaps you will get your answer
--- End quote ---
There's an add-on trust system that allows you to set certain trust levels for people on the server, ie painting, building, ect. What I'm asking is if I could make an item like the admin wand, but not admin only.
lilboarder32:
--- Quote from: MegaScientifical on April 14, 2011, 11:21:46 PM ---Badspot would never allow a remake of this event.
--- End quote ---
Why do you say that. I'm sure you could make it a certain way that would be acceptable.
MegaScientifical:
--- Quote from: lilboarder32 on April 15, 2011, 12:01:24 AM ---Why do you say that. I'm sure you could make it a certain way that would be acceptable.
--- End quote ---
It's funny, I thought about including something like that in my post. Then I thought "If I give them any hope, they're going to whine until someone does it the wrong way and makes drama." Meh.
Placid:
--- Quote from: RedGajin on April 14, 2011, 11:51:12 PM ---What I'm asking is if I could make an item like the admin wand, but not admin only.
--- End quote ---
why in the world would you ever want this, all it would do is cause havoc in your server.
Iban:
Nobody in this thread has any idea what they're talking about.
function GunProjectile::onCollision(%this, %obj, %col, %fade, %pos, %normal)
{
// Is it a brick?
if(%col.getType() & $TypeMasks::FxBrickObjectType)
%col.killBrick();
// If not, normal routine.
else
return parent::onCollision(%this, %obj, %col, %fade, %pos, %normal)
}
This should kill any brick you shoot with the regular gun, if my memory serves me.