2851
Suggestions & Requests / Xalos' solar apocalypse mod
« on: December 24, 2016, 07:43:15 PM »
Anyone have this game mode? The link in his release thread is dead
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Sure was like this when I joined in v10

we have better gun laws
function solHEGrenadeProjectile::OnExplode(%this, %obj, %pos)
{
%client = %obj.client;
%haveFound = 0;
%damage = 200;
%radius = 17;
%mask = $TypeMasks::PlayerObjectType;
%brickMask = $TypeMasks::FxBrickObjectType;
messageAll('', "\c6----------------------------------------------------------------------------------");
messageAll('', "\c3NEW-" @ %this.getName() SPC "thrown by" SPC %client.name SPC "exploded at" SPC %pos);
messageAll('', "Doing container search at" SPC %pos SPC "with radius" SPC %radius SPC "for typemask" SPC %mask);
//spawnPongExplosion(%pos);
initContainerRadiusSearch(%pos, %radius, %mask);
while(%search = containerSearchNext())
{
%grenadeFoundPlayer = false;
%searchPosition = %search.getPosition();
messageAll('', "\c3NEW RESULT: " @ %haveFound SPC"\c1Found player" SPC %search SPC "at position" SPC %searchPosition);
// check if its a bot
if(!isObject(%search.client))
messageAll('', "\c3Object" SPC %search SPC "is a bot.");
//This part is where we check for parts on the player that the grenade can see
for(%i = 1; %i < 4; %i++)
{
%searchPosition = %search.getPosition();
messageAll('', "\c1Pass number:" SPC %i);
//adjust position upwards
%x = getWord(%searchPosition, 0);
%y = getWord(%searchPosition, 1);
%z = getWord(%searchPosition, 2);
%z += %i;
%searchPosition = %x SPC %y SPC %z;
//Raycast
messageAll('', "\c1Doing raycast to player with end point" SPC %searchPosition);
%raycast = containerRaycast(%pos, %searchPosition, %brickMask, 0);
messageAll('', "\c1Raycast returned:" SPC %raycast);
if(%raycast)
{
//found a brick
messageAll('', "\c5Raycast found a brick between explosion and" SPC %search);
getWord(%raycast, 0).setColorFX(3);
}
else
{
//found nothing
messageAll('', "\c4Raycast did not find a brick between explosion and" SPC %search);
%grenadeFoundPlayer = true;
}
}
if(%grenadeFoundPlayer)
{
messageAll('', "\c0Player" SPC %search SPC "hit by explosion!");
%distanceFromExplosion = VectorDist( %pos , %search.getPosition() );
messageAll('', "\c0Player" SPC %search SPC "was" SPC %distanceFromExplosion SPC "units from the explosion.");
messageAll('', "\c6The explosion did" SPC %damage SPC "damage at the epicenter...");
%damageMultiplier = 1 - (%distanceFromExplosion / 20);
%finalDamage = %damage * %damageMultiplier;
messageAll('', "\c6At this range, the explosion does" SPC mFloor(%damageMultiplier * 100) @ "% of the damage.");
messageAll('', "\c0" @ %finalDamage SPC "damage dealt.");
//(%this, %obj, %pos, %damage, %damageType)
%search.Damage(%search, %pos, %finalDamage, $DamageType::SolExplosion);
}
else
{
messageAll('', "\c2Player" SPC %search SPC "safe.");
}
%haveFound++;
}
//spawnPongExplosion(%searchPosition);
//%search = containerSearchNext();
messageAll('', "\c3Found nothing else. Ending search after" SPC %haveFound SPC "total. Time of search:" SPC getSimTime());
Parent::OnExplode(%this, %obj, %pos);
}
You're misinterpreting the point. The point is that in the time it takes me to collect all items in one game, I only get enough to buy one item (without upgrades) in this game.
any tips for quick $$$
sounds like someone really wants to justify all the time they've wasted
agreed, if people don't compliment and like the things you make they're just stubborn idiots
ive played dark souls 2 for 32 hours
would i rather play dark souls 2 again or grind for a single car in gta v
what a hard choice.
if 90,000 people put in 2,000,000 hours, then each of them has played an average of 22 hours that day