战地2武器解锁怎么解锁武器、、还有怎么用。。看...

为了解决用户可能碰到关于"请问你们谁有战地2的全部武器解锁补丁"相关的问题,志乐园经过收集整理为用户提供相关的解决办法,请注意,解决办法仅供参考,不代表本网同意其意见,如有任何问题请与本网联系。"请问你们谁有战地2的全部武器解锁补丁"相关的详细问题如下:
就是说可以把狙击羌变成巴雷特即(大炮)的那种补丁,谢谢了我的Q是:没有补丁,可以自己改。(^_^)
||||点击排行新浪广告共享计划>
广告共享计划
战地2隐藏武器解锁方法
战地2 隐藏武器解锁方法
打开路径:Battlefield 2\python\bf2\stats的unlocks文件复制以下文字便可
import host
import bf2.PlayerManager
from bf2.stats.constants import *
from bf2 import g_debug
# map gamespy item ids to kits
unlockItemMap = {
sessionPlayerUnlockMap = {}
def init():
host.registerHandler('PlayerConnect', onPlayerConnect, 1)
if bf2.serverSettings.getUseGlobalUnlocks():
host.registerHandler('PlayerUnlocksResponse', onUnlocksResponse,
# Connect already connected players if reinitializing
for p in bf2.playerManager.getPlayers():
onPlayerConnect(p)
if g_debug: print "Unlock module initialized"
class UnlockSet: pass
def onPlayerConnect(player):
defaultUnlocks = [1, 1, 1, 1, 1, 1, 1]
host.pers_plrSetUnlocks(player.index, defaultUnlocks,
defaultUnlocks)
if not player.isAIPlayer():
id = player.index
reconnect = id in sessionPlayerUnlockMap
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

参考资料

 

随机推荐