■ 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
- vehicle identifier - 車のID
- fMass - 車重(kg)
- fTurnMass - モーションエフェクトを計算するのに用いられる?要実験(Vice CityのhandlingのDimensions.xに相当)
- fDragMult - 空気抵抗係数?要実験(Vice CityのhandlingのDimensions.yに相当)
- CentreOfMass.x - 重心(詳しくはVCのhandling.cfg解説参照)
- CentreOfMass.y - 重心(詳しくはVCのhandling.cfg解説参照)
- CentreOfMass.z - 重心(詳しくはVCのhandling.cfg解説参照)
- nPercentSubmerged - 浮力(詳しくはVCのhandling.cfg解説参照)
- fTractionMultiplier - グリップの基礎値(詳しくはVCのhandling.cfg解説参照)
- fTractionLoss - グリップの基礎値(加速・ブレーキ時のグリップ)(詳しくはVCのhandling.cfg解説参照)
- fTractionBias - 前後車輪のグリップ力バランス(詳しくはVCのhandling.cfg解説参照)
- TransmissionData.nNumberOfGears - ミッションの段数(ギア変換のアニメーションとサウンド)
- TransmissionData.fMaxVelocity - 不明とあるが、恐らくVice City通り最高速。不明なのは他の値との連動がよくわかっていないからか。これだけ上げても速くなるというわけではないのでご注意を。(詳しくはVCのhandling.cfg解説参照)
- TransmissionData.fEngineAcceleration - 不明とあるが、恐らくVice City通り加速力。不明なのは他の値との連動がよくわかっていないからか。(詳しくはVCのhandling.cfg解説参照)
- TransmissionData.fEngineInertia - 不明
- TransmissionData.nDriveType - F=前輪駆動 R=後輪駆動 4=四輪駆動
- TransmissionData.nEngineType - エンジンの形式 (P=ガソリン D=ディーゼル E=電気)
- fBrakeDeceleration - ブレーキ力(詳しくはVCのhandling.cfg解説参照)
- fBrakeBias - 前後車輪のブレーキバランス(詳しくはVCのhandling.cfg解説参照)
- bABS - 不明とあるが、恐らくはVice City通りABSの有り・無し(詳しくはVCのhandling.cfg解説参照)
- fSteeringLock - ステアリングの切れ角(詳しくはVCのhandling.cfg解説参照)
- fSuspensionForceLevel - 不明だがVice Cityのものと同じ可能性が高い(詳しくはVCのhandling.cfg解説参照)
- fSuspensionDampingLevel - 不明だがVice Cityのものと同じ可能性が高い(詳しくはVCのhandling.cfg解説参照)
- fSuspensionHighSpdComDamp - 速度が上がるごとに跳ね続けようとするばねを抑える力が強化される
- suspension upper limit - タイヤの上限位置 単位:メートル (詳しくはVCのhandling.cfg解説参照)
- suspension lower limit - タイヤの下限位置 単位:メートル (詳しくはVCのhandling.cfg解説参照)
- suspension bias between front and rear - 前後の車高バランス(詳しくはVCのhandling.cfg解説参照)
- suspension anti-dive multiplier - ブレーキ及び加速時の車体の縦揺れ乗数(0だとブレーキかけたり加速しても車体が地面に対して平行のまま)
- fSeatOffsetDistance - プレイヤーの乗車位置と車の中心点までの距離
- fCollisionDamageMultiplier - 衝突時に受けるダメージの乗数(詳しくはVCのhandling.cfg解説参照)
- nMonetaryValue - メニューから見られる統計の"property destroyed"の計算に使用される
- 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 - 不明
- 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 - 車体が横揺れしやすくなる
- front lights - ヘッドライトタイプ(詳しくはVCのhandling.cfg解説参照)
- rear lights - テールライトタイプ(詳しくはVCのhandling.cfg解説参照)
- 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:-
- Bank Force Mult - strength of the positive lean when
turning?
- Rudder Turn Force - strength of the steering?
- Speed Steer Falloff - factor to reduce steering as speed
increases?
- Vertical Wave Hit Limit - limit to the rebound from hitting
a wave?
- Forward Wave Hit Brake - limit to the speed reduction from
hitting a wave?
- WaterResistance Volume Mult - drag between hull and water?
- Water Damping Mult - how softly or strongly the water
effects the ride of the boat?
- Handbrake Drag Mult - factor to increase drag by when
handbrake is on?
- 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:-
- ID - matches with Global "vehicle indentifier" to find this
line
- ThrustY - forward thrust when accelerating?
- ThrustZ - upwards thrust when accelerating to make the boat
rise out of the water a little?
- ThrustAppZ - unknown.
- AqPlaneForce - something to do with the boat riding over
the waves instead of through?
- AqPlaneLimit - limit of the above effect?
- AqPlaneOffset - start point of the effect?
- WaveAudioMult - how loud the waves and wake should be?
- MoveResX - resistance against boat moving sideways?
- MoveResY - resistance against boat moving forward?
- MoveResZ - resistance against boat moving upward?
- TurnResX - resistance against boat pitching up/down?
- TurnResY - resistance against boat rolling
clockwise/anticlockwise?
- TurnResZ - resistance against boat turning left/right?
- Look_L_R_BehindCamHeight - height above standard to
position rear view?
Bikes
Additional parameters are applied when using the "IS_BIKE" flag. They
are:-
- ID - matches with Global "vehicle indentifier" to find this
line.
- LeanFwdCOM - centre of mass when leaning forward.
- LeanFwdForce - pitching force when leaning forward.
- LeanBakCOM - centre of mass when leaning backward.
- LeanBackForce - pitching force when leaning backward.
- MaxLean - maximum lean angle from vertical for the bike.
- FullAnimLean - maximum lean angle from vertical for the
player.
- DesLean - maximum lean angle when decelerating.
- SpeedSteer - steering angle when at speed.
- NoPlayerCOMz - centre of mass when no player is riding.
- SlipSteer - steering angle on slippery surfaces.
- StoppieAng - angle which needs to be reached for stoppie
physics to engage.
- WheelieAng - angle which needs to be reached for wheelie
physics to engage.
- WheelieStabMult - stabilising force when doing wheelie.
- WheelieSteer - steering effect when doing wheelie.
- 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:-
- id - matches with Global "vehicle indentifier" to find this
line.
- Thrust - forward acceleration.
- ThrustFallOff - reduction in forward acceleration as speed
increases?
- Yaw - left/right turning force.
- YawStab - stabilising effect when turning left/right.
- SideSlip - altitude loss when turning.
- Roll - clockwise/anticlockwise rotation force.
- RollStab - stabilising effect when rotating
clockwise/anticlockwise.
- Pitch - nose up/down force.
- PitchStab - stabilising effect when moving nose up/down.
- FormLift - some sort of default lift effect?
- AttackLift - lift effect when accelerating.
- GearUpR - additional air resistance when landing gear
retracted.
- GearDownL - additional air resistance when landing gear
deployed.
- WindMult - some sort of multiplier for buffeting effect of
wind?
- MoveRes - resistance to the aircraft moving.
- TurnRes.x - resistance against plane pitching up/down?.
- TurnRes.y - resistance against plane rolling
clockwise/anticlockwise?.
- TurnRes.z - resistance against plane turning left/right?.
- SpeedRes.x - increase in air resistance when moving
sideways?
- SpeedRes.y - increase in air resistance when moving
forward/backward?
- 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:-
- ID - matches with the Global parameter "aj" to find this
line.
- 1st group - method to combine anim groups; normally
indentifies the current group.
- 2nd group - method to combine anim groups; normally
idenfities a group at the start of the table.
- Align - any ideas?
- OpenOutF - open front door when exiting?
- OpenOutR - open rear door when exiting?
- GetInF - can enter using the front doors
- GetInR - can enter using the rear doors
- Jack - player can remove driver?
- CloseInsF - close front door when inside?
- CloseInsR - close rear door when inside?
- Shuffle - any ideas?
- GetOutF - can exit using the front doors?
- GetOutR - can exit using the rear doors?
- BeJacked - player can be removed whilst driving?
- CloseOutF - close front door when outside?
- CloseOutR - close rear door when outside?
- JumpOut - player can jump out of vehicle?
- CloseRoll - something to do with closing the door and the
window being rolled down?
- FallDie - can be killed by falling out?
- OpenLocked - player can open doors even when they are
locked?
- GetInTime - time taken to get into car.
- JumpOutTime - time taken to jump out of car.
- GetOutTime - time taken to exit car.
- JkdOutTime - time taken to be car-jacked.
- FallTime - time taken to fall out of car?
- OpenOutStart - affects start of opening door when exiting.
- OpenOutStop - affects end of opening door when exiting.
- CloseInStart - affects start of closing door when entering.
- CloseInStop - affects end of closing door when entering.
- OpenInStart - affects start of opening door when entering.
- OpenInStop - affects end of opening door when entering.
- CloseOutStart - affects start of closing door when exiting.
- CloseOutStop - affects end of closing door when exiting.
- SpecialFlag - add together to set the initial character
positions?
- dont close door after getting out - defines itself.
- don't close door after getting in - defines itself.
- use kart drive anims - kart as in go-kart.
- use truck drive anims - defines itself.
- use hover drive anims - hover as in hovercraft.
- run special locked door - needs experiment.
- don't open door when getting in - defines itself.