home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / DVDStar / Akce / Half-Life2 / install-at2v4release2005.exe / AntTroopDuece / scripts / vehicles / apc.txt < prev    next >
Text File  |  2005-05-08  |  3KB  |  155 lines

  1.  
  2. "vehicle"
  3. {
  4.     "wheelsperaxle"    "2"
  5.     "body"
  6.     {
  7.         "countertorquefactor"    "1"
  8.         "massCenterOverride"    "0 0 0"
  9.         "massoverride"        "1600"        // kg
  10.         "addgravity"        "0.33"
  11.     }
  12.     "engine"
  13.     {
  14.         "horsepower"        "350"
  15.         "maxrpm"        "3000"
  16.         "maxspeed"        "35"        // mph
  17.         "maxReverseSpeed"    "20"        // mph
  18.         "autotransmission"    "1"
  19.         "axleratio"        "4.56"
  20.         "gear"            "1.86"        // 1st gear
  21.         "gear"            "1.59"        // 2nd gear
  22.         "gear"            "1.17"        // 3rd gear
  23.         "gear"            "1.0"        // 4th gear
  24.         "gear"            "0.84"        // 5th gear
  25.         "shiftuprpm"        "1500"
  26.         "shiftdownrpm"        "300"
  27.     
  28.         "boost"
  29.         {
  30. //            "force"        "1.5"    // 1.5 car body mass * gravity * inches / second ^ 2
  31.             "duration"    "1.0"    // 1 second of boost
  32.             "delay"        "15"    // 15 seconds before you can use it again
  33.             "torqueboost"    "1"    // enable "sprint" mode of vehicle, not    force type booster            
  34.             "maxspeed"    "50"    // maximum turbo speed
  35.             "force"        "2.5"    // use for value as a boost factor
  36.         }
  37.     }
  38.     "steering"
  39.     {
  40.         "degrees"        "26"
  41.         "fastdampen"        "0.35"
  42.         "slowcarspeed"        "0"
  43.         "fastcarspeed"        "40"
  44.         "slowsteeringrate"    "4"        
  45.         "faststeeringrate"    "2"
  46.         "steeringRestFactor"    "1.5"
  47.         "turnbrake"        "0.25"
  48.  
  49.         "skidallowed"        "1"
  50.         "dustcloud"        "1"
  51.     }
  52.  
  53.     // front axle
  54.     "axle"
  55.     {
  56.         "wheel"
  57.         {
  58.             "radius"    "28"
  59.             "mass"        "100"
  60.             "inertia"    "0.5"        // steady the car (fixes the oscillation of the axles about z)
  61.             "damping"    "0"
  62.             "rotdamping"    "0.0"
  63.             "material"    "rubbertire"
  64.             "skidmaterial"    "slidingrubbertire"
  65.             "brakematerial" "brakingrubbertire"
  66.         }
  67.         "suspension"
  68.         {
  69.             "springConstant"        "80"
  70.             "springDamping"            "4"
  71.             "stabilizerConstant"        "110"
  72.             "springDampingCompression"    "4"
  73.             "maxBodyForce"            "250"
  74.         }
  75.  
  76.         "torquefactor"    "0.8"
  77.         "brakefactor"    "0.5"
  78.     }
  79.  
  80.     // rear axle
  81.     "axle"
  82.     {
  83.         "wheel"
  84.         {
  85.             "radius"    "28"
  86.             "mass"        "100"
  87.             "inertia"    "0.5"        // steady the car (fixes the oscillation of the axles about z)
  88.             "damping"    "0"
  89.             "rotdamping"    "0.0"
  90.             "material"    "rubbertire"
  91.             "skidmaterial"    "slidingrubbertire"
  92.             "brakematerial" "brakingrubbertire"
  93.         }
  94.         "suspension"
  95.         {
  96.             "springConstant"        "80"
  97.             "springDamping"            "4"
  98.             "stabilizerConstant"        "110"
  99.             "springDampingCompression"    "4"
  100.             "maxBodyForce"            "250"
  101.         }
  102.         "torquefactor"    "0.2"
  103.         "brakefactor"    "0.5"
  104.     }
  105. }
  106.  
  107. "vehicle_sounds"
  108. {
  109.     // List gears in order from lowest speed to highest speed
  110.     "gear"
  111.     {
  112.         "max_speed"        "1.0"
  113.         "speed_approach_factor" "0.1"
  114.     }
  115.     "state"
  116.     {
  117.         "name"        "SS_SHUTDOWN"
  118.         "sound"        "apc_engine_stop"
  119.     }
  120.     "state"
  121.     {
  122.         "name"        "SS_START_IDLE"
  123.         "sound"        "apc_engine_start"
  124.     }
  125.     "state"
  126.     {
  127.         "name"        "SS_IDLE"
  128.         "sound"        "apc_engine_idle"
  129.     }
  130.     "state"
  131.     {
  132.         "name"        "SS_GEAR_0"
  133.         "sound"        "apc_firstgear"
  134.     }
  135.     "state"
  136.     {
  137.         "name"        "SS_GEAR_0_RESUME"
  138.         "sound"        "apc_firstgear"
  139.     }
  140.     "state"
  141.     {
  142.         "name"        "SS_SLOWDOWN_HIGHSPEED"
  143.         "sound"        "apc_throttleoff_fastspeed"
  144.     }
  145.     "state"
  146.     {
  147.         "name"        "SS_SLOWDOWN"
  148.         "sound"        "apc_throttleoff_slowspeed"
  149.     }
  150.  
  151.     "skid_lowfriction"    "ATV_skid_lowfriction"
  152.     "skid_normalfriction"    "ATV_skid_normalfriction"
  153.     "skid_highfriction"    "ATV_skid_highfriction"
  154. }
  155.