自定义竞技场使用教程和自制预设方法(有的我也不知对不对qwq)
先感谢一下海蓝神等人,没他们我真的学不明白怎么搞这个
自定义竞技场是什么
一个mod,由jngo102制作(ta的GitHub:https://github.com/jngo102)
是一个你可以游玩别人的预设或自己制造预设的mod,预设就是说预备的设置(可能吧),你可以把预设放在特定的位置使它生效对游戏之类的进行修改(我猜的)
怎么玩别人的预设?(你应该知道怎么装mod:BV1AY4y1W7tU)
把mod,mod前置,预设放进对应的的地方
这里先力推海蓝神的Q群,里面人才济济:692937746 副群:125890494 你可以在里面找到你想要的mod之类的
mod本体:CustomTrial 前置:Vasi
mod与前置可以在这里找到:https://hkmd.clazex.net (现在要口令,去海蓝神群里的群在线文档里可以找到)预设什么的不给了,可以去B站找找,专栏末尾会厚颜无耻的给我自己的预设链接qwq
mod本体和前置mod放在.....\Mods(废话)
预设放在存档文件夹里面:
Windows:...\Users\.....AppData\LocalLow\Team Cherry\Hollow Knight
MacOS: ..../Library/Application Support/unity.Team Cherry.Hollow Knight/
Linux: ..../.config/unity3d/Team Cherry/Hollow Knight/
注意一点:放预设得先把mod与前置放完再开游戏,再退游戏后去存档文件夹粘贴预设,选替换 应该吧qwq
然后去jjc3就可以
然后就是重头戏:怎么制作预设???
首先你得有个类似于记事本的软件,我推荐vsc,全称Visual Studio Code
vsc官网:https://code.visualstudio.com/ (不过我下载时老是下不了,我猜是要加速器,所以你也可以去找个正规下载站什么的,我就是这样的)
然后说一下预设基本构造
Waves:The main container of all the waves in the trial sequence(这是原话)
机翻:试验序列中所有波的主容器(我英语不是很好,还没初中qwq)
这是啥子我也不晓得(没学过编程什么的)你就记住开头是这个就好
GeoReward:有脑子就行,过关后奖励多少吉欧(不过貌似最少25吉欧,我之前有过写1的但给我25吉欧)这个是预设的结尾处
开头与结尾的实例:
{
"Waves": [
[一会要在这里搞重要的]
],
"GeoReward": [你想要打完给多少吉欧,但应该只能是整数,负数小数没试过]
}

Name: 出现在猎人日志中的敌人的名称
就是说你想要出什么怪,可使用对照信息看看这个:https://github.com/jngo102/HollowKnight.CustomTrial/blob/main/CustomTrial.cs
从26行开始记录所有可用怪到217行
Health: 特定敌人的生命值
通俗易懂,就是上文的怪物的血量
SpawnPosition: 敌人将在竞技场内生成的位置。 请注意,竞技场的边界水平大约为 87 到 118 (x),垂直 (y) 为 7 到 28。确保生成位置在这些值范围内,否则敌人将生成在竞技场之外。
有的敌人的生成点是中心,有的是某个特定位置,所以请在游戏中多看看试试。用回椅子mod的显示房间名会附带坐标(前提是1.5版本,1.4的回椅子没有这功能),debug也看得到
上文三个东西的实例:
{
"Enemies": [
{
"Name": "[你要生成的怪]",
"Health": [你想给它多少血],
"SpawnPosition": {
"x": [坐标,自己量],
"y": [同理]
}
}
],


PlatformSpawn:平台将在这一波中生成的位置。 对于多个平台,一次可以有几个。
多个平台:

可以不生成平台:

CrowdAction: 一波结束后观众的表现。 选项是“Cheer”、“Laugh”和“Gasp”。
Cheer:一波结束后观众欢呼 Laugh:一波结束后观众大笑 Gasp:一波结束后观众叹息(那个竞技场1左特出场的“哦!”)
MusicLevel: 斗兽场音乐等级,等级越高,音乐越激烈,最高可达6级。也可以“SILENT”表示静音。
Cooldown: 打完这一波到下一波间隔几秒
DelayBetweenSpawns: 每个怪间隔多少秒生成下一个,顺序为从上到下的顺序
WallCDistance: 从上面压下来的墙
注意:填的数字是从起始移动到终点移动多少坐标,最顶端大概在30
WallLDistance:从左边压过来的墙
注意:填的数字是从起始移动到终点移动多少坐标,最左边大概在85
WallRDistance: 从右边压过来的墙
注意:填的数字是从起始移动到终点移动多少坐标,最右边大概在120
Spikes: 这波出不出刺(空不空战)
上面的实例:

翻译:在x轴的102,y轴的15处生成750点血量的反击蝇;在x的90,y的10和x的102,y的12两处生成平台;这波解决后观众欢呼,激烈程度为5级,打完这一波后4秒来下一波,怪的生成间隔0秒(反正也没别的);左面的墙压13个坐标,右面的墙压13个坐标,上面的墙压13个坐标;要空战(地上全是刺)
基本说完了,还有一点:如果你在开着游戏时打开mod配置文件再关掉,那么会使mod配置文件重置
实战演练
你要做的:第一波中间一只表哥,左右两边大跳虫,第二波空战席奥,第三波中间有平台,场上依次间隔15秒出现守护者大黄蜂,岗哨大黄蜂,有翼诺斯克,打完奖励6666吉欧
就像这样:

readme英文原文
# Custom Trial
Allows creation of custom trials for the Colosseum of Fools.
**This mod is a work in progress, and may cease development at any time. If you wish to contribute, make a pull request on the GitHub page at: https://github.com/jngo102/HollowKnight.CustomTrial**
## Installing custom trials:
- Move the `CustomTrial.GlobalSettings.json` file to your game's save location.
Windows: `%AppDATA%\..\LocalLow\Team Cherry\Hollow Knight\`
MacOS: `~/Library/Application Support/unity.Team Cherry.Hollow Knight/`
Linux: `~/.config/unity3d/Team Cherry/Hollow Knight/`
## Creating custom trials:
- Launch the game once with the custom trial mod installed. This will generate a template `CustomTrial.GlobalSettings.json` file.
- Using the template, enter the details of the waves of enemies that you wish to spawn. It may help to learn about the JSON format:
https://www.w3schools.com/js/js_json_intro.asp
* Waves: The main container of all the waves in the trial sequence.
* Enemies: Contains all the enemies for a particular wave.
* Name: The name of the enemy as it Appears in the Hunter's Journal.
* Health: The amount of health for a particular enemy.
* SpawnPosition: Where the enemy will spawn within the arena. Note that the bounds of the arena are around 87 to 118 horizontally (x), and 7 to 28 vertically (y).
Be sure that the spawn posiiton lies within these values or the enemy will spawn outside the arena.
* PlatformSpawn: The location that a platform will spawn in a particular wave. There can be several of these at a time for multiple platforms.
* CrowdAction: The audio that the crowd will play when the wave ends. Options are "Cheer", "Laugh" and "Gasp".
* MusicLevel: The Colosseum music level, with higher levels corresponding to more intense music, up to level 6. Can also be "SILENT" for silence.
* Cooldown: The cooldown Between waves, in seconds.
* DelayBetweenSpawns: The amount of time Between spawns within a wave, in seconds.
* WallCDistance: The distance that the ceiling wall will be from its rest position.
* WallLDistance: The distance that the left wall will be from its rest position.
* WallRDistance: The distance that the right wall will be from its rest position.
* Spikes: Whether spikes should Appear on the ground.
**NOTE: A graphical editor for creating custom trials used to be available in an attempt to make creating trials easier, but no longer exists for this version of the mod.**
## Troubleshooting
- Issue: None of my mods loaded after installing CustomTrial, and the mod list at the top corner of the screen is gone.
Solution: Re-run the game one more time, or check that your global settings JSON has correct syntax using a tool like jsonlint: https://jsonlint.com/
我已知的bug
躁郁的毛里克,毛鲁克,失落近亲,国王傀儡,蘑菇巨人,斯孢格等尸体不消失;
假骑士,失败冠军的盔甲还可以攻击,但不可梦钉回魂;
梦魇格林的部分攻击,无眼的幽魂,加里安的大镰刀,胡长老的算盘,马爹的飞剑,戈布,失落近亲召唤的感染气球,纯粹容器的部分攻击等都会卡出图外;
如果平台压你时故意对顶可能会卡出去
重生平台有时候会让你突然掉下去
神训,灰色王子佐特等没用
我从未见过有如此厚颜无耻之人!
O5DZ的竞技场预设可以在我群里找到,里面人才济济:180956780
也包含了装修预设和别人的东西等乱七八糟的
上面的是有人趁我写专栏时捣乱写的,真讨厌,哼!(╯▔皿▔)╯
没什么好说的了,若有补充会在评论区说吧
有什么问题说出来,我尽量帮你
请给这个专栏烂程度打个分:1~10

