Author Topic: Hitboxes on certain buildings  (Read 5008 times)

Molog

  • Posts: 72
  • Turrets: +0/-0
Hitboxes on certain buildings
« on: May 27, 2004, 08:54:50 am »
With certain buildings armoury, telenode, reactor what is actually there to hit is larger than you see. Can be annoying if you think you have a clear shot on an alien in your base and end up hitting one of your own buildings.

Timbo

  • Administrator
  • Posts: 447
  • Turrets: +155/-161
Hitboxes on certain buildings
« Reply #1 on: May 27, 2004, 07:38:25 pm »
Due to the axial alignment of bounding boxes, and the fact that the buildables can be placed at any angle, most of them really need to be the size they are. Use 'cg_drawBBOX 1' to see them.

Norfenstein

  • Posts: 628
  • Turrets: +81/-78
Hitboxes on certain buildings
« Reply #2 on: May 27, 2004, 08:30:44 pm »
"cg_drawBBox is cheat protected." :-?

Does it need to be? Would be very useful for builders so they don't have to wait out a build timer for slightly misplaced structures, then another timer for destroying them.

OverFlow

  • Posts: 386
  • Turrets: +44/-1
    • http://bobbin.vilkacis.net
Hitboxes on certain buildings
« Reply #3 on: May 27, 2004, 10:45:04 pm »
I've never had any problems with the size of human structures.  Well, maybe the turrets... but like timbo said, it kinda has to be that way.

start up your own game w/ cheats by typing in the console: /devmap nexus6 or whatever map you want.

play around with turrets and build some things on slopes and it'll become apparent what going on :P

Timbo

  • Administrator
  • Posts: 447
  • Turrets: +155/-161
Hitboxes on certain buildings
« Reply #4 on: May 27, 2004, 11:46:25 pm »
Quote from: "Norfenstein"
"cg_drawBBox is cheat protected." :-?

Does it need to be? Would be very useful for builders so they don't have to wait out a build timer for slightly misplaced structures, then another timer for destroying them.


Yes since it makes it blindingly obvious where to aim, even from far away. It also betrays the location of "hidden" buildables to the enemy. There really is no excuse for misplacing structures since you can clearly see where they will be placed when you build them.

Norfenstein

  • Posts: 628
  • Turrets: +81/-78
Hitboxes on certain buildings
« Reply #5 on: May 28, 2004, 06:57:45 pm »
That's just the thing, you can't see the actual boundary of structures from the build preview. Often times I want to make a barricade so that it mostly blocks a door (and appears to completely block it) but I can still squeeze past. Since the bounding box is larger than the build preview I often have to destroy and rebuild the structure until it's right. I know this is pretty minor, but if the build preview included the actual boundary (just as a flat 2d square), or you could cancel a structure before it's completely built (without the timer penalty) then it'd be a lot less annoying.

If not, I guess I'll just get used to it.

Jex

  • Posts: 137
  • Turrets: +20/-8
Hitboxes on certain buildings
« Reply #6 on: June 13, 2004, 11:34:28 pm »
Quote
or you could cancel a structure before it's completely built (without the timer penalty)


seems like a good idea to me