A couple of features I'd like to see as well are built in remoteeval spam protection and the ability of the server to access terrain information like visible distance, haze distance, map dimensions, map center, etc.
Lemmon you fruit!
// new for 3.x -Plasmatic
deletevariables("$MissionInfo:*");
%start = waypointtoworld("0 0");
%end = waypointtoworld("1024 1024");
$MissionInfo:X = getword(%start,0);
$MissionInfo:Y = getword(%start,1);
$MissionInfo:H = getword(%end,0)-$MissionInfo:X;
$MissionInfo:W = getword(%end,1)-$MissionInfo:Y;
echo("X: "@$MissionInfo:X);
echo("Y: "@$MissionInfo:Y);
echo("H: "@$MissionInfo:H);
echo("W: "@$MissionInfo:W);
http://www.annihilation.info/forum/viewtopic.php?p=103387Lasers only fire to Visible distance, so I drop a bot at a throttled speed towards a laser turret, then record the distance in a .cs file. I've got it accurate to about 1%
I'd really like to see an updated ::ondamage callback that returns the standard
::onDamage(%this,%type,%value,%pos,%vec,%mom,%vertPos,%quadrant,%object)
but adds the shooting object at the end like this
::onDamage(%this,%type,%value,%pos,%vec,%mom,%vertPos,%quadrant,%object,%player)
The function in 1.11 returns the shooter client as %object instead of the actual object. Adding this would make it easier to track turret kills, ai kills, and so on.
But as long as we see a fixes along with a vehicle fix, and improved damage masks for shapes like "newdoor5" -The common blastwall- I'll be ecstatic.