xcom2吧 关注:25,910贴子:246,677

简单易上手的xcom职业修改:以LWOTC为例

取消只看楼主收藏回复

老公打我。还跟外面的坏女人有说有笑。为了孩子,我忍了这段破碎的婚姻。如果你心疼我的话,晚上跟我学【简单易上手的修改XCOM职业】


IP属地:山西来自Android客户端1楼2024-09-22 11:07回复
    第一步,下载模组工具
    切换【游戏】选项为【工具】

    搜索XCOM,选择天选者之战的模组工具(war of chosen)

    下载好后,右键管理员启动


    IP属地:山西2楼2024-09-22 11:12
    回复
      如果不是管理员启动,后面Build会报错


      IP属地:山西3楼2024-09-22 11:13
      回复
        建议在快捷方式上允许【管理员启动】


        IP属地:山西4楼2024-09-22 11:15
        回复
          当然,这样的直接下载,模组工具还有许多问题,吧里也有教程讲解如何修复,或者你可以去红迪,都是一样的


          IP属地:山西5楼2024-09-22 11:16
          回复
            XCOM2天选者之战修改整理,为后来人铺路
            吧里修复模组教程


            IP属地:山西来自Android客户端7楼2024-09-22 11:20
            回复
              访问可能需要一些加速器
              www.reddit.com/r/xcom2mods/wiki/firsttime/


              IP属地:山西8楼2024-09-22 11:21
              回复
                启动后,如果你修复了模组工具,可以随便选取模板。
                如果你没有修复模组工具,选择ExampleWeapon:因为其他模板是坏的


                IP属地:山西9楼2024-09-22 11:24
                回复
                  第二步:原职业模板更改
                  即:不更改原职业模板变量的修改(只变更技能,不改变职业图标等)


                  只是一个加减号而已


                  IP属地:山西10楼2024-09-22 11:26
                  回复

                    [LWS_Technical X2SoldierClassTemplate]
                    !RandomAbilityDecks=()


                    IP属地:山西11楼2024-09-22 11:28
                    回复

                      !SoldierRanks=()


                      IP属地:山西12楼2024-09-22 11:30
                      回复

                        尽量选择不需要前置,或者前置很少的技能包,一般都叫【Perk Pack】



                        IP属地:山西13楼2024-09-22 11:32
                        回复
                          第三步:全新职业模板更改






                          IP属地:山西14楼2024-09-22 11:35
                          回复
                            第四步:关于全新技能




                            IP属地:山西15楼2024-09-22 11:37
                            回复

                              static function X2AbilityTemplate JLImpersonalEdge()
                              {
                              local X2AbilityTemplate Template;
                              local X2Effect_AddAmmo AddAmmoEffect;
                              local X2AbilityTrigger_EventListener EventListenerTrigger;
                              `CREATE_X2ABILITY_TEMPLATE(Template, 'JLImpersonalEdge');
                              //BEGIN AUTOGENERATED CODE: Template Overrides 'FullThrottle'
                              Template.IconImage = "img:///MusashiCombatKnifeMod_LW.UI.UIPerk_hailstorm";
                              //END AUTOGENERATED CODE: Template Overrides 'FullThrottle'
                              Template.AbilitySourceName = 'eAbilitySource_Perk';
                              Template.eAbilityIconBehaviorHUD = eAbilityIconBehavior_NeverShow;
                              Template.Hostility = eHostility_Neutral;
                              Template.AbilityToHitCalc = default.DeadEye;
                              Template.AbilityTargetStyle = default.SelfTarget;
                              EventListenerTrigger = new class'X2AbilityTrigger_EventListener';
                              EventListenerTrigger.ListenerData.Deferral = ELD_OnStateSubmitted;
                              EventListenerTrigger.ListenerData.EventID = 'UnitDied';
                              EventListenerTrigger.ListenerData.Filter = eFilter_None;
                              EventListenerTrigger.ListenerData.EventFn = JLImpersonalEdgeListener;
                              Template.AbilityTriggers.AddItem(EventListenerTrigger);
                              AddAmmoEffect = new class 'X2Effect_AddAmmo';
                              AddAmmoEffect.ExtraAmmoAmount = default.KNIFE_JUGGLER_EXTRA_AMMO;
                              Template.AddTargetEffect(AddAmmoEffect);
                              Template.bSkipFireAction = true;
                              Template.bShowActivation = true;
                              Template.BuildNewGameStateFn = TypicalAbility_BuildGameState;
                              Template.BuildVisualizationFn = TypicalAbility_BuildVisualization;
                              return Template;
                              }
                              static function EventListenerReturn JLImpersonalEdgeListener(Object EventData, Object EventSource, XComGameState GameState, Name EventID, Object CallbackData)
                              {
                              local XComGameStateContext_Ability AbilityContext;
                              local XComGameState_Item ItemState;
                              local XComGameState_Ability TriggerAbilityState;
                              AbilityContext = XComGameStateContext_Ability(GameState.GetContext());
                              TriggerAbilityState = XComGameState_Ability(CallbackData);
                              ItemState = XComGameState_Item(`XCOMHISTORY.GetGameStateForObjectID(AbilityContext.InputContext.ItemObject.ObjectID));
                              if (AbilityContext != None && AbilityContext.InterruptionStatus != eInterruptionStatus_Interrupt)
                              {
                              // were we the killer?
                              if (AbilityContext.InputContext.SourceObject.ObjectID == TriggerAbilityState.OwnerStateObject.ObjectID)
                              {
                              if(X2WeaponTemplate(ItemState.GetMyTemplate()) != none && X2WeaponTemplate(ItemState.GetMyTemplate()).WeaponCat == 'throwingknife')
                              {
                              return TriggerAbilityState.AbilityTriggerEventListener_Self(EventData, EventSource, GameState, EventID, CallbackData);
                              }
                              }
                              }
                              return ELR_NoInterrupt;
                              }


                              IP属地:山西16楼2024-09-22 11:38
                              回复