谁能教我改战地2的武器代码?
答案:2 悬赏:60 手机版
解决时间 2021-05-08 09:34
- 提问者网友:几叶到寒
- 2021-05-08 00:28
就是解锁一下武器
最佳答案
- 五星知识达人网友:低血压的长颈鹿
- 2021-05-08 01:57
@echo off
title Bf2SP64 bot changer
rem Get to the right spot to insert the AI file
for /f "skip=2 tokens=3*" %%G in ('reg query "HKLM\SOFTWARE\Electronic Arts\EA Games\Battlefield 2" /v InstallDir') do set gamepath="%%G %%H\mods\Bf2SP64\AI"
cd %gamepath%
rem Preload the two variables
set botcount=
set botskill=
rem Let's begin the process
echo Welcome to the Bf2SP64 bot changer. This file let's you change the amount of bots you can play with and their skill.
echo.
set /p botcount=How many bots do you want to play with (note that this does NOT include humans, so if you wanted a 24 player game, you'd insert 23 bots as a value)?
echo.
set /p botskill=How tough do you want the bots to be (insert a value from 0.1 to 1.0 please)?
echo.
echo This file is processing your file now, please wait...
del AIDefault.ai
echo rem File generated by %USERNAME% with the Bf2SP64 Bot changer >> AIDefault.ai
echo aiSettings.setNSides 2 >> AIDefault.ai
echo aiSettings.setAutoSpawnBots 1 >> AIDefault.ai
echo. >> AIDefault.ai
echo aiSettings.overrideMenuSettings 1 >> AIDefault.ai
echo aiSettings.setMaxNBots %botcount% >> AIDefault.ai
echo aiSettings.maxBotsIncludeHumans 0 >> AIDefault.ai
echo aiSettings.setBotSkill %botskill% >> AIDefault.ai
echo. >> AIDefault.ai
echo run BotNames.ai >> AIDefault.ai
echo. >> AIDefault.ai
echo aiSettings.setInformationGridDimension 32 >> AIDefault.ai
echo. >> AIDefault.ai
echo run AIPathFinding.ai >> AIDefault.ai
echo. >> AIDefault.ai
echo rem EOF >> AIDefault.ai
echo.
echo Processing complete.
pause
=============
以上文字请复制,然后放到一个文本文件中,文件----》另存为----》
下边第一个文字框里边输入 战地2BOT人数修改.bat 其实除了后边的.bat其他的随便起,第二个文字框里边选择所有文件,当然你还要选择你的路径----》玩的时候点击修改就成,自动寻找bf2目录的。不过只用于Bf2SP64,你玩的那个模组就搜索Bf2SP64,替换成你的模组就成了。
title Bf2SP64 bot changer
rem Get to the right spot to insert the AI file
for /f "skip=2 tokens=3*" %%G in ('reg query "HKLM\SOFTWARE\Electronic Arts\EA Games\Battlefield 2" /v InstallDir') do set gamepath="%%G %%H\mods\Bf2SP64\AI"
cd %gamepath%
rem Preload the two variables
set botcount=
set botskill=
rem Let's begin the process
echo Welcome to the Bf2SP64 bot changer. This file let's you change the amount of bots you can play with and their skill.
echo.
set /p botcount=How many bots do you want to play with (note that this does NOT include humans, so if you wanted a 24 player game, you'd insert 23 bots as a value)?
echo.
set /p botskill=How tough do you want the bots to be (insert a value from 0.1 to 1.0 please)?
echo.
echo This file is processing your file now, please wait...
del AIDefault.ai
echo rem File generated by %USERNAME% with the Bf2SP64 Bot changer >> AIDefault.ai
echo aiSettings.setNSides 2 >> AIDefault.ai
echo aiSettings.setAutoSpawnBots 1 >> AIDefault.ai
echo. >> AIDefault.ai
echo aiSettings.overrideMenuSettings 1 >> AIDefault.ai
echo aiSettings.setMaxNBots %botcount% >> AIDefault.ai
echo aiSettings.maxBotsIncludeHumans 0 >> AIDefault.ai
echo aiSettings.setBotSkill %botskill% >> AIDefault.ai
echo. >> AIDefault.ai
echo run BotNames.ai >> AIDefault.ai
echo. >> AIDefault.ai
echo aiSettings.setInformationGridDimension 32 >> AIDefault.ai
echo. >> AIDefault.ai
echo run AIPathFinding.ai >> AIDefault.ai
echo. >> AIDefault.ai
echo rem EOF >> AIDefault.ai
echo.
echo Processing complete.
pause
=============
以上文字请复制,然后放到一个文本文件中,文件----》另存为----》
下边第一个文字框里边输入 战地2BOT人数修改.bat 其实除了后边的.bat其他的随便起,第二个文字框里边选择所有文件,当然你还要选择你的路径----》玩的时候点击修改就成,自动寻找bf2目录的。不过只用于Bf2SP64,你玩的那个模组就搜索Bf2SP64,替换成你的模组就成了。
全部回答
- 1楼网友:廢物販賣機
- 2021-05-08 02:13
http://tieba.baidu.com/f/good?kw=%D5%BD%B5%D82&cid=1
这里有!!!看完!!一个字一个字的看你会成功的!!
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯