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 - Wheatley

Pages: 1 ... 136 137 138 139 140 [141] 142 143 144 145 146 ... 148
2101
Gallery / Re: New Portal Gun - Finally added pictures!
« on: July 04, 2011, 09:09:34 AM »
Portaling to the center of the map What do you mean by that?
Portaling through objects like bricks?
Portals in portals Are you planning on creating the gun from scratch? I'm fairly certain I could find something in the old pgun that prevented this.
and Floating portals oh stuff.
Did you use a function that makes sure the receiving object is:
NOT a player/bot
NOT a vehicle

By the way, the code that you might use/reference is here:
(I'm tired right now, so I ripped it from the old pgun)
for portals being placed on areas that aren't bricks or the map itself:
Code: [Select]
%class = %col.getClassName();

if(%class !$= "InteriorInstance" && %class !$= "StaticShape" && %class !$= "TSStatic" && %col.getClassName() !$= "fxDTSBrick" && %class !$= "TerrainBlock")
 {
  portalError(%pos,%obj.originPoint);
  return;
 }
That's from the projectile's ::OnCollision feature.
It pretty much checks if what the projectile collided with was anything other than:
-The map itself
-A brick

and then the portals in portals thing:
Code: [Select]
for(%i=0;%i<PortalGunCtrl.getCount();%i++)
 {
  %portal = PortalGunCtrl.getObject(%i);
  if(vectorDist(%portal.position,%pos) < 5 && %portal != %obj.sourceObject.portalOrange)
  {
   portalError(%pos,%obj.originPoint);
   return;
  }
 }
This is from the orange portal projectile's ::OnCollision code.
It checks if a portal has hit less than 5 units in radius(most players call them studs, i guess. unit = 1x1 brick) away from another portal, and if so, checks if it is NOT an orange portal. If it is a blue portal (basically, a portal that isn't orange), it spawns a portalError at the position of the projectile's collision point. Otherwise, it moves the portal, as seen here:
Code: [Select]
if(isObject(%obj.sourceObject.portalOrange)){%obj.sourceObject.portalOrange.delete();}

 %rot = -(getWord(%normal,1)) SPC -(getWord(%normal,0)) SPC getWord(%normal,2) SPC "90";
 %p = new ParticleEmitterNode()
 {
  datablock = genericEmitterNode;
  emitter = PGunOrangePortalEmitter;
  scale = "0.1 0.1 0.1";
  rotation = %rot;
  velocity = "1";
  client = %obj.client;
  position = vectorAdd(%pos,vectorScale(%normal,0.4));
  normal = %normal;
  sourceObject = %obj.sourceObject;
  colObject = %col;
  portalType = "Orange";
 };
 %obj.sourceObject.portalOrange = %p;
This checks if there's already an orange portal open, and if so, deletes it so another can be created. then it creates an emitter node at the projectile's collision location, and needless to say, a portal.

I mostly explained this in case anybody else couldn't read it. Besides, you learn more from reading if you say it "out loud"(or in this case, type it in English), and that helps me to learn how BL-Torque works a bit more.

Probably, you'll need to look at the script more in order to find out what everything equals. This should make a good reference, though.

Hopefully that helps.

2102
Gallery / Re: New Portal Gun - Finally added pictures!
« on: July 02, 2011, 09:18:22 PM »
Needs potato
PotatOS only wants you gone.

2103
Drama / Re: Avatar Stealer
« on: July 02, 2011, 03:22:46 AM »
&snip&
OP stole Nickelob's avatar! Ban him from your servers!
Steam != Blockland
Also, that's Google Images.
Yes, I realize that was not a serious post.

2104
Drama / Re: N!NJA
« on: June 30, 2011, 12:45:12 AM »
I think that we can all safely say that anybody with the word ninja or anything ninja related is a complete and utter moron.
ulitementnigjaassaindudexxxxx12312
ok, anything that includes things related to "stealth killing" and, well, killing in general.

2105
Drama / Re: -Quaz- and Exper, using irrelevant arguments all over
« on: June 30, 2011, 12:38:31 AM »
People tend to hate people who have overused internet phrases / abbreviations in their names.

2106
You don't watch enough news / don't watch quality news
I wouldn't call "quality news" something about a toddler being eaten or something like that, but yeah, there's a lot of news about dying children.

2107
Drama / Re: Stupid Bans, Kicks, and Mutes
« on: June 25, 2011, 07:57:18 PM »
Supporting the imaginery war: B-b-ban. Though the host is an idiot.
Uhh... my worst ban. I went to this server that I was invited to, then some idiot started raging saying HUR U NUB U GT ME BANED and other stuff. Never heard of him before. I got perma-banned for the reason Revenge. I later learned he had made a brick in GCats server before the minigame so he had unlimited health and jets. He got permanbanned. It was a year ago.
Someone holds quite a grudge.

One time, I joined Xang's Rooftop rockets TDM.
The second I joined, he muted me before I even said anything.
His reason was "because I can".

2108
Games / Re: Half-Life 2 Episode Three Comes out Tommrow!
« on: June 23, 2011, 07:18:12 PM »
I bet over half of you scrums begging for Ep. 3 never even played all the Half Lives before.
I've played all the Half-Life 2's.
If lost coast doesn't count.  :cookieMonster:

2109
Games / Re: TF2 Uber Update
« on: June 23, 2011, 07:11:06 PM »
ASDF

I can't run TF2 on this computer.

I can hardly run Portal on the lowest settings.

FFFUUUUU

2110
ANTLION?

HOLY stuff
I would play minecraft if it had an antlion that didn't even fit the graphical theme.
But wait. would it have the Antlion Queen/Bull?

2111
Add-Ons / Re: Sentry and Sapper: 11/6/10
« on: June 22, 2011, 06:31:28 PM »
I fixed a couple bugs and made it compatible with the Disguise Kit (although it's not a great item).
I also noticed that at least the mg sentry fires above the targets head at a large distance. Not sure what causes that..

2112
Drama / Re: Captain Jordan, Map Stealer.
« on: June 09, 2011, 04:59:10 AM »
This is why the game should have a thing that only allows people with the host's full trust to save.

Seriously.

2113
Drama / Re: Is it right that cucumberdude did this?
« on: June 09, 2011, 12:43:45 AM »
I'm pretty sure that your reason for IRC-ing the answer would be that *DEAD* CHAT was enabled, right?

So isn't it common sense to not use IRC as a back-up chat?

Besides, you were seriously trying to ruin the point of the server. 5 days should give you time to think about it, and maybe consider the *last* result before you try it again.

2114
Drama / Re: skill4lif e is a ponycigarette!! (evidence inside!)!
« on: June 09, 2011, 12:31:01 AM »
Correct me if I'm wrong but can't you get banned for stupid dramas like this?
What are you talking about? This is serious stuff.

2115
Drama / Re: skill4lif e is a ponycigarette!! (evidence inside!)!
« on: June 09, 2011, 12:29:02 AM »
At first I thought the terrible super-revealing picture was part of the joke amazing.

Also, EPICPLOTTWIST

Pages: 1 ... 136 137 138 139 140 [141] 142 143 144 145 146 ... 148