ai文件
case cCivChinese: // Kangxi:Infantry oriented turtler{
btRushBoom = -0.5; // Slight boomer, he needs the econ in age 2 to keep settlers training.
btOffenseDefense = 0;
btBiasCav = 0.0;
btBiasInf = 0.5;
btBiasArt = 0.0;
btBiasNative = 0.0;
btBiasTrade = 0.0;
break;
上面的数字是代表爆兵的偏好吗?负数应该怎么理解? 负数没有固定理解方式,主要是看程序是怎样写的
而且出兵偏好应该是这个
if ( (kbGetCiv() == cCivChinese) || (kbGetCiv() == cCivSPCChinese) ) {
kbUnitPickSetPreferenceFactor(gLandUnitPicker, cUnitTypeAbstractInfantry, 0.0);
kbUnitPickSetPreferenceFactor(gLandUnitPicker, cUnitTypeAbstractCavalry, 0.0);
//kbUnitPickSetPreferenceFactor(gLandUnitPicker, cUnitTypeAbstractBannerArmy, 1.0); // Banner Armies
kbUnitPickSetPreferenceFactor(gLandUnitPicker, cUnitTypeypStandardArmy, 0.4); // Range 0.0 to 1.0
kbUnitPickSetPreferenceFactor(gLandUnitPicker, cUnitTypeypMingArmy, 0.4); // Range 0.0 to 1.0
kbUnitPickSetPreferenceFactor(gLandUnitPicker, cUnitTypeypImperialArmy, 0.4); // Range 0.0 to 1.0
kbUnitPickSetPreferenceFactor(gLandUnitPicker, cUnitTypeypTerritorialArmy, 0.8); // Range 0.0 to 1.0
kbUnitPickSetPreferenceFactor(gLandUnitPicker, cUnitTypeypOldHanArmy, 0.6); // Range 0.0 to 1.0
kbUnitPickSetPreferenceFactor(gLandUnitPicker, cUnitTypeypForbiddenArmy, 0.6);
kbUnitPickSetPreferenceFactor(gLandUnitPicker, cUnitTypeypBlackFlagArmy, 0.2);
kbUnitPickSetPreferenceFactor(gLandUnitPicker, cUnitTypeypMongolianArmy, 0.2);
kbUnitPickSetPreferenceFactor(gLandUnitPicker, cUnitTypeAbstractArtillery, 0.2);
} 青天小羽 发表于 2022-4-17 16:51
负数没有固定理解方式,主要是看程序是怎样写的
而且出兵偏好应该是这个
ai会在村民受攻击时敲响警钟吗?有相关的语句吗
页:
[1]