新浪体育新闻

新浪体育:《生存之旅:Left4Dead》单人模式解成就个人研究

作者:macoto1209

一、在不影響公平性的情況下使用單人模式解成就(如果你覺得常跟到不好的隊友的話)

方法:
1.進入
…\\Left4Dead\\left4dead\\cfg

2.用記事本開啟config.cfg(先記得到檔案總管的>工具>資料夾選項 裡將\”隱藏已知檔案的副檔名\”勾勾去掉)
開啟後另存新檔
檔名為autoexec.cfg
檔案格式選\”所有檔案\”才不會誤存成txt檔

3.將autoexec.cfg原有的內容清除,並將下列Script貼上

Alias pws \”pws1\”
alias pws1 \”s ;alias pws pws2\” //shotgun
alias pws2 \”as ;alias pws pws3\” //autoshotgun
alias pws3 \”r ;alias pws pws4\” //rifle
alias pws4 \”hr ;alias pws pws5\” //sniper
alias pws5 \”smg ;alias pws pws1\” //smg

alias s \”sv_cheats 1;give pumpshotgun;sv_cheats 0\”
alias as \”sv_cheats 1;give autoshotgun;sv_cheats 0\”
alias r \”sv_cheats 1;give rifle;sv_cheats 0\”
alias hr \”sv_cheats 1;give hunting_rifle;sv_cheats 0\”
alias smg \”sv_cheats 1;give smg;sv_cheats 0\”

alias ews \”ews1\”
alias ews1 \”pb;alias ews ews2\” //pipebomb
alias ews2 \”m;alias ews ews1\” //molotov

alias pb \”sv_cheats 1;give pipe_bomb;sv_cheats 0\”
alias m \”sv_cheats 1;give molotov;sv_cheats 0\”

bind \”f1\” \”pws\”
bind \”f3\” \”ews\”
bind \”f2\” \”sv_Cheats 1;give pistol;sv_cheats 0\”
bind \”f4\” \”sv_cheats 1;give first_aid_kit;sv_cheats 0\”
bind \”f5\” \”sv_cheats 1;give pain_pills;sv_cheats 0\”
 

4.Ctrl+S存檔

5.進入Left 4 Dead 開始單人模式

之後按 F1,會拿到一隻M3 散彈槍
再按一次會拿到XM1014 連發散彈槍
之後主要武器順序為
1.M3 散彈槍
2.XM1014 連發散彈槍
3.M16步槍
4.狙擊槍
5.Sub Machine Gun

同時
按下F2
會拿到第二隻Pistol

按下 F3
可以拿到管狀炸彈
再按一次F3可以換成汽油彈

按下 F4
可以拿到急救包

按下 F5
可以拿到神清氣爽丸

附加:
如果你想在不被認定作弊的情況下使用其他Console Script
記得在Script 前後加上sv_cheats 1;________;sv_cheats 0

例如
按下~開啟Console
輸入
sv_cheats 1;noclip;sv_cheats 0
就是穿牆

sv_cheats 1;host_timescale 0.5;sv_cheats 0
就是慢動作

我也覺得解成就跟朋友一起解比較好玩
不過懂一些Console的東西對你會很有幫助
比如說
我就用
sv_cheats 1;noclip;sv_cheats 0
把我以為不可能解的\”Expert級全破(What Do You Try To Prove)\”這個成就解掉了

二、Left 4 Dead可以修改人物模組了
日前一直讓FPSBanana玩家想破頭的Skin修改終於有解了
(當然你也可以等下一次Source SDK更新)
改了要幹麼
當然是惡搞啊

坦克變浩克 

[$HR getPages$]

英文不好的人
請準備Yahoo字典 

You\’ll need Gibbed\’s vpk extractor which you can download on this site and Notepad++, a notepad clone with a lot of extra features, look for it on Google. (You can use regular notepad too but Notepad++ makes it easier)

Step1, editing whitelist.cfg:
– Use the Vpk extractor on pak01_dir.vpk and extract everything in the left4dead folder.
– In the left4dead folder, open the file whitelist.cfg with notepad. This file tells the game in which folders it can look for custom things. You\’ll see a line like \”add\” \”materials/console/…\”. Add this to the whitelist.cfg file:
\”add\” \”materials/models/…\”

Now the game can look for custom materials in that folder too, but that alone doesn\’t do it, the game will still use the materials in the vpk files if they are available there. For example, lets say we want to edit the pistol\’s texture.

Step2, editing pak01_dir.vpk:
– Right click on pak01_dir.vpk and open it with Notepad++. Look at the first few lines, look familiar? It should, it\’s identical to the content of the .vmt files. This is what tells the game to use the materials from the vpk files.
– We want the pistol, so do a search for v_pistol until you find the following block of text:
materials/models/v_models/pistol/v_pistol_reference
{
$basetexture \”models\\v_models\\pistol\\v_pistol_reference
$bumpmap ….
…… etc
}
– You can do 2 things, you could remove that entire block of text and save the file, it does no harm but if you remove something too much it could lead to errors so I don\’t recommend it. A safer way, do some renaming. Change the basetexture line in the above block of text to:
$basetexture \”models\\v_models\\pistol\\v_pistol_reference2
– Rename the vtf file in your materials folder to v_pistol_reference2.vtf

Now the game will look for v_pistol_reference2.vtf in the vpk file but obviously won\’t find it. Since you allowed the game to look in materials/models folder for custom content, it will find the file and use it from there.

https://i35.tinypic.com/2ivd98x.jpg

In the lower part of the pak01_dir.vpk file you\’ll also find model info, you might think this but you can\’t add custom models by removing or editing anything there. Do NOT change any of the model info in this file unless you know what you\’re doing.
You can change view and world models by editing the weapon_ script files in the left4dead/scripts folder. Look for the \”viewmodel\” line. But don\’t get your hopes up because you won\’t get custom models to work without serious errors.
Modderfreak, you say you\’ve decompiled and recompiled L4D weapons before, then you must have noticed the \”animation is out of bounding box\” warning on the weapon bone. The result is that the model appears outside the screen when you recompile it. If you fix this warning by editing the smd files in notepad then you completely mess up the animations since all animations are affected and you have no way of knowing the correct position of this bone.
I\’m still trying to find a way around it but right now it looks like we\’re going to need a new mdldecompiler

大意如下
1.你需要Gibbed\’s vpk extractor來解壓縮L4D的VPK檔

2.你需要Notepad來修改pak01_dir.vpk這個索引檔

3.編輯白名單
再到left4dead資料夾下開啟whitelist.cfg這個檔

\”add\” \”materials/models/…\”
這一行,也就是指定的自訂模型路徑加入白名單

4.
用vpk extracter 來載入…\\Left4Dead\\left4dead\\pak01_dir.vpk
再按Extract將所有被包裝起來的materials解到…\\Left4Dead\\left4dead\\

到解開的…\\Left4Dead\\left4dead\\materials\\models\\
裡找到你要改的Skin名稱,再用Notepad++編輯…\\Left4Dead\\left4dead\\pak01_dir.vpk這個索引檔
以Pistol為例,要改的Skin名稱是v_pistol_reference.vtf,找到pak01_dir.vpk 裡面這段碼

<table width=\”100%\” border=\”0\” cellpadding=\”2\” cellspacing=\”1\” bgcolor=\”black\”><tr align=\”left\” valign=\”middle\” bgcolor=\”#FFFFFF\”><td bgcolor=\”#FFFFFF\”>materials/models/v_models/pistol/v_pistol_reference
{
$basetexture \”models\\v_models\\pistol\\v_pistol_reference
$bumpmap ….
…… etc
}</td></tr></table>

之後將寫死的
$basetexture \”models\\v_models\\pistol\\v_pistol_reference
改成你要的檔名
例如把v_pistol_reference
改成v_pistol_DDeagle
存檔後只要將正確(你自已剛才改的)檔名放到正確的路徑下就可以使用了
照剛才的例子
 v_pistol_DDeagle.vtf
正確的檔名及路徑是
…\\Left4Dead\\left4dead\\materials\\models\\v_models\\pistol\\v_pistol_DDeagle.vtf

ok
那怎麼編輯VTF檔呢
你要有Photoshop 7.0以上任何版本
然後裝vtf檔案格式的外掛(裝法請見隨附的Readme即可)
再將你用VPK Extracter解開來的VTF 檔用Photoshop開啟
(記得,VPK 解壓縮要把materials解到…\\Left4Dead\\left4dead\\下
雖然你也可以解到其他目錄)
Photoshop修完另存新檔,檔名用你第4步改好的檔名,檔案格式選vtf
如果要用相同檔名蓋過,最好將原檔備份,否則

爱游戏爱游戏爱游戏爱游戏爱游戏

类似文章

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注