自定義競(jìng)技場(chǎng)使用教程和自制預(yù)設(shè)方法(有的我也不知對(duì)不對(duì)qwq)
先感謝一下海藍(lán)神等人,沒(méi)他們我真的學(xué)不明白怎么搞這個(gè)
?自定義競(jìng)技場(chǎng)是什么
一個(gè)mod,由jngo102制作(ta的GitHub:https://github.com/jngo102)
是一個(gè)你可以游玩別人的預(yù)設(shè)或自己制造預(yù)設(shè)的mod,預(yù)設(shè)就是說(shuō)預(yù)備的設(shè)置(可能吧),你可以把預(yù)設(shè)放在特定的位置使它生效對(duì)游戲之類(lèi)的進(jìn)行修改(我猜的)
怎么玩別人的預(yù)設(shè)?(你應(yīng)該知道怎么裝mod:BV1AY4y1W7tU)
把mod,mod前置,預(yù)設(shè)放進(jìn)對(duì)應(yīng)的的地方
這里先力推海藍(lán)神的Q群,里面人才濟(jì)濟(jì):692937746 副群:125890494 你可以在里面找到你想要的mod之類(lèi)的
mod本體:CustomTrial 前置:Vasi?
mod與前置可以在這里找到:https://hkmd.clazex.net (現(xiàn)在要口令,去海藍(lán)神群里的群在線文檔里可以找到)預(yù)設(shè)什么的不給了,可以去B站找找,專(zhuān)欄末尾會(huì)厚顏無(wú)恥的給我自己的預(yù)設(shè)鏈接qwq
mod本體和前置mod放在.....\Mods(廢話)?
預(yù)設(shè)放在存檔文件夾里面:
Windows:...\Users\.....AppData\LocalLow\Team Cherry\Hollow Knight
? ? MacOS: ..../Library/Application Support/unity.Team Cherry.Hollow Knight/
? ? Linux: ..../.config/unity3d/Team Cherry/Hollow Knight/
注意一點(diǎn):放預(yù)設(shè)得先把mod與前置放完再開(kāi)游戲,再退游戲后去存檔文件夾粘貼預(yù)設(shè),選替換??應(yīng)該吧qwq?
然后去jjc3就可以
然后就是重頭戲:怎么制作預(yù)設(shè)???
首先你得有個(gè)類(lèi)似于記事本的軟件,我推薦vsc,全稱(chēng)Visual Studio Code?
vsc官網(wǎng):https://code.visualstudio.com/? (不過(guò)我下載時(shí)老是下不了,我猜是要加速器,所以你也可以去找個(gè)正規(guī)下載站什么的,我就是這樣的)
然后說(shuō)一下預(yù)設(shè)基本構(gòu)造
Waves:The main container of all the waves in the trial sequence(這是原話)
? ? ? ? ? ? ? ?機(jī)翻:試驗(yàn)序列中所有波的主容器(我英語(yǔ)不是很好,還沒(méi)初中qwq)
這是啥子我也不曉得(沒(méi)學(xué)過(guò)編程什么的)你就記住開(kāi)頭是這個(gè)就好
GeoReward:有腦子就行,過(guò)關(guān)后獎(jiǎng)勵(lì)多少吉?dú)W(不過(guò)貌似最少25吉?dú)W,我之前有過(guò)寫(xiě)1的但給我25吉?dú)W)這個(gè)是預(yù)設(shè)的結(jié)尾處
開(kāi)頭與結(jié)尾的實(shí)例:
{
? "Waves": [
[一會(huì)要在這里搞重要的]
],
? "GeoReward": [你想要打完給多少吉?dú)W,但應(yīng)該只能是整數(shù),負(fù)數(shù)小數(shù)沒(méi)試過(guò)]
}

Name: 出現(xiàn)在獵人日志中的敵人的名稱(chēng)
就是說(shuō)你想要出什么怪,可使用對(duì)照信息看看這個(gè):https://github.com/jngo102/HollowKnight.CustomTrial/blob/main/CustomTrial.cs
從26行開(kāi)始記錄所有可用怪到217行
Health: 特定敵人的生命值
通俗易懂,就是上文的怪物的血量
?SpawnPosition:?敵人將在競(jìng)技場(chǎng)內(nèi)生成的位置。 請(qǐng)注意,競(jìng)技場(chǎng)的邊界水平大約為 87 到 118 (x),垂直 (y) 為 7 到 28。確保生成位置在這些值范圍內(nèi),否則敵人將生成在競(jìng)技場(chǎng)之外。
有的敵人的生成點(diǎn)是中心,有的是某個(gè)特定位置,所以請(qǐng)?jiān)谟螒蛑卸嗫纯丛囋?/span>。用回椅子mod的顯示房間名會(huì)附帶坐標(biāo)(前提是1.5版本,1.4的回椅子沒(méi)有這功能),debug也看得到
上文三個(gè)東西的實(shí)例:
? ? {
? ? ? "Enemies": [
? ? ? ? {
? ? ? ? ? "Name": "[你要生成的怪]",
? ? ? ? ? "Health": [你想給它多少血],
? ? ? ? ? "SpawnPosition": {
? ? ? ? ? ? "x": [坐標(biāo),自己量],
? ? ? ? ? ? "y": [同理]
? ? ? ? ? }
? ? ? ? }
? ? ? ],


PlatformSpawn:平臺(tái)將在這一波中生成的位置。 對(duì)于多個(gè)平臺(tái),一次可以有幾個(gè)。
多個(gè)平臺(tái):

可以不生成平臺(tái):

?CrowdAction:?一波結(jié)束后觀眾的表現(xiàn)。 選項(xiàng)是“Cheer”、“Laugh”和“Gasp”。
Cheer:一波結(jié)束后觀眾歡呼? ? Laugh:一波結(jié)束后觀眾大笑? ? Gasp:一波結(jié)束后觀眾嘆息(那個(gè)競(jìng)技場(chǎng)1左特出場(chǎng)的“哦!”)?
MusicLevel: 斗獸場(chǎng)音樂(lè)等級(jí),等級(jí)越高,音樂(lè)越激烈,最高可達(dá)6級(jí)。也可以“SILENT”表示靜音。
Cooldown: 打完這一波到下一波間隔幾秒
DelayBetweenSpawns: 每個(gè)怪間隔多少秒生成下一個(gè),順序?yàn)閺纳系较碌捻樞?/p>
WallCDistance: 從上面壓下來(lái)的墻
注意:填的數(shù)字是從起始移動(dòng)到終點(diǎn)移動(dòng)多少坐標(biāo),最頂端大概在30
WallLDistance:從左邊壓過(guò)來(lái)的墻
注意:填的數(shù)字是從起始移動(dòng)到終點(diǎn)移動(dòng)多少坐標(biāo),最左邊大概在85
?WallRDistance: 從右邊壓過(guò)來(lái)的墻
注意:填的數(shù)字是從起始移動(dòng)到終點(diǎn)移動(dòng)多少坐標(biāo),最右邊大概在120
Spikes: 這波出不出刺(空不空戰(zhàn))
上面的實(shí)例:

翻譯:在x軸的102,y軸的15處生成750點(diǎn)血量的反擊蠅;在x的90,y的10和x的102,y的12兩處生成平臺(tái);這波解決后觀眾歡呼,激烈程度為5級(jí),打完這一波后4秒來(lái)下一波,怪的生成間隔0秒(反正也沒(méi)別的);左面的墻壓13個(gè)坐標(biāo),右面的墻壓13個(gè)坐標(biāo),上面的墻壓13個(gè)坐標(biāo);要空戰(zhàn)(地上全是刺)
基本說(shuō)完了,還有一點(diǎn):如果你在開(kāi)著游戲時(shí)打開(kāi)mod配置文件再關(guān)掉,那么會(huì)使mod配置文件重置
實(shí)戰(zhàn)演練
你要做的:第一波中間一只表哥,左右兩邊大跳蟲(chóng),第二波空戰(zhàn)席奧,第三波中間有平臺(tái),場(chǎng)上依次間隔15秒出現(xiàn)守護(hù)者大黃蜂,崗哨大黃蜂,有翼諾斯克,打完獎(jiǎng)勵(lì)6666吉?dú)W
就像這樣:

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
躁郁的毛里克,毛魯克,失落近親,國(guó)王傀儡,蘑菇巨人,斯孢格等尸體不消失;
假騎士,失敗冠軍的盔甲還可以攻擊,但不可夢(mèng)釘回魂;
夢(mèng)魘格林的部分攻擊,無(wú)眼的幽魂,加里安的大鐮刀,胡長(zhǎng)老的算盤(pán),馬爹的飛劍,戈布,失落近親召喚的感染氣球,純粹容器的部分攻擊等都會(huì)卡出圖外;
如果平臺(tái)壓你時(shí)故意對(duì)頂可能會(huì)卡出去
重生平臺(tái)有時(shí)候會(huì)讓你突然掉下去
神訓(xùn),灰色王子佐特等沒(méi)用
我從未見(jiàn)過(guò)有如此厚顏無(wú)恥之人!
O5DZ的競(jìng)技場(chǎng)預(yù)設(shè)可以在我群里找到,里面人才濟(jì)濟(jì):180956780
也包含了裝修預(yù)設(shè)和別人的東西等亂七八糟的
上面的是有人趁我寫(xiě)專(zhuān)欄時(shí)搗亂寫(xiě)的,真討厭,哼!(╯▔皿▔)╯
沒(méi)什么好說(shuō)的了,若有補(bǔ)充會(huì)在評(píng)論區(qū)說(shuō)吧
有什么問(wèn)題說(shuō)出來(lái),我盡量幫你
請(qǐng)給這個(gè)專(zhuān)欄爛程度打個(gè)分:1~10