About this mod
添加了X-MOD2类武器的制作规范
Added recipe for X-MOD2 weapons
- Requirements
- Permissions and credits
- Changelogs
这个模组的主文件实现的功能是当你使用CETmod的热键时,每一次点开都会向你背包内添加所有X-MOD2武器的制作规范(只会生效一次,后面的每次添加都没有任何的作用,只是视觉上会显示已添加………………)原理是一条控制台命令:让某一个没有制作规范的武器增加一个制作规范,这个mod只是让它本地化,不用每次都输入一遍。
武器种类有
阿喀琉斯X-MOD2
河童X-MOD2
九尾X-MDO2
本影X-MDO2
炙土X-MOD2
断头台X-MOD2
MA70 HB X-MOD2
莱克星顿X-MDO2
棒球棍X-MOD2
要人命X-MOD2
魔爪X-MOD2
另外,可选文件与主文件不同,lua脚本首先是选择触发功能,大多数脚本的触发功能都为onInit:即为当CET加载所有模块时触发一次,然而这个确实能正常触发但是进入个人存档后不会添加任何制作规范,我猜是触发的太快了,可惜选择中并没有读取存档时触发(或者我没找到这个功能)所以这个可选文件也有一种实现方法,即为进入存档后,打开CET的菜单,然后选择右上角的reload all mods,重新读取一遍,然后存档,这样就有制作规范了。
主文件和可选文件只能选择其中一个!
Translation content ↓
This mod is an incomplete mod, my original intention was to add X-MOD2 weapons on top of this mod or add X-MOD2 weapons in my own studio in the virtual studio. However, I found that these X-MOD2 weapons do not have production specifications. If I want to implement this feature, it is equivalent to creating a new mod (although I do not know how to make mods), so this alternative type of mod came out
The main file of this mod implements the function of adding the production specifications of all X-MOD2 weapons to your backpack every time you use the hotkeys of CETmod (this will only take effect once, and each subsequent addition will have no effect, only visually indicating that it has been added...). The principle is a console command: to add a production specification to a weapon that does not have a production specification. This mod only localizes it, without having to input it every time.
In addition, the optional file is different from the main file. Lua scripts first trigger the function, and most scripts trigger onInit: it is triggered once when CET loads all modules. However, this can indeed trigger normally, but after entering the personal archive, no production specifications will be added. I guess it triggers too quickly, but unfortunately it is not triggered when reading the archive in the selection (or I did not find this function). Therefore, there is also a way to implement this optional file, which is to open the CET menu after entering the archive, select reload all mods in the upper right corner, read it again, and then archive, so that there is a production specification.
Only one of the main file and optional file can be selected!