■ GTA San Andreas Handling概論

Cerbera氏のGTA SA Handling Definitionを和訳してみました。氏のDefinition自体まだまだアップデート段階にあるので、あくまで6月26日現在のものとして認識して下さい。また当サイトのVice City用のhandlingマニュアルも参考に独自見解なども加えています。

(原文)http://www.projectcerbera.com/texts/sa_handling-definition.html
(GTA Forum) http://www.gtaforums.com/index.php?showtopic=153355

 〜更新履歴〜
 2005/06/27
 Global Settingsのみとりあえずアップ

  〜以下訳文〜

以下のデータはGTA San Andreas\data\handling.cfgファイルの説明です。handling.cfgを弄ることによって単に車の挙動だけでは無く、一部の 物理的設定やアニメーション設定も変えることができます。まだいくつかの設定が未テストで詳細不明な点をご了承下さい。

Global Settings

  1. vehicle identifier - 車のID
  2. fMass - 車重(kg)
  3. fTurnMass - モーションエフェクトを計算するのに用いられる?要実験(Vice CityのhandlingのDimensions.xに相当)
  4. fDragMult - 空気抵抗係数?要実験(Vice CityのhandlingのDimensions.yに相当)
  1. CentreOfMass.x - 重心(詳しくはVCのhandling.cfg解説参照)
  2. CentreOfMass.y - 重心(詳しくはVCのhandling.cfg解説参照)
  3. CentreOfMass.z - 重心(詳しくはVCのhandling.cfg解説参照)
  4. nPercentSubmerged - 浮力(詳しくはVCのhandling.cfg解説参照)
  5. fTractionMultiplier - グリップの基礎値(詳しくはVCのhandling.cfg解説参照)
  6. fTractionLoss - グリップの基礎値(加速・ブレーキ時のグリップ)(詳しくはVCのhandling.cfg解説参照)
  7. fTractionBias - 前後車輪のグリップ力バランス(詳しくはVCのhandling.cfg解説参照)
  8. TransmissionData.nNumberOfGears - ミッションの段数(ギア変換のアニメーションとサウンド)
  9. TransmissionData.fMaxVelocity - 不明とあるが、恐らくVice City通り最高速。不明なのは他の値との連動がよくわかっていないからか。これだけ上げても速くなるというわけではないのでご注意を。(詳しくはVCのhandling.cfg解説参照)
  10. TransmissionData.fEngineAcceleration - 不明とあるが、恐らくVice City通り加速力。不明なのは他の値との連動がよくわかっていないからか。(詳しくはVCのhandling.cfg解説参照)
  11. TransmissionData.fEngineInertia - 不明
  12. TransmissionData.nDriveType - F=前輪駆動 R=後輪駆動 4=四輪駆動
  13. TransmissionData.nEngineType - エンジンの形式 (P=ガソリン D=ディーゼル E=電気)
  14. fBrakeDeceleration - ブレーキ力(詳しくはVCのhandling.cfg解説参照)
  15. fBrakeBias - 前後車輪のブレーキバランス(詳しくはVCのhandling.cfg解説参照)
  16. bABS - 不明とあるが、恐らくはVice City通りABSの有り・無し(詳しくはVCのhandling.cfg解説参照)
  17. fSteeringLock - ステアリングの切れ角(詳しくはVCのhandling.cfg解説参照)
  1. fSuspensionForceLevel - 不明だがVice Cityのものと同じ可能性が高い(詳しくはVCのhandling.cfg解説参照)
  2. fSuspensionDampingLevel - 不明だがVice Cityのものと同じ可能性が高い(詳しくはVCのhandling.cfg解説参照)
  3. fSuspensionHighSpdComDamp - 速度が上がるごとに跳ね続けようとするばねを抑える力が強化される
  4. suspension upper limit - タイヤの上限位置 単位:メートル (詳しくはVCのhandling.cfg解説参照)
  5. suspension lower limit - タイヤの下限位置 単位:メートル (詳しくはVCのhandling.cfg解説参照)
  6. suspension bias between front and rear - 前後の車高バランス(詳しくはVCのhandling.cfg解説参照)
  7. suspension anti-dive multiplier - ブレーキ及び加速時の車体の縦揺れ乗数(0だとブレーキかけたり加速しても車体が地面に対して平行のまま)
  1. fSeatOffsetDistance - プレイヤーの乗車位置と車の中心点までの距離
  2. fCollisionDamageMultiplier - 衝突時に受けるダメージの乗数(詳しくはVCのhandling.cfg解説参照)
  3. nMonetaryValue - メニューから見られる統計の"property destroyed"の計算に使用される
  1. modelFlags - 主に車の物理的設定に関するフラッグ
    (1st 1)
    IS_VAN - リアの両開きドアを使用可能にする(バン)
    (1st 2)
    IS_BUS - バス停留所でストップし、客を乗せるようになる(バス)
    (1st 4)
    IS_LOW - 乗客が低く座り、後ろにもたれかかる姿勢になる(車高の低い車)
    (1st 8)
    IS_BIG - AIによるコーナーの回り方が変わる(大型車)
    (2nd 1)
    REVERSE_BONNET - ボンネット及びトランクが通常とは逆の方向に開く
    (2nd 2)
    HANGING_BOOT - トランクが上から開く
    (2nd 4)
    TAILGATE_BOOT - トランクが下から開く
    (2nd 8)
    NOSWING_BOOT - トランクが開かない
    (3rd 1)
    NO_DOORS - ドアの開閉アニメーションがスキップされる
    (3rd 2)
    TANDEM_SEATS - 二人の乗客が車の前座席を使う(二輪対象?)
    (3rd 4)
    SIT_IN_BOAT - ボート乗客の姿勢が立ちではなく座りになる
    (3rd 8)
    CONVERTIBLE - 売春婦が乗ってニャンニャンする場合の変化など(オープンカー)
    (4th 1)
    NO_EXHAUST - 排気エフェクトが無くなる
    (4th 2)
    DBL_EXHAUST - 排気エフェクトが2つになる(1つ目に対して左右対称の位置に)
    (4th 4)
    NO1FPS_LOOK_BEHIND -FPS(一人称モード)で運転してる場合にマウスホイールクリックなどでリアビューモードになることを阻止する
    (4th 8)
    FORCE_DOOR_CHECK - 不明
    (5th 1)
    AXLE_F_NOTILT - GTA3のように、フロントホイールが垂直方向に固定
    (5th 2)
    AXLE_F_SOLID - フロントホイールが平行方向に固定
    (5th 4)
    AXLE_F_MCPHERSON - GTAVCのようにフロントホイールが傾斜する
    (5th 8)
    AXLE_F_REVERSE - MCPHERSONサスペンション使用時に、ホイールの傾斜を逆にする
    (6th 1)
    AXLE_R_NOTILT - GTA3のようにリアホイールが垂直方向に固定
    (6th 2)
    AXLE_R_SOLID - リアホイールが平行方向に固定
    (6th 4)
    AXLE_R_MCPHERSON - GTAVCのようにリアホイールが動く
    (6th 8)
    AXLE_R_REVERSE - MCPHERSONサスペンション使用時に、ホイールの傾斜を逆にする
    (7th 1)
    IS_BIKE - 基本handlingに加え、bikesの欄のhandlingも読み込む
    (7th 2)
    IS_HELI - 基本handlingに加え、flyingの欄のhandlingも読み込む
    (7th 4)
    IS_PLANE - 基本handlingに加え、flyingの欄のhandlingも読み込む
    (7th 8)
    IS_BOAT - 基本handlingに加え、boatsの欄のhandlingも読み込む
    (8th 1)
    BOUNCE_PANELS - 不明
    (8th 2)
    DOUBLE_RWHEELS - リアホイールのコピーを配置(大型車向け設定)
    (8th 4)
    FORCE_GROUND_CLEARANCE - 不明
    (8th 8)
    IS_HATCHBACK - 不明

  2. handlingFlags - 主に車の性能設定に関するフラッグ
    (1st 1) 1G_BOOST - 1速ブースト(斜面を登るときなどに有効)
    (1st 2) 2G_BOOST - 2速ブースト
    (1st 4) NPC_ANTI_ROLL - AIによって運転されてる時に、車が回転しない
    (1st 8) NPC_NEUTRAL_HANDL - AIによって運転されてる時に、スピンしにくい
    (2nd 1) NO_HANDBRAKE - ハンドブレーキを無効
    (2nd 2) STEER_REARWHEELS - フロント固定で代わりにリアホイールが動く(フォークリフトなど)
    (2nd 4) HB_REARWHEEL_STEER - ハンドブレーキ時にフロントに加えリアホールも動く(モンスタートラックなど)
    (2nd 8) ALT_STEER_OPT - 不明
    (3rd 1) WHEEL_F_NARROW2 - フロントホイールが1/4幅に
    (3rd 2) WHEEL_F_NARROW - フロントホイールが1/2幅に
    (3rd 4) WHEEL_F_WIDE - フロントホイールが2倍幅に
    (3rd 8) WHEEL_F_WIDE2 - フロントホイールが4倍幅に
    (4th 1) WHEEL_R_NARROW2 - リアホイールが1/4幅に
    (4th 2) WHEEL_R_NARROW - リアホイールが1/2幅に
    (4th 4) WHEEL_R_WIDE - リアホイールが2倍幅に
    (4th 8) WHEEL_R_WIDE2 - リアホイールが4倍幅に
    (5th 1) HYDRAULIC_GEOM - 不明
    (5th 2) HYDRAULIC_INST - 不明
    (5th 4) HYDRAULIC_NONE - 不明
    (5th 8) NOS_INST - 不明
    (6th 1) OFFROAD_ABILITY - オフロードでハンドリング向上
    (6th 2) OFFROAD_ABILITY2 - オフロードでハンドリング向上(↑よりさらに柔らかい地面で e.g.砂地)
    (6th 4) HALOGEN_LIGHTS - ハロゲンヘッドライト
    (6th 8) PROC_REARWHEEL_1ST - 不明
    (7th 1) USE_MAXSP_LIMIT - (N.)で設定されてる最高速度より速くなることを阻止
    (7th 2) LOW_RIDER - Loco Low Coで車の改造を可能にする
    (7th 4) STREET_RACER - 不明
    (8th 1) SWINGING_CHASSIS - 車体が横揺れしやすくなる

  3. front lights - ヘッドライトタイプ(詳しくはVCのhandling.cfg解説参照)
  4. rear lights - テールライトタイプ(詳しくはVCのhandling.cfg解説参照)
  5. vehicle anim group - 一番下のAnimationsの値が適応される

※flagsの設定は従来通り16進数で行います。SAはaf. ag.それぞれ8ケタづつ存在し、右から1桁目=1st digit〜8桁目=8th digitとなります。4桁で終わってるものは1st〜4th digitsまでの値しか設定されていないということになります。例えばaf.が4011なら、IS_VAN, REVERSE_BONNETの3つが設定されてるということになります。

Boats

The following Global parameters are different for boats:-

  1. Bank Force Mult - strength of the positive lean when turning?
  2. Rudder Turn Force - strength of the steering?
  3. Speed Steer Falloff - factor to reduce steering as speed increases?
  1. Vertical Wave Hit Limit - limit to the rebound from hitting a wave?
  2. Forward Wave Hit Brake - limit to the speed reduction from hitting a wave?
  1. WaterResistance Volume Mult - drag between hull and water?
  2. Water Damping Mult - how softly or strongly the water effects the ride of the boat?
  1. Handbrake Drag Mult - factor to increase drag by when handbrake is on?
  2. Sideslip Force - strength that the boat is pushed sideways when hit by a wave.

Additional parameters are applied when using the "IS_BOAT" flag. They are:-

  1. ID - matches with Global "vehicle indentifier" to find this line
  2. ThrustY - forward thrust when accelerating?
  3. ThrustZ - upwards thrust when accelerating to make the boat rise out of the water a little?
  4. ThrustAppZ - unknown.
  5. AqPlaneForce - something to do with the boat riding over the waves instead of through?
  6. AqPlaneLimit - limit of the above effect?
  7. AqPlaneOffset - start point of the effect?
  8. WaveAudioMult - how loud the waves and wake should be?
  9. MoveResX - resistance against boat moving sideways?
  10. MoveResY - resistance against boat moving forward?
  11. MoveResZ - resistance against boat moving upward?
  12. TurnResX - resistance against boat pitching up/down?
  13. TurnResY - resistance against boat rolling clockwise/anticlockwise?
  14. TurnResZ - resistance against boat turning left/right?
  15. Look_L_R_BehindCamHeight - height above standard to position rear view?

Bikes

Additional parameters are applied when using the "IS_BIKE" flag. They are:-

  1. ID - matches with Global "vehicle indentifier" to find this line.
  2. LeanFwdCOM - centre of mass when leaning forward.
  3. LeanFwdForce - pitching force when leaning forward.
  4. LeanBakCOM - centre of mass when leaning backward.
  5. LeanBackForce - pitching force when leaning backward.
  6. MaxLean - maximum lean angle from vertical for the bike.
  7. FullAnimLean - maximum lean angle from vertical for the player.
  8. DesLean - maximum lean angle when decelerating.
  9. SpeedSteer - steering angle when at speed.
  10. NoPlayerCOMz - centre of mass when no player is riding.
  11. SlipSteer - steering angle on slippery surfaces.
  12. StoppieAng - angle which needs to be reached for stoppie physics to engage.
  13. WheelieAng - angle which needs to be reached for wheelie physics to engage.
  14. WheelieStabMult - stabilising force when doing wheelie.
  15. WheelieSteer - steering effect when doing wheelie.
  16. StoppieStabMult - stabilising force when doing stoppie.

Planes & Helicopters

Additional parameters are applied when using the "IS_HELI" and/or "IS_PLANE" flag(s). They are:-

  1. id - matches with Global "vehicle indentifier" to find this line.
  2. Thrust - forward acceleration.
  3. ThrustFallOff - reduction in forward acceleration as speed increases?
  4. Yaw - left/right turning force.
  5. YawStab - stabilising effect when turning left/right.
  6. SideSlip - altitude loss when turning.
  7. Roll - clockwise/anticlockwise rotation force.
  8. RollStab - stabilising effect when rotating clockwise/anticlockwise.
  9. Pitch - nose up/down force.
  10. PitchStab - stabilising effect when moving nose up/down.
  11. FormLift - some sort of default lift effect?
  12. AttackLift - lift effect when accelerating.
  13. GearUpR - additional air resistance when landing gear retracted.
  14. GearDownL - additional air resistance when landing gear deployed.
  15. WindMult - some sort of multiplier for buffeting effect of wind?
  16. MoveRes - resistance to the aircraft moving.
  17. TurnRes.x - resistance against plane pitching up/down?.
  18. TurnRes.y - resistance against plane rolling clockwise/anticlockwise?.
  19. TurnRes.z - resistance against plane turning left/right?.
  20. SpeedRes.x - increase in air resistance when moving sideways?
  21. SpeedRes.y - increase in air resistance when moving forward/backward?
  22. SpeedRes.z - increase in air resistance when moving up/down?

Animations

The additional parameters in the animations section are a combination of two other groups, defined as:-

  1. ID - matches with the Global parameter "aj" to find this line.
  2. 1st group - method to combine anim groups; normally indentifies the current group.
  3. 2nd group - method to combine anim groups; normally idenfities a group at the start of the table.
  4. Align - any ideas?
  5. OpenOutF - open front door when exiting?
  6. OpenOutR - open rear door when exiting?
  7. GetInF - can enter using the front doors
  8. GetInR - can enter using the rear doors
  9. Jack - player can remove driver?
  10. CloseInsF - close front door when inside?
  11. CloseInsR - close rear door when inside?
  12. Shuffle - any ideas?
  13. GetOutF - can exit using the front doors?
  14. GetOutR - can exit using the rear doors?
  15. BeJacked - player can be removed whilst driving?
  16. CloseOutF - close front door when outside?
  17. CloseOutR - close rear door when outside?
  18. JumpOut - player can jump out of vehicle?
  19. CloseRoll - something to do with closing the door and the window being rolled down?
  20. FallDie - can be killed by falling out?
  21. OpenLocked - player can open doors even when they are locked?
  22. GetInTime - time taken to get into car.
  23. JumpOutTime - time taken to jump out of car.
  24. GetOutTime - time taken to exit car.
  25. JkdOutTime - time taken to be car-jacked.
  26. FallTime - time taken to fall out of car?
  1. OpenOutStart - affects start of opening door when exiting.
  2. OpenOutStop - affects end of opening door when exiting.
  3. CloseInStart - affects start of closing door when entering.
  4. CloseInStop - affects end of closing door when entering.
  5. OpenInStart - affects start of opening door when entering.
  6. OpenInStop - affects end of opening door when entering.
  7. CloseOutStart - affects start of closing door when exiting.
  8. CloseOutStop - affects end of closing door when exiting.
  9. SpecialFlag - add together to set the initial character positions?
    1. dont close door after getting out - defines itself.
    2. don't close door after getting in - defines itself.
    3. use kart drive anims - kart as in go-kart.
    4. use truck drive anims - defines itself.
    5. use hover drive anims - hover as in hovercraft.
    6. run special locked door - needs experiment.
    7. don't open door when getting in - defines itself.