Yep, these are still supported, though I'm no longer sure they all do the
exact same thing as Quake 1.

>From engine\model.h

#define EF_ROCKET       (1<<0)                  // leave a trail
#define EF_GRENADE      (1<<1)                  // leave a trail
#define EF_GIB          (1<<2)                  // leave a trail
#define EF_ROTATE       (1<<3)                  // rotate (bonus items)
#define EF_TRACER       (1<<4)                  // green split trail
#define EF_ZOMGIB       (1<<5)                  // small blood trail
#define EF_TRACER2      (1<<6)                  // orange split trail +
rotate
#define EF_TRACER3      (1<<7)                  // purple trail

#define EF_FLYMODEL     (1<<8)                  // illuminate as flying
model
#define EF_COMPLEX      (1<<9)                  // does complex entity to
entity intersection
#define EF_ENVLIGHT     (1<<10)                 // only uses environment
light


-----Original Message-----
From: omega [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 8:02 AM
To: [EMAIL PROTECTED]
Subject: RE: [hlcoders] QC $flag ?


Quake engine stuff.
The flags are uhm /me pulls up engine source..

#define EF_ROCKET       1                       // leave a trail
#define EF_GRENADE      2                       // leave a trail
#define EF_GIB  4                       // leave a trail
#define EF_ROTATE       8                       // rotate (bonus items)
#define EF_TRACER       16                      // green split trail
#define EF_ZOMGIB       32                      // small blood trail
#define EF_TRACER2      64                      // orange split trail +
rotate
#define EF_TRACER3      128                     // purple trail

however, I don't know how much of it still exists in the hl engine.


-omega
Blackened Interactive - http://blackened-interactive.com
Front Line Force - http://www.flfmod.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
[EMAIL PROTECTED]
Sent: December 20, 2002 11:06 AM
To: [EMAIL PROTECTED]
Subject: [hlcoders] QC $flag ?

[ Converted text/html to text/plain ]
All (especially Valve):

In a model .qc file, there is the option $flags followed by a integer.
I see
that this is stored in the .mdl file and can be read from the .mdl as
part of
the studiomdl_t structure.  But is there an easy way to access this
value on
the client side without reloading the model header?  Also, what do the
$flag
values represent?  It seems a value of 3 causes the model to light up.

Thanks for your help!
Scott
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to