@SF034
对 你说的应该是这个吧 这些理论上就是用来定义AI射击频率和模式的代码 其中每一行代码我都研究过 但还是不行 AI开火依然是一卡一卡的 具体可以帮忙看一下我的视频演示
class Far: Full
{
aiBurstTerminable=1;
showToPlayer=0;
burst=3;
burstRangeMax=12;
aiRateOfFire=4;
aiRateOfFireDispersion=3;
aiRateOfFireDistance=600;
minRange=300;
minRangeProbab=0.64999998;
midRange=400;
midRangeProbab=0.25;
maxRange=500;
maxRangeProbab=0.050000001;
};
class Medium: Full
{
aiBurstTerminable=1;
showToPlayer=0;
autoFire=1;
burst=4;
burstRangeMax=12;
aiRateOfFire=0.000000001;
aiRateOfFireDispersion=2;
aiRateOfFireDistance=300;
minRange=100;
minRangeProbab=0.75;
midRange=200;
midRangeProbab=0.69999999;
maxRange=300;
maxRangeProbab=0.2;
};
class Short: Medium
{
showToPlayer=0;
autoFire=1;
aiRateOfFire=0.000000001;
aiRateOfFireDistance=50;
minRange=10;
minRangeProbab=0.050000001;
midRange=50;
midRangeProbab=0.5;
maxRange=100;
maxRangeProbab=0.039999999;
};
这是玩家使用下的MG42,射速无问题
ht
tps://w
ww.bilibili.
com/video/BV1ZY4
1197Zo/?vd_source=d8887c411
d452f97901e31625b57a398
这是AI使用下的MG42,射速有问题
htt
ps:
//
http://www.bilibili.com/video/BV16v4y1
17dm/?spm_id_from=333.999.0.0&vd_source=d8887c411d452f97901e31625b57a398