ここはプログラム内のどこを触ればMODのデータを変更できるかのメモ書きです。
随時変更していきます。
hl_gamemovement.cpp
プレイヤーの動き関連
移動速度,ジャンプ
CHL2GameMovement を編集
gamemovement.cpp
空中ジャンプ
CGameMovement::CheckJumpButton
// No more effect if (player->GetGroundEntity() == NULL) { mv->m_nOldButtons |= IN_JUMP; return false; // in air, so no effect
以上の文をコメントアウト。2段ジャンプはそこそこ制限を掛ける。
ジャンプ力変更
CGameMovement::CheckJumpButton
#if defined(HL2_DLL) || defined(HL2_CLIENT_DLL) Assert( sv_gravity.GetFloat() == 600.0f ); flMul = 160.0f; // approx. 21 units. #else
の160の数字を上げる。