《幽浮2》秘籍(作弊码)

《幽浮2》秘籍(作弊码)2、职业技能修改

所属游戏: 幽浮2
英文名称:
相关操作: 收藏 下载地址 扩展
模组作者:MrAntiFun
标签:
最后更新:2018-01-03

职业技能修改

BY mjqp4366341 +

打开游戏目录XCOM 2XComGameConfig中的ini文件,这个是正统的MOD修改文件。

DefaultClassData.ini

下面复制了“游侠”职业举例,以及如何手动修改,不懂的技能英文可以自行搜索。

[Rookie X2SoldierClassTemplate]新兵属性
ClassPoints=1
IconImage="img:///UILibrary_Common.class_rookie"
AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="rifle")新兵使用武器
KillAssistsPerKill=4击杀经验?
;************************************************************************************************************
;***                                        Ranger Class Data 职业名称                                            ***
;************************************************************************************************************


[Ranger X2SoldierClassTemplate]
bMultiplayerOnly=0 是否为多人游戏设置 0否 1是 不用管
ClassPoints=4 职业编码  估计以后可以修改代码 改变职业
IconImage="img:///UILibrary_Common.class_ranger"
NumInForcedDeck=1
NumInDeck=4
KillAssistsPerKill=4 击杀经验?
SquaddieLoadout="SquaddieRanger" 职业默认技能,可以改成别的职业终极技能
AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon主手武器, WeaponType="shotgun") 职业允许使用的武器,可以将狙击枪加入,这样就可以使用狙击枪
AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon主手武器, WeaponType="rifle")
AllowedWeapons=(SlotType=eInvSlot_SecondaryWeapon副手武器, WeaponType="sword")

全职业武器使用

AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="shotgun")可使用散弹枪
AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="sniper_rifle")狙击枪
AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="cannon")榴弹枪
AllowedWeapons=(SlotType=eInvSlot_PrimaryWeapon, WeaponType="rifle")Psi步枪,这是大炮好不。。。
AllowedWeapons=(SlotType=eInvSlot_SecondaryWeapon, WeaponType="grenade_launcher")榴弹发射器
AllowedWeapons=(SlotType=eInvSlot_SecondaryWeapon, WeaponType="sword")长剑
AllowedWeapons=(SlotType=eInvSlot_SecondaryWeapon, WeaponType="pistol")手枪
AllowedWeapons=(SlotType=eInvSlot_SecondaryWeapon, WeaponType="gremlin")小精灵,黑客副手
AllowedWeapons=(SlotType=eInvSlot_SecondaryWeapon, WeaponType="psiamp")Psi的副手?什么东西?

初始属性

BY hyz4751 +

打开游戏目录“XCOM 2XComGameConfig”,会有很多的ini配置文件,可以用记事本打开。

初始资源,研究、建筑、训练、恢复速率等修改部分带初始属性的修改需要新开档(如金钱等,联络点上限在没建飞船内通讯站的时候可以不用新开,重新读档即可)

打开“DefaultGameData.ini”文件

其中每种属性有四行,对应四种难度,按需要自行修改数值

XComHeadquarters_StartingValueSupplies[0]=175 ;Easy             初始补给(钱)
XComHeadquarters_StartingValueSupplies[1]=175 ;Normal
XComHeadquarters_StartingValueSupplies[2]=175 ;Classic
XComHeadquarters_StartingValueSupplies[3]=175 ;Impossible

XComHeadquarters_StartingValueIntel[0]=50 ;Easy                    初始情报
XComHeadquarters_StartingValueIntel[1]=30 ;Normal
XComHeadquarters_StartingValueIntel[2]=40 ;Classic
XComHeadquarters_StartingValueIntel[3]=60 ;Impossible

XComHeadquarters_StartingValueAlienAlloys[0]=0 ;Easy             初始外星合金
XComHeadquarters_StartingValueAlienAlloys[1]=0 ;Normal
XComHeadquarters_StartingValueAlienAlloys[2]=0 ;Classic
XComHeadquarters_StartingValueAlienAlloys[3]=0 ;Impossible


XComHeadquarters_StartingValueEleriumCrystals[0]=0 ;Easy                   初始超铀
XComHeadquarters_StartingValueEleriumCrystals[1]=0 ;Normal
XComHeadquarters_StartingValueEleriumCrystals[2]=0 ;Classic
XComHeadquarters_StartingValueEleriumCrystals[3]=0 ;Impossible


..........................................................................................................................

XComHeadquarters_DefaultTrainRookieDays[0]=5 ;Easy                       新兵训练成职业士兵的天数
XComHeadquarters_DefaultTrainRookieDays[1]=5 ;Normal
XComHeadquarters_DefaultTrainRookieDays[2]=5 ;Classic
XComHeadquarters_DefaultTrainRookieDays[3]=10 ;Impossible

XComHeadquarters_DefaultRespecSoldierDays[0]=5 ;Easy                    老兵重训练天数(洗点)
XComHeadquarters_DefaultRespecSoldierDays[1]=5 ;Normal
XComHeadquarters_DefaultRespecSoldierDays[2]=5 ;Classic
XComHeadquarters_DefaultRespecSoldierDays[3]=10;Impossible

XComHeadquarters_PsiTrainingDays[0]=10 ;Easy                           灵能士兵训练天数
XComHeadquarters_PsiTrainingDays[1]=10 ;Normal
XComHeadquarters_PsiTrainingDays[2]=10 ;Classic
XComHeadquarters_PsiTrainingDays[3]=25 ;Impossible

PsiTrainingRankScalar[0]=2.0f ;Easy                    灵能士兵技能训练时间的倍率(数值越小时间越短)
PsiTrainingRankScalar[1]=2.0f ;Normal
PsiTrainingRankScalar[2]=2.0f ;Classic
PsiTrainingRankScalar[3]=2.0f ;Impossible


.........................................................................................

StartingRegionSupplyDrop[0]=150 ;Easy                           初始月供(就是每月空投给你的钱)
StartingRegionSupplyDrop[1]=150        ;Normal
StartingRegionSupplyDrop[2]=150        ;Classic
StartingRegionSupplyDrop[3]=150        ;Impossible


..........................................................................................

XComHeadquarters_StartingPowerProduced[0]=0 ;Easy                     初始电力
XComHeadquarters_StartingPowerProduced[1]=0        ;Normal
XComHeadquarters_StartingPowerProduced[2]=0        ;Classic
XComHeadquarters_StartingPowerProduced[3]=0        ;Impossible

XComHeadquarters_StartingCommCapacity[0]=3 ;Easy                     初始联络点上限(这个建议改多点)
XComHeadquarters_StartingCommCapacity[1]=3 ;Normal
XComHeadquarters_StartingCommCapacity[2]=3 ;Classic
XComHeadquarters_StartingCommCapacity[3]=3 ;Impossible


....................................................................................

ResearchProject_TimeScalar[0]=1.0 ;Easy                        科研的时间倍率(其实前面也有科研天数的可以改,但是不如改这个方便)
ResearchProject_TimeScalar[1]=1.0 ;Normal
ResearchProject_TimeScalar[2]=1.0 ;Classic
ResearchProject_TimeScalar[3]=1.0 ;Impossible

; Not currently used, all items are instant                          没卵用
BuildItemProject_TimeScalar[0]=1.0 ;Easy
BuildItemProject_TimeScalar[1]=1.0 ;Normal
BuildItemProject_TimeScalar[2]=1.0 ;Classic
BuildItemProject_TimeScalar[3]=1.0 ;Impossible

BuildFacilityProject_TimeScalar[0]=1.0 ;Easy                    建造设施的时间倍率
BuildFacilityProject_TimeScalar[1]=1.0 ;Normal
BuildFacilityProject_TimeScalar[2]=1.0 ;Classic
BuildFacilityProject_TimeScalar[3]=1.0 ;Impossible

; Not currently used, all upgrades are instant                    没卵用
UpgradeFacilityProject_TimeScalar[0]=1.0 ;Easy
UpgradeFacilityProject_TimeScalar[1]=1.0 ;Normal
UpgradeFacilityProject_TimeScalar[2]=1.0 ;Classic
UpgradeFacilityProject_TimeScalar[3]=1.0 ;Impossible

ClearRoomProject_TimeScalar[0]=1.0 ;Easy                    清理房间的时间倍率
ClearRoomProject_TimeScalar[1]=1.0 ;Normal
ClearRoomProject_TimeScalar[2]=1.0 ;Classic
ClearRoomProject_TimeScalar[3]=3.0 ;Impossible

ClearRoomProjectFirstRow_TimeScalar[0]=0.5  ;Easy                首行房间清理的时间倍率(就是最上面的一行房间)
ClearRoomProjectFirstRow_TimeScalar[1]=0.5  ;Normal
ClearRoomProjectFirstRow_TimeScalar[2]=0.5  ;Classic
ClearRoomProjectFirstRow_TimeScalar[3]=0.33 ;Impossible

HealSoldierProject_TimeScalar[0]=1.5 ;Easy                           士兵治疗的时间倍率(改低就可以减少受伤恢复的天数)
HealSoldierProject_TimeScalar[1]=1.5 ;Normal
HealSoldierProject_TimeScalar[2]=1.5 ;Classic
HealSoldierProject_TimeScalar[3]=2.5 ;Impossible

新兵属性

BY hyz4751 +

需要新开档或者刷新招募,打开“DefaultGameData_CharacterStats.ini”文件

下面为新兵的属性值,文本中其他的应该是怪的参数,我没有找到五种职业的对应参数,大家改改新兵属性就好。(对已招募士兵似乎无效,需要重新招募)

[Soldier X2CharacterTemplate]
CharacterBaseStats[eStat_HP]=5                                     生命(此属性有难度修正,注意一起改了)
CharacterBaseStats[eStat_Offense]=65                            命中 (个人认为这个是最重要的属性,有木有!)
CharacterBaseStats[eStat_Defense]=0                             回避率(就是敌人射击你的时候减多少命中率)
CharacterBaseStats[eStat_Mobility]=12                           移动格数
CharacterBaseStats[eStat_SightRadius]=27                     射击半径
CharacterBaseStats[eStat_Will]=40                                  意志力(此属性有难度修正,注意一起改了)
CharacterBaseStats[eStat_PsiOffense]=0                          灵能命中率(灵能士兵专用
CharacterBaseStats[eStat_FlightFuel]=0                           没卵用
CharacterBaseStats[eStat_UtilityItems]=1                        没卵用
CharacterBaseStats[eStat_AlertLevel]=2                           警戒等级(不知道具体有啥效果,目前也没发现有任何NPC的警戒等级是别的数值,不太建议改)
CharacterBaseStats[eStat_BackpackSize]=3                      没卵用
CharacterBaseStats[eStat_Hacking]=5                              免安装电脑的分数
CharacterBaseStats[eStat_CritChance]=0                          暴击率
CharacterBaseStats[eStat_CombatSims]=0
CharacterBaseStats[eStat_HighCoverConcealment]=1
CharacterBaseStats[eStat_Strength]=0
CharacterBaseStats[eStat_FlankingCritChance]=50           侧翼射击暴击几率(此属性有难度修正,注意一起改了)
CharacterBaseStats[eStat_FlankingAimBonus]=0              侧翼射击命中奖励
CharacterBaseStats[eStat_DetectionRadius]=9                 侦测半径(如果修改了移动数的话,建议把这个相应的改高一点,不然很容易一头扎进敌人堆里)

另外如果修改生命、意志力及侧翼暴击率这3个属性,在后面有修正,注意改,在下面这些地方:

[Soldier_Diff_0 X2CharacterTemplate]        新手难度
CharacterBaseStats[eStat_HP]=6
CharacterBaseStats[eStat_Will]=50


[Soldier_Diff_1 X2CharacterTemplate]        老兵难度
CharacterBaseStats[eStat_HP]=5
CharacterBaseStats[eStat_Will]=40
CharacterBaseStats[eStat_FlankingCritChance]=40


[Soldier_Diff_2 X2CharacterTemplate]        指挥官难度
CharacterBaseStats[eStat_HP]=4
CharacterBaseStats[eStat_Will]=40
CharacterBaseStats[eStat_FlankingCritChance]=40


[Soldier_Diff_3 X2CharacterTemplate]        传奇难度
CharacterBaseStats[eStat_HP]=4
CharacterBaseStats[eStat_Will]=40
CharacterBaseStats[eStat_FlankingCritChance]=40

化身速率

BY yugizgt14 +

进入如下游戏目录:XCOM 2XComGameConfig

打开如下文件:DefaultGameData.ini

Ctrl+F 搜索 “DoomAccelerateScalars” 关键字 找到如下字段:

DoomAccelerateScalars[0]=0.5f ;Easy
DoomAccelerateScalars[1]=0.5f ;Normal
DoomAccelerateScalars[2]=0.5f ;Classic
DoomAccelerateScalars[3]=0.5f ;Impossible

4条对应4个难度 找到自己玩的难度 把“0.5f”改大即可 如改为“5.0f” “50.0f” (经测试该值应该有内部上限值 so改得过大效果都一样 至于效果倍率请大家自行测试吧 我个人是喜欢慢慢种田)

注意是改大 根据自己需要修改,鄙人已测试没问题。

DefaultGameData.ini: 这个文件可以改的属性参数非常多比如 黑暗事件数目NumDarkEvents 士兵治疗时间HealSoldierProject_TimeScalar  研究时间ResearchProject_TimeScalar 

DefaultGameData_CharacterStats.ini: 可以修改己方士兵和敌方各兵种的各项属性值 

DefaultClassData.ini 和 DefaultGameData_SoldierSkills.ini: 可以修改各职业的属性和技能等等

基地建筑时间

BY gos061 +

需要修改文件DefaultGameData,如下:

ResearchProject_TimeScalar[0]=1.0 ;Easy
ResearchProject_TimeScalar[1]=1.0 ;Normal
ResearchProject_TimeScalar[2]=1.0 ;Classic
ResearchProject_TimeScalar[3]=1.0 ;Impossible

; Not currently used, all items are instant
BuildItemProject_TimeScalar[0]=1.0 ;Easy
BuildItemProject_TimeScalar[1]=1.0 ;Normal
BuildItemProject_TimeScalar[2]=1.0 ;Classic
BuildItemProject_TimeScalar[3]=1.0 ;Impossible

BuildFacilityProject_TimeScalar[0]=1.0 ;Easy
BuildFacilityProject_TimeScalar[1]=1.0 ;Normal
BuildFacilityProject_TimeScalar[2]=1.0 ;Classic
BuildFacilityProject_TimeScalar[3]=1.0 ;Impossible

; Not currently used, all upgrades are instant
UpgradeFacilityProject_TimeScalar[0]=1.0 ;Easy
UpgradeFacilityProject_TimeScalar[1]=1.0 ;Normal
UpgradeFacilityProject_TimeScalar[2]=1.0 ;Classic
UpgradeFacilityProject_TimeScalar[3]=1.0 ;Impossible

ClearRoomProject_TimeScalar[0]=1.0 ;Easy
ClearRoomProject_TimeScalar[1]=1.0 ;Normal
ClearRoomProject_TimeScalar[2]=1.0 ;Classic
ClearRoomProject_TimeScalar[3]=3.0 ;Impossible

ClearRoomProjectFirstRow_TimeScalar[0]=0.5  ;Easy
ClearRoomProjectFirstRow_TimeScalar[1]=0.5  ;Normal
ClearRoomProjectFirstRow_TimeScalar[2]=0.5  ;Classic
ClearRoomProjectFirstRow_TimeScalar[3]=0.33 ;Impossible

数值全部改为0.1就可以迅速建造+科研了,现在就等扫描时间减少了。

完整科技树

BY neil7810 +

点击图片查看大图,转载请注明来自巴哈姆特XCOM版