XCOM 2
954 个评价
[WOTC] Choose My Class
3
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
177.546 KB
2018 年 8 月 5 日 下午 11:53
10 月 12 日 下午 8:39
12 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
[WOTC] Choose My Class

在 shiremct 的 1 个合集中
Proficiency Class Pack Suggested Mods Collection
94 件物品
描述
[WOTC] Choose My Class

A lighter alternative to Commander's Choice, Choose My Class lets you choose from a random selection of 3 (# is configurable) classes when a rookie gets promoted, without laying out every single option available. It's a middle-ground between NO choice (base game) and ANY choice (Commanders Choice). It's similar to the promotion mechanics in EU/EW.

Makes a good companion mod to [WOTC] Use My Class - by default, the first class option will be reserved for the class specified in the unit's character pool template, if applicable and available (this behavior can also be toggled to always fully random choices, if desired).

Designed to work with [WOTC] Disable Any Class GTS Redux, an easy way to manage enabling/disabling individual classes without worrying about config changes being overwritten during updates.



The options available to a soldier may change a bit when either adding/removing new classes from rotation, changing relative weights of classes (class NumInDeck values), or toggling the UseMyClass option reserving the first choice to the character pool defined class. This is all by design - in general, you are stuck with the handful of options from the pool given to each soldier, but changes to the pool of available classes WILL get filtered in. Adding, removing, and updating mods shouldn't break your unpromoted rookies.

Known [Minor] Issues
  • You CAN run it alongside Commander's Choice, but you really shouldn't. Use -1 in the config for NumClassChoices if you want behavior similar to Commander's Choice where all valid and available classes can be chosen.
  • This is heavily based on Commander's Choice and has many of the same minor issues (using the arrow keys on a class' ability tree to navigate to a promotable rookie will promote them randomly like the base game, etc.).
  • Uses a pseudo-random roll to prevent the class options from re-rolling every time you click the button - works well, but the complexity of that roll may need to be increased in the future if strong patterns become apparant over time (like the first units of campaigns always rolling similar options, etc.) - let me know if things start to get too predictable.


Thanks and Credits

This is largely based on Commander's Choice, so credit to those guys for amazing work on a long-time staple. Also big thanks to robojumper for helping point me in the right direction for storing the available choices with the pseudo-random rolls and thanks to FearTheBunnies for code support.


Version History
(See Change Notes for full history)
    1.2.0:
    • Added config to enable alphabetical sorting.
    • Updated config comments and streamlined code handling to better support NumClassChoices = -1 for allowing to choose from all available classes. Alphabetical sorting is always used with -1.
    • When bUseMyClass = true, the character pool class will always be top of list, even with sorting enabled.
    1.1.0:
    • Updated the choice selection formula to accomodate situations where there are more than 100 choices (Amalgamation). Thank you to Tedster for identifying the issue and suggesting a simplified formula!
    1.0.8:
    • Updated random number generation formula to pull in some additional parameters. Now works with LWOTC where the starting unit ObjectIDs are always the same.
    • Added support for Rusty's Disable Any Class GTS Redux. Removed support for original version of Disable Any Class (didn't work consistently anyway).
热门讨论 查看全部(2)
2
2024 年 11 月 16 日 上午 11:30
Changing the amount of choosable options
chris_lee_bear
0
2023 年 12 月 9 日 下午 1:13
Russian Localization
Aks
181 条留言
Commander Link 10 月 16 日 下午 6:57 
ah.. okay. I only recently got a steam deck so i'm still trying to figure out how to edit files outside of the game. Not feeling that brave with it yet. Thanks for keeping your mod updated though, 3 choices is better than 0!
shiremct  [作者] 10 月 16 日 下午 3:19 
Yea, sorry, I never got around to figuring out setting up MCM, so it's .ini edit only. Maybe one day.
Dragon32 10 月 16 日 上午 6:43 
@Commander Link
It's .ini edit only
Commander Link 10 月 15 日 下午 7:42 
hey commander. Commanders choice is BROKEN right now, and your mod is the only one available. is it possible to edit this mod to use ingame mod configuration menu to be able to pick how many options will be available? or is that already the case?
Dragon32 10 月 15 日 下午 4:45 
@Seven
OK, cool.
Seven 10 月 15 日 下午 1:37 
@Dragon32, I actually figured it out not too long after I posted my comment. I didn't realize that a mod I had added put two new classes into my class pool that I had to disable. It works fine. I just overlooked the option. :) Thanks!
Dragon32 10 月 15 日 下午 12:43 
@Seven
Which mod are you using?
Added support for Rusty's Disable Any Class GTS Redux. Removed support for original version of Disable Any Class (didn't work consistently anyway).
Seven 10 月 15 日 上午 11:52 
So, out of curiosity, is there a way to set it up so that the classes the mod gives mirror the ones I have selected in the "Disable all classes" mod? For some reason on the class selection screen the mod shows up with disabled classes such as Gunner when I have it turned off because I have a variant that works better for my campaign.
Dragon32 9 月 27 日 上午 9:56 
@Local Cowboyist Representative
See this:
https://old.reddit.com/r/xcom2mods/wiki/wotc_modding/mod_folder
Local Cowboyist Representative 9 月 27 日 上午 9:49 
Okay, so i'm having a strange problem if anyone is able to help. I have the mod installed and i've used it in game so i know it's installed on my PC. However, I cannot find it in my files with my other Xcom mods in order to change the amount of classes available. Anyone know what's going on?