Author Topic: A few questions.  (Read 2712 times)

Raytray

  • Posts: 355
  • Turrets: +3/-19
    • http://trem-null.com
A few questions.
« on: March 13, 2007, 10:22:14 pm »
"rect 200 248 240 22"
The first, second, third, and last number are for what?  I'm pretty sure the first number is size.

And !namelog, it outputs connected users in two colors, yellow and white.
What do the colors signify?
I'm not sure but yellow seems to say that namelog has seen the user before.
}MG{Raytray

talon

  • Posts: 13
  • Turrets: +0/-0
A few questions.
« Reply #1 on: March 14, 2007, 09:01:41 am »
In directx or opengl programming and most low level languages, A rect command is given 4 coordinates to fix the position of the rectangle, (not introducing the z element, as thats usualy used in placement)

So for example rect 200 248 240 22 would be:

top left corner is x:200 y:248
bottom right corner is x:240 y:22

this would then give shape to the entire rectangle

(usually in a graphic engine this would be followed with more variables to alpha, shading, etc..)

FooBar

  • Posts: 94
  • Turrets: +9/-1
    • http://avalanche.server.googlepages.com
A few questions.
« Reply #2 on: March 14, 2007, 02:02:14 pm »
In namelog, I'm fairly sure that yellow means the player is currently connected.  White means they're not, but that they WERE connected some time during the level.  Only players who connected during the current level show up in the namelog.

Raytray

  • Posts: 355
  • Turrets: +3/-19
    • http://trem-null.com
A few questions.
« Reply #3 on: March 14, 2007, 08:22:25 pm »
Ah I see, thanks.
}MG{Raytray