Poll

Want?

Yes
5 (100%)
No
0 (0%)

Total Members Voted: 5

Author Topic: Altitude Killer  (Read 1262 times)

I'm making a Floating Islands server, and I need a better way of killing people, bots, and destroying vehicles when they get too low other than placing a metric stuffton of evented zones.

If you want a similar Add-On comparison, it would be Boom's Boundary Mod.

I would like it to have a few prefs that can be set through RTB, these being:

Enable Altitude Limit(bool)
Warn Altitude(Value greater than or equal to Kill Altitude)
Effect AltitudeValue >0
Kill Bots and Players(bool, activates at Effect Altitude)
Destroy Vehicles(bool, activates at Effect Altitude)

I feel like this was needed for a long time.

I suggest invisible lava with the default environment controls.  It's probably possible without using mods.

I just don't want that splash and burn effect.  That just makes it really cheesy.

You could try Swollow's terminal velocity mod. It doesn't kill on altitude, but rather if you fall too fast.

Well there are aircraft, so if someone glides down, then they can just sit on the ground.

This could work so you cant go to space

That too.  Would prevent helicopters from launching into suborbital altitudes.

Ceiling and floor options would indeed be nice.

I did the same server idea and used both the noground map ground texture and the noground server mod - a command that toggles the collision and visibility of the ground and creates a region below the ground (rtb pref for height) that kills people.

[edit]

http://forum.blockland.us/index.php?topic=210169.30 (server mod)

http://forum.blockland.us/index.php?topic=203813.0 (invisible ground plate.  Not the one I used)
« Last Edit: April 02, 2014, 12:23:34 AM by Gen. Hothauser »

Oh, thanks

So I can lower my stuff, too.

Bump.

Turns out that mod has missing functions and therefore doesn't work.

Try making a 64x64 with kill events and dup it around.

Try making a 64x64 with kill events and dup it around.
Read the op:
I need a better way of killing people, bots, and destroying vehicles when they get too low other than placing a metric stuffton of evented zones.
Zones work in the same way, but are supposed to detect people mid-air.  I have to make the zones fairly high so that they can pick up players before they just slam into the ground.  Also, baseplates won't necessarily pick up vehicles.

Code: [Select]
$Swol::Alt_VehicleDeath = 0;
$Swol::Alt_MinigameOnly = 0;
$Swol::Alt_Height = -40;
$Swol::Alt_Enabled = 1;
package swol_altitudeKill
{
function gameConnection::createPlayer(%this,%pos)
{
parent::createPlayer(%this,%pos);
%this.player.altCheckSched = %this.player.schedule(500,altitudeLoop);
}
function Player::altitudeLoop(%this)
{
cancel(%this.altCheckSched);
if(!isObject(%this))
return;
if(%this.noAltitudeDeath)
return;
if(isObject(%this.client) && $Swol::Alt_MinigameOnly)
{
if(!isObject(%this.client.minigame))
return;
if(!%this.client.minigame.fallingDamage)
return;
}
//%vehicle = %this.getObjectMount();
%z = getWord(%this.getPosition(),2);
if(%z <= $Swol::Alt_Height)
%this.kill();

%this.altCheckSched = %this.schedule(500,altitudeLoop);
}
};
activatePackage(swol_altitudeKill);
heres liek some code or soemthing

http://forum.blockland.us/index.php?topic=203813.0 (invisible ground plate.  Not the one I used)
That ground can cause problems with some environment settings, it is best to just set the ground's color completely transparent.

Ik how to make this work, but I'm in English class, so maybe I can later