home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / DataLo~1.cab / _A76EE4EAC46A42A5B2A9C689905E940E < prev    next >
Encoding:
Text File  |  2004-06-02  |  1.1 KB  |  23 lines

  1. // enum of light types - must be synchro with Light.java
  2. $LIGHT_NONE     (i, 0)
  3. $LIGHT_ROAD     (i, 1)
  4. $LIGHT_STOP     (i, 2)
  5. $LIGHT_REVERSE  (i, 4)
  6.  
  7. // enum of dynamic light types - must be synchro with Light.java
  8. $DYNLIGHT_NONE  (i, 0)
  9. $DYNLIGHT_LEFT  (i, 1)
  10. $DYNLIGHT_RIGHT (i, 2)
  11.  
  12. !Light(s)           // start of light definition block (s - light unique name)
  13. !LightType(i)       // type of light (1 - road, 2 - stop, 4 - reverse)
  14. !LightDynType(i)    // type of dynamic light (0 - none, 1 - left, 2 - right)
  15. !LightMaterialParams(s, s, s, s, s) // change material definition 
  16.                                     // (element, orig. mat, broken mat, orig mat. menu, broken mat menu)
  17. !LightFlareParams(s, s, i) // flare definition (mounting element, fx name, bool: should trace car)
  18. !Health(f)
  19. !DamageThreshold(f)             // minimum damage value, that can damage this part (damage threshold)
  20.  
  21. !AddGridLocation(i, i, i, f)    // location of this part in parts grid (nX, nY, nZ, fMembership) (see part.def)
  22.  
  23. !LightGlass(s)      // name of glass corresponding to this light