Author Topic: Tremulous building sizes  (Read 4966 times)

Vector_Matt

  • Posts: 732
  • Turrets: +2/-1
Tremulous building sizes
« on: January 08, 2007, 03:36:09 am »
I noticed that the tremulous mapping wiki had a disturbing lack of building sizes. Does anyone know what the sizes are, or where they are listed?

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
Re: Tremulous building sizes
« Reply #1 on: January 08, 2007, 03:39:27 am »
Quote from: "Vector_Matt"
I noticed that the tremulous mapping wiki had a disturbing lack of building sizes. Does anyone know what the sizes are, or where they are listed?

All models are scalable in the scripts, which also list the bounding box sizes. Have a look in the data pk3 (a regular zip file).

Vector_Matt

  • Posts: 732
  • Turrets: +2/-1
Tremulous building sizes
« Reply #2 on: January 08, 2007, 03:57:48 am »
I found them in \overrides\buildables, however, I'm not sure quite how to read the size list:
Code: [Select]

mins        -41 -41 -15
maxs        41 41 95

I presume that the maxs is the length width and height of the buildable, but what is mins?

Risujin

  • Posts: 739
  • Turrets: +33/-13
    • http://risujin.org
Tremulous building sizes
« Reply #3 on: January 08, 2007, 05:48:03 am »
Quote from: "Vector_Matt"
I presume that the maxs is the length width and height of the buildable, but what is mins?

My guess is that the mins and maxs is how far the bounding box extends from each side of the center of your entity (and thus model). So width would be maxs[0] - mins[0].