Show Posts

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.


Messages - Rally

Pages: 1 ... 186 187 188 189 190 [191] 192 193 194 195 196 ... 534
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

2852
Add-Ons / Re: Invisible Admin Orb
« on: December 23, 2016, 10:52:12 PM »
Sure was like this when I joined in v10

joined in v8, wasn't a thing ever

2853
General Discussion / Re: Post your main Blockland avatar.
« on: December 23, 2016, 01:28:46 PM »
what i wear normally



what i wear when im building weed farms on family rps


2854
Off Topic / Re: ✵ ✴ - FORUMER OF THE DAY - ✴ ✵ - Day I
« on: December 23, 2016, 12:52:59 PM »
we have better gun laws

and more rape because of it

2855
Games / Re: Grand Theft Auto Megathread - OP 3.0
« on: December 23, 2016, 11:20:00 AM »
what's faster: a bmx bike or the drug mission post op vans

2856
Off Topic / Re: Is Outpact- considered a child enthusiast?
« on: December 22, 2016, 06:54:18 PM »
It's possible that OP is a disgusting creep or it's possible that he's just an edgy friend. You lose either way.

If you have a loli avatar, or any cropped research for that matter, you have a 101% chance of being socially awkward/handicapped in real life.

2857
Aw dang it I thought I was being original

Can I get a link to that?

Found it https://forum.blockland.us/index.php?topic=242211.0

2858
I don't really have an issue, I just wanted to share this code I wrote because it seems to be working pretty well. Feel free to leave any criticism/suggest what I can do better, or use it if you think you'd like to. I'd like to know if I'm doing anything terribly wrong before I continue with the project. this is something I'd like to see more in blockland, especially with things like the HE grenade which have large damage radii and are kinda impossible to get away from

What it does is when an explosion happens, it finds all the players within a radius, and does a raycast at 3 z positions at the player looking for bricks in-between. If all 3 raycasts are blocked by a brick, the player is safe. If not, it determines the distance the player is from the explosion and damages them accordingly.

it has a lot of debug information, and highlights bricks in the way, was just kinda too lazy to remove it honestly

Code: [Select]
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);
}

2859
Games / Re: Grand Theft Auto Megathread - OP 3.0
« on: December 19, 2016, 10:02:41 AM »
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.

So do you think it'd be better if the Hydra and the tank were easily accessible to every 12 year old and their dog within 20 hours of sparking up their first online character? What's the point in having exotic luxury sports cars and super yachts if every casual dumbass in the world gets to have one lol?

forget that, I earned what I have. It's online freemode, you're not meant to have everything, for good reason

any tips for quick $$$

https://forum.blockland.us/index.php?topic=237203.msg9364700#msg9364700

2860
Games / Re: Grand Theft Auto Megathread - OP 3.0
« on: December 18, 2016, 08:52:54 PM »
sounds like someone really wants to justify all the time they've wasted

Time wasted enjoying a game? What should he do with that time instead? Make handicapped posts like this on the blockland forum until he's the top poster forum-wide night fox lmao?

2861
Off Topic / Re: Is it possible to be edgy anymore?
« on: December 18, 2016, 10:03:03 AM »
In the recent surge of identity politics it's becoming increasingly more acceptable to be a massive piece of stuff, but there are things that are still universally condemned, like supporting rape or talking about how much you want to commit a mass shooting or something

It's really just dumb jokes and dark humor that eventually fades with maturity

2862
Off Topic / Re: [Poll for kids] Are traps gay
« on: December 18, 2016, 08:50:02 AM »
I guess it depends, idk.

For example, take some very average or normal heteroloveual research, where a guy is giving it to a girl. Now slap some fake titties on the guy, and put a bunch of makeup on him, and try your best to pretend it's a girl. Technically speaking, there's less male on the screen, which isn't gay. It's just really loving weird.

On the other hand, take a look at any SFM thread on /gif/. You'll instantly notice that for some reason they're slapping richards on every female. Essentially, they're taking every female love organ they can find, and replacing it with a richard, because they like richards more. That's loving gay.

2863
Creativity / Re: The new and improved 3D model topic!
« on: December 17, 2016, 10:52:59 PM »
agreed, if people don't compliment and like the things you make they're just stubborn idiots

I don't think you understand how actually cool it is that he's pioneering weapon attachments and nodes

Besides the Z-Fighting, that's some cool stuff Perry. And for what it's worth I love your style, not everybody hates blocky

2864
Games / Re: Grand Theft Auto Megathread - OP 3.0
« on: December 17, 2016, 10:21:15 PM »
I mean you don't have to grind... there's tons of ways to earn cash in the game if you can't stand the thought of doing the same mission more than once a day, just some ways are more efficient than others lol

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.

I said 25-30 or less for the most expensive land vehicle in the entire game. It rocket jumps and shoots missiles. For the actual high end vehicles like the new Skyline, you're looking at 3-4 hours

hurrr i have 3-4 hours in hospital tycoon

2865
Games / Re: Grand Theft Auto Megathread - OP 3.0
« on: December 17, 2016, 07:15:46 PM »
if 90,000 people put in 2,000,000 hours, then each of them has played an average of 22 hours that day

And if they spent half of that time grinding they could've realistically earned $2,640,000 in that time, which is enough to buy a vehicle warehouse or almost any of the new cars

Pages: 1 ... 186 187 188 189 190 [191] 192 193 194 195 196 ... 534