home *** CD-ROM | disk | FTP | other *** search
/ Tripas 4 / TRIPAS 004.iso / sin.EXE / SIN / BASE / models / camera.def < prev    next >
Encoding:
Text File  |  1998-11-03  |  1.3 KB  |  38 lines

  1. SDEF
  2. path models/camera
  3. scale 1.0
  4. camera_base.tga
  5. camera_base.sbm
  6. camera_idle.SAM
  7.  
  8. id 10 group light fullbright
  9.  
  10. !init:
  11. server classname object
  12. server flags +darken +explode +die_shatter
  13.  
  14. !main:
  15.  
  16.  
  17. /*SINED func_securitycamera (1 0 0) (0 0 0) (0 0 0) ORBIT START_ON PAN
  18.  
  19. Camera used for security etc.
  20. Has visible model.
  21.  
  22. "target" points to the target to orbit or follow.  If it points to a path, the camera will follow the path.
  23. "distance" the distance to follow or orbit if the target is not a path. (default 128).
  24. "speed" specifies how fast to move on the path or orbit.  (default 1).
  25. "fov" specifies fov of camera, default 90.
  26. "yaw" specifies yaw of camera, default 0.
  27. "height" specifies height of camera from origin, default 128.
  28. "panspeed" speed at which to pan ( 7 degrees per second )
  29. "panmax" maximum angle offset for panning ( 45 degrees )
  30. "nextcamera" a link to the next camera in a chain of cameras
  31. "overlay" an overlay to use while looking through the camera
  32. "thread" a thread label that will be fired when the camera is looked through
  33.  
  34. ORBIT tells the camera to create a circular path around the object it points to.  It the camera points to a path, it will loop when it gets to the end of the path.
  35. START_ON causes the camera to be moving as soon as it is spawned.
  36. PAN camera should pan from right to left
  37.  
  38. */