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

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 ... 1041
76
Why is this

77
Wait, when your in admin orb, doesnt the crosshair disappear?

Why would it?

78
Modification Help / Re: Raycasting
« on: April 30, 2014, 12:50:25 PM »
Shape? how would that work?

  • Create a static shape.
  • Position it inbetween the two points and rotate it.
  • Scale it on an axis based on the orientation of the model to the distance between the points.
  • Play a thread on it.

79
Modification Help / Re: Raycasting
« on: April 30, 2014, 12:46:10 PM »
Just use one animated static shape per line.

81
Games / Re: Leaked Images of Portal 3?!
« on: April 30, 2014, 06:15:27 AM »
"Re: Leaked Images of Port..."

:panda:

82
Hey, I'm having trouble with something. I'm trying to get steam to open in the system tray on startup, but I don't want the window to open when it starts. Is there a way I could start it in the system tray with no window on login?

steam -silent

83
Modification Help / Re: Seeing if a player can see another player.
« on: April 30, 2014, 01:45:19 AM »
For anyone who uses this thread please note that Has one to many closing Parentheses. Think before Copy and Pasting mindlessly

Oh, whoops - took it from my general purpose FOV script and somehow messed it up when converting from embedded return with another expression to a plain check.

84
Off Topic / Re: sandstorm played on tiny Annoying Orangeet
« on: April 29, 2014, 03:05:59 PM »
troot troot

85
Modification Help / Re: Seeing if a player can see another player.
« on: April 29, 2014, 02:17:02 PM »
Just one more question, in ports post are %a and %b client objects?

They are objects that inherit from the Player class—they are players or bots.

86
RootGroup.deleteAll();

87
Off Topic / Re: Furry Megathread - Furry Things Here
« on: April 29, 2014, 01:05:04 PM »
first is best

88
Add-Ons / Re: Emil's Useful Brick-packs (new + old)
« on: April 29, 2014, 12:58:37 PM »
Great.

89
Have another you video, you strange people

https://youtube.com/watch?v=oU1t5ADGWyE

90
Modification Help / Re: Seeing if a player can see another player.
« on: April 29, 2014, 11:59:57 AM »
Checking occlusion:

%ray = containerRayCast(%a.getEyePoint(), %b.getEyePoint(), $TypeMasks::FxBrickObjectType);

if (%ray)
  // ... something is in the way
else
  // ... there is a direct line of sight from eye to eye




Checking FOV (assuming %a is trying to look at %b and has a client):

%angle = %a.client.getControlCameraFOV();
%direct = vectorNormalize(vectorSub(%b.getPosition(), %a.getPosition()));
%product = vectorDot(%a.getEyeVector(), %direct);

if (%product >= 1 - (%angle / 360) * 2)
  // ... %b is within %a's viewcone
else
  // ... %b is outside of %a's viewcone




Hull traces might also prove useful.

Pages: 1 2 3 4 5 [6] 7 8 9 10 11 ... 1041