XCOM 2
283 个评价
Free Carry Drop Subdue WOTC
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
169.258 KB
2017 年 9 月 8 日 下午 3:37
2022 年 3 月 21 日 下午 12:28
8 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
Free Carry Drop Subdue WOTC

描述
Carry, Drop and Subdue are now free at 100%.

If you dont like the option being available even if nobody has any action left like EVAC, you can configure it in the INI file. But it doesnt happen enough for me personnally that it annoys me.

V2.0 - Converted to OnPostTemplatesCreated

V2.1 - Explicitly disallowed the abilities to break concealment. I've done all i could, now if you still break concealment because you pick up a prisoner in the Rescue Ally mission after silently opening the door, i cant do much more. I hope it works. All 3 abilities now have ConcealBreak = Never.

V2.2 - You can now control if it ends the turn or not.

V2.3 - Fixed issue with carry cost (Thanks to MrMister)

They are all configurable individually in the INI file.

C:\Program Files (x86)\Steam\steamapps\workshop\content\268500\1130901449\Config\XComFreeUnitCarryAndDrop.ini
71 条留言
Juravis  [作者] 11 月 26 日 下午 10:19 
/bow
Silver 11 月 26 日 下午 8:34 
This mod is a blessing, I've been looking for something that removes picking up bodies breaking concealment for WEEKS. It's so bloody daft. You're a hero
Ray 2024 年 9 月 7 日 上午 6:30 
Nice works in 2024 no problemo
MrMister 2022 年 11 月 16 日 上午 5:20 
Yes it is.
hottt3 2022 年 11 月 16 日 上午 4:13 
Is it compatible with LWotC ? Thanks)
Juravis  [作者] 2022 年 3 月 21 日 下午 12:29 
Your fix is up. You are lucky, it instantly launched ModBuddy and it was configured correctly i forgot that VS is for Chimera Squad. Try this version with your fix now up.
Juravis  [作者] 2022 年 3 月 21 日 下午 12:19 
My VSCode isn't working I'll try to fix it
MrMister 2022 年 3 月 21 日 上午 11:55 
So you're saying you can't update the mod anymore? If so I can just released a fixed redux version, but that'd be a shame as the work and credit is still all yours.
MrMister 2022 年 3 月 21 日 上午 11:55 
I found the cause and the fix!

You forgot a line in the Carry script block

// Carry Unit free
CurrentAbility = AllAbilities.FindAbilityTemplate('CarryUnit');
CurrentAbility.AbilityCosts.Length = 0;
ActionPointCost = new class'X2AbilityCost_ActionPoints'; <<<---- THIS IS WHAT YOU MISSED
ActionPointCost.iNumPoints = default.PICKUP_ACTION_POINTS;
ActionPointCost.bConsumeAllPoints = default.PICKUP_ENDS_TURN;
ActionPointCost.bFreeCost = default.PICKUP_TOTALLY_FREE;
CurrentAbility.AbilityCosts.AddItem(ActionPointCost);
CurrentAbility.ConcealmentRule = eConceal_Always;

Because you forgot to declare ActionPointCost anew for Carry, it was reusing the one for Drop (further up in the code) and overriding its values.


I rebuilt the mod just adding that one line, and it works! I can make Carry cost 1 AP while Drop costs 0 AP.
Juravis  [作者] 2022 年 3 月 21 日 上午 8:51 
I cant and i dont code anymore its possible. The initial goal of the mod was making everything free, exposing the variables came after.