跳至內容

為反恐精英:起源製作武器動畫 / 從 GCF 中提取檔案

來自華夏公益教科書

從 GCF 中提取檔案

[編輯 | 編輯原始碼]

目的:檢索預設模型以進行反編譯

  • 如果 Steam 正在執行,請關閉它。
  • 開啟 GCFScape。
  • 轉到檔案>開啟
  • 開啟 counter-strike source shared.gcf。它位於您的 SteamApps 資料夾中。(嘗試 C:\Program Files\Valve\Steam\SteamApps\ 或 C:\Program Files\Steam\SteamApps\)
  • 在介面中導航到 cstrike\models\weapons\
  • 在本教程中,我們將製作 sg552 的動畫。
  • 選擇所有以 v_rif_sg552 開頭的檔案。包括以下檔案:
    • v_rif_sg552.dx80.vtx
    • v_rif_sg552.dx90.vtx
    • v_rif_sg552.mdl
    • v_rif_sg552.sw.vtx
    • v_rif_sg552.vvd

注意
在您編譯時,將建立另一個名為 v_rif_sg552.xbox.vtx 的檔案。它在 GCF 中丟失是正常的。

注意
您可以使用其他武器,但請確保您提取了以 *v* 開頭的檔案。

  • 將這些檔案拖動到您的“default”資料夾中。
  • 也提取 cstrike\materials\models\weapons\v_models\hands\v_hands.vtf。
  • 如果您要實際使用預設模型,請從 cstrike\materials\models\weapons\v_models\*weapon_name*\ 中提取 vtf 檔案。
為反恐精英:起源製作武器動畫
設定工作資料夾 從 GCF 中提取檔案 反編譯預設模型
華夏公益教科書