Poll

Which is better

Toggle-Able Ground
22 (62.9%)
"No Ground" Ground
13 (37.1%)

Total Members Voted: 35

Author Topic: Toggle the Ground by Pacnet2012 v3 - Fixed, unwanted useless messages removed.  (Read 8479 times)

You did it in a pretty messy way, as Ephialtes said.
Personally, I would have added another selection to the default ground texture menu, and then parent envGui_SetVar to delete the ground plane if it was selected.
No annoying slash commands or unneeded client add-ons.

You could just go to the ground color and change the transparency to 0 if you want it invisible or still there.

Or you can type /getid while looking at the ground and get the object ID and in console or EVAL type
Code: [Select]
objectIdhere.delete();

Or you can type /getid while looking at the ground and get the object ID and in console or EVAL type
Code: [Select]
objectIdhere.delete();
Or you can do groundPlane.delete();

The script is simple.

Plus wouldn't heightCheck() start to get the server lagging if they're plenty of players on that server?

Code: [Select]
function makeGP()
{
if(isObject(groundPlane))
  return;
new fxPlane(groundPlane) {
   position = "0 0 -0.5";
   rotation = "1 0 0 0";
   scale = "1 1 1";
   topTexture = "Add-Ons/Ground_Plate/plate.png";
   bottomTexture = "Add-Ons/Ground_Plate/plate.png";
   loopsPerUnit = "2";
   scrollSpeed = "0.000000 0.000000";
   color = "0 128 64 255";
   rayCastColor = "128 128 128 255";
   blend = "0";
   additiveBlend = "0";
   colorMultiply = "0";
   isSolid = "1";
};
}
Add a check to see if the groundPlane is deleted or something; you could also use ifObject() rather than variables as well, it's much less messier and looks better.

I'm not trying to be a lugnut and subtly explain the script is stuff and talk about ternary operators on your post or anything, it's a decent idea. :-)
« Last Edit: October 03, 2012, 02:52:16 PM by nerraD »

Plus wouldn't heightCheck() start to get the server lagging if they're plenty of players on that server?

If there's 1k+ players, sure.


I saw that ninja.

I checked the schedule time and edited accordingly (or so) seeing as I thought the schedule time was much lower.

I don't think Pacnet realizes there's something called "Self Delete"

I don't think Pacnet realizes there's something called "Self Delete"
When there were maps, if you fell down into the map then some would have death triggers to kill you.

When there were maps, if you fell down into the map then some would have death triggers to kill you.
What?

What?
If you mean the part of the script that kills you when you go too far under (once the ground has been removed), normally you don't want to press CTRL + K, and in some maps before the shader update there were death triggers below the map to kill you if you fell off.

Also known as :

bottomless pit that kills players after a distance
« Last Edit: October 03, 2012, 04:01:11 PM by Pacnet2012³ »

Since when did people do this?

There are so few people who need to delete the ground, and I doubt any of them had any reason for players to be falling.

Just set their Z to a distance above the plane. It's so much better than killing them or respawning them.

All downloads are broken.
Help.

Tell pacnet fo fix the link then.