home *** CD-ROM | disk | FTP | other *** search
/ Hacker 14 / HACKER14.ISO / Games / TTDemo.exe / GAMEDATA / Camera.cst next >
Text File  |  1998-02-27  |  3KB  |  74 lines

  1. ;-----------------------------------------------------------------------------------------------------
  2. ;
  3. ;    This file contains camera internal constants that (normally) does not need to be edit, but
  4. ;    that can change during development process.
  5. ;
  6. ;    Changing this values can result of big problems...
  7. ;
  8. ;    In case of problems, contact CB.
  9. ;
  10. ;-----------------------------------------------------------------------------------------------------
  11.  
  12.  
  13.  
  14.  
  15. {CameraConstants
  16.  
  17.     ; This is the ray of the camera sphere
  18.     RayCameraSphere(0.35)
  19.  
  20.     ; Ray of camera sphere to determin if camera can go to a given position (source and dest)
  21.     ; Source is 1 and dest is 2
  22.     RayCameraSphereToGo1(0.30)
  23.     RayCameraSphereToGo2(0.30)
  24.  
  25.     ; Ray of camera sphere to determin if camera can see a given position (source and dest)
  26.     ; Source is 1 and dest is 2
  27.     RayCameraSphereToSee1(0.10)
  28.     RayCameraSphereToSee2(0.10)
  29.  
  30.     ; Number of ray to determin if camera can go to a given point
  31.     NumRayCameraCanGo(2)
  32.     ; Number of ray to determin if camera can see a given point
  33.     NumRayCameraCanSee(1)
  34.  
  35.     ; Private target parsing speed (when cineinfo small target vertex changed too quickly */
  36.     SpeedParsingPrivateTarget(0.05)
  37.  
  38.     ; To go smally to real pos when in computed state
  39.     SecondSpeedToJoinIdealPos(0.10)
  40.  
  41.     ; To go smally to real pos when in computed state and when angular movment (keep distance)
  42.     SecondSpeedToJoinIdealPosAngular(0.20)
  43.  
  44.     ; Min angle for choosing a new good position in normal mode
  45.     ; Pi/4
  46.     BaseAngleComputePosNormal(0.7853981633974482)    
  47.  
  48.     ; Min angle for choosing a new good position in case of failure
  49.     ; Pi/8
  50.     BaseAngleComputePosFailure(0.3926990816987241)
  51.  
  52.     ; Every x trames, we try to find a better position if we are not at the first ideal one
  53.     TickFindBetterPos(60)
  54.  
  55.     ; If camera dos not move under x trames, the current position became the ideal one
  56.     TickForcePosIfNotMove(60)
  57.  
  58.     ; Time window for averagepos function to determin the average position of the target perso
  59.     AverageForComputePos(0.75)
  60.  
  61.     ; Angle used when the angular change is cutting up (IAFlag = 3)
  62.     ; Pi/4
  63.     DeltaForAngleParsing(0.7853981633974482)
  64.  
  65.     ; Linear Speed for going back to optimal position when the target does not move
  66.     LinearSpeedToJoinOptimalPos(3.0)
  67.  
  68.     ; Angular Speed for going back to optimal position when the target does not move 
  69.     AngularSpeedToJoinOptimalPos(2.8)
  70.  
  71.     ; Speeding Up for going back to optimal position when the target does not move
  72.     SpeedingUpToJoinOptimalPos(0.2)
  73.  
  74. }