Forum

Numbers in QUAKED lines.

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Numbers in QUAKED lines.

Postby siska.robert » Thu Jun 30, 2011 2:20 pm

Hi.

In each entity definition, there is comment like this:
QUAKED monster_ogre (1 0 0) (-32 -32 -24) (32 32 64) Ambush

Does anybody know, what do these numbers mean?
User avatar
siska.robert
 
Posts: 58
Joined: Wed Feb 17, 2010 7:51 pm
Location: Czech Republic

Postby Spirit » Thu Jun 30, 2011 3:19 pm

Extends of the bounding box from what I know.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1031
Joined: Sat Nov 20, 2004 9:00 pm

Postby siska.robert » Thu Jun 30, 2011 3:33 pm

Seems right, but what about that (1 0 0)? Isn't that too small for any of bounding box dimensions? Especially for big badass like ogre...
User avatar
siska.robert
 
Posts: 58
Joined: Wed Feb 17, 2010 7:51 pm
Location: Czech Republic

Postby metlslime » Thu Jun 30, 2011 5:55 pm

two of the triplets are mins/maxes of the bounding box, the other triplet is RGB color for displaying the box in QuakeEd.
metlslime
 
Posts: 316
Joined: Tue Feb 05, 2008 11:03 pm

Postby siska.robert » Thu Jun 30, 2011 8:09 pm

metlslime wrote:two of the triplets are mins/maxes of the bounding box, the other triplet is RGB color for displaying the box in QuakeEd.

Now THAT seems right :) Thanks!
User avatar
siska.robert
 
Posts: 58
Joined: Wed Feb 17, 2010 7:51 pm
Location: Czech Republic


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest