// 由解析腾讯文档“自定义方法表”xlsx 自动生成(方法名/短描述/说明/参数/类型,可能有不准确处)。 // 结构:window.CustomMethodSearchData = { enumTypes, methods:[{name,type,shortDescription,description,parameters:[...]}] } // type: custom_method | comment | variable | condition | ink | mod | custom_class | surgery window.CustomMethodSearchData = { "enumTypes": { "Ease": [ "Linear", "InSine", "OutSine", "InOutSine", "InQuad", "OutQuad", "InOutQuad", "InCubic", "OutCubic", "InOutCubic", "InQuart", "OutQuart", "InOutQuart", "InQuint", "OutQuint", "InOutQuint", "InExpo", "OutExpo", "InOutExpo", "InCirc", "OutCirc", "InOutCirc", "InBack", "OutBack", "InOutBack", "InElastic", "OutElastic", "InOutElastic", "InBounce", "OutBounce", "InOutBounce" ], "Character": [ "Adog", "Allison", "Athlete", "AthletePhysio", "Barista", "Beat", "Bodybuilder", "Boy", "BoyRaya", "BoyTangzhuang", "Buro", "Clef", "Cockatiel", "ColeGuitar", "ColeSynth", "Controller", "DancingCouple", "Edega", "Farmer", "FarmerAlternate", "Girl", "GirlCNY", "HoodieBoy", "HoodieBoyAlternate", "HoodieBoyBlue", "Ian", "IanBubble", "Janitor", "Lucia", "LuckyBaseball", "LuckyIce", "LuckyBag", "Marija", "Miner", "MrsStevendog", "MrsStevenson", "MrStevendog", "MrStevenson", "NicoleCigs", "NicoleCoffee", "NicoleMints", "None", "Oriole", "Owl", "Paige", "Parrot", "Player", "Politician", "Purritician", "Quaver", "Rin", "Rodney", "Samurai", "SamuraiBaseball", "SamuraiBlue", "SamuraiBoss", "SamuraiBossAlt", "SamuraiGirl", "SamuraiGreen", "SamuraiPirate", "SamuraiYellow", "Saturday", "SmokinBarista", "Tentacle", "Treble", "Mark", "MrStevensonTango", "MrsStevensonTango", "Beans", "BookDiary", "BookEdega", "BookEye", "RhythmJanitor", "RhythmJanitorReal", "RhythmNurse", "RhythmSecurity" ], "createPreset": [ "CustomParticles/HitExplosion", "CustomParticles/leveleventexplosion", "CustomParticles/FireworkTrail", "CustomParticles/FireworkBoom", "CustomParticles/FireworkBoomFast", "BungeeRope/BungeeRope", "Spiders/Spiders", "CustomParticles/GlassExplosion" ], "shockwavePreset": [ "size", "distortion", "duration" ], "SetBaseballTrajectoryPreset": [ "\"enum TrajectoryString\"" ], "level": [ "Level_BeansHopper_rank", "Level_Lesmis_rank", "S", "NotFinished" ], "EventType": [ "Passive", "Active", "Accelerable" ] }, "methods": [ { "name": "create", "type": "comment", "shortDescription": "创建打击粒子", "description": "在指定的x,y位置创建一个打击粒子效果\n举例:()=>create(CustomParticles/HitExplosion,50,50)", "parameters": [ { "name": "preset", "type": "enum", "enumType": "createPreset" }, { "name": "X", "type": "number" }, { "name": "Y", "type": "number" } ] }, { "name": "ChangeCharacter", "type": "custom_method", "shortDescription": "改变轨道角色", "description": "将指定行原来的角色变更为所指定的 Character 对应的角色。该方法不适用于自定义角色。\n\n已过时,现在可以在编辑器中直接修改了", "parameters": [ { "name": "Character", "type": "enum", "enumType": "Character" }, { "name": "RowID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } } ] }, { "name": "ChangeCharacterSmooth", "type": "custom_method", "shortDescription": "平滑版改变轨道角色", "description": "与 ChangeCharacter 相同,但带有烟雾效果。\n已过时,现在可以在编辑器中直接修改了", "parameters": [ { "name": "Character", "type": "enum", "enumType": "Character" }, { "name": "RowID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } } ] }, { "name": "DamageHeart", "type": "custom_method", "shortDescription": "增加心脏破裂程度", "description": "设置轨道心脏视觉上的破损。1.0 出现第一个破损,5.0 出现小鸡。同时会震动轨道\n负数没用。\n不影响统计。", "parameters": [ { "name": "RowID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "Damage", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "HealHeart", "type": "custom_method", "shortDescription": "减少心脏破裂程度", "description": "与 DamageHeart 相反。", "parameters": [ { "name": "RowID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "Weight", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "manualHeartCrack", "type": "variable", "shortDescription": "手动心脏碎裂", "description": "启用后,所有轨道的心脏不会随着失误碎裂或者被治疗恢复,包括 DamageHeart 和 HealHeart 自定义方法。\n然而,心脏的精灵图仍然可以被下面的 SetHeartMistakes 修改。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetHeartMistakes", "type": "custom_method", "shortDescription": "设置心脏碎裂程度", "description": "当 manualHeartCrack 为 true 时,会将指定轨道的心脏设定为指定失误数下的碎裂程度。\n心脏在指定失误数下的碎裂程度取决于 missesToCrackHeart", "parameters": [ { "name": "Row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "Mistakes", "type": "number" } ] }, { "name": "SetHeartCracked", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "Row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } } ] }, { "name": "SetHeartCrackedLeft", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "Row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } } ] }, { "name": "SetHeartCrackedRight", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "Row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } } ] }, { "name": "SetHeartUnbeatable", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "Row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } } ] }, { "name": "SetHeartPumpkin", "type": "custom_method", "shortDescription": "设置心脏状态", "description": "设置指定轨道的心脏精灵图。", "parameters": [ { "name": "Row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } } ] }, { "name": "ResetHeart", "type": "custom_method", "shortDescription": "重置心脏状态", "description": "在调用以上方法后,调用此方法可以使指定轨道的心脏恢复到默认状态。", "parameters": [ { "name": "Row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } } ] }, { "name": "Rand", "type": "custom_method", "shortDescription": "生成随机数", "description": "生成一个范围在1到Range的随机数。\n例如:i0 = Rand(10)", "parameters": [ { "name": "Range", "type": "number", "numericRange": { "isInteger": true, "min": 0 } } ] }, { "name": "invisibleChars", "type": "variable", "shortDescription": "隐藏角色", "description": "隐藏所有房间所有轨道的角色,保留轨道的其他部分", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "invisibleHeart", "type": "variable", "shortDescription": "隐藏心脏", "description": "隐藏所有房间所有轨道的心脏,保留轨道的其他部分", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "missesToCrackHeart", "type": "variable", "shortDescription": "设置心脏碎裂失误数", "description": "设置使心脏碎裂(出现小鸡)需要的失误数。\n对于自定义血条很有用。", "parameters": [ { "name": "Misses", "type": "number", "numericRange": { "isInteger": true, "min": 0 } } ] }, { "name": "MistakeOrHeal", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "DamageOrHeal", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "MistakeOrHealP1", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "DamageOrHeal", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "MistakeOrHealP2", "type": "custom_method", "shortDescription": "加减失误数", "description": "正数会出现失误的红色晕影和声音音效,并且在统计中加上相应的失误次数,影响最后的评分\n负数会出现击中的蓝色晕影和声音音效,并且在统计中扣除相应的失误次数,影响最后的评分,但是不影响过早与过晚打击的次数\n\n不会影响心脏的视觉效果。", "parameters": [ { "name": "DamageOrHeal", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "MistakeOrHealSilent", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "Weight", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "MistakeOrHealP1Silent", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "Weight", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "MistakeOrHealP2Silent", "type": "custom_method", "shortDescription": "加减失误数(静音版)", "description": "像 MistakeOrHeal 动作一样,但是不发出任何声音\n但是还是有晕影,加上 noHitFlashBorder = true 就不会被人发现 ", "parameters": [ { "name": "Weight", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "Mistake", "type": "custom_method", "shortDescription": "增加失误数", "description": "单纯增加一次失误数。会有失误时的晕影和音效。", "parameters": [] }, { "name": "MistakeSilent", "type": "custom_method", "shortDescription": "增加失误数(静音版)", "description": "像 Mistake 动作一样,但是不发出任何声音\n但是还是有晕影,加上 noHitFlashBorder = true 就不会被人发现 ", "parameters": [] }, { "name": "TweenHitMarginMultiplier", "type": "custom_method", "shortDescription": "判定范围倍率插值", "description": "让判定范围倍率在指定时间内按指定缓速变化到指定的值。\n填 0 似乎没用。\n图中示例为从普通判定(80 ms)变化到 0.1 倍(8 ms),随后变化到 50 倍(4000 ms)", "parameters": [ { "name": "NewMultiplier", "type": "number", "numericRange": { "min": 0 } }, { "name": "DurationBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "SetMistakeWeight", "type": "custom_method", "shortDescription": "设置失误权重", "description": "设置当前轨道的失误权重,默认为1\n\n如果需要让跟自定义方法块同一时间的节拍事件受该方法影响,将 执行时间 设定为 OnPreBar. 同时,如果该方法块处于节拍事件的时间内,你还需要将 排位顺序 设定为 -1,以确保该方法首先生效。", "parameters": [ { "name": "RowID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "Weight", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "mistakeWeight", "type": "variable", "shortDescription": "设置失误权重(所有轨道)", "description": "设置所有轨道的失误权重。\n\n如果需要让跟自定义方法块同一时间的节拍事件受该方法影响,将 执行时间 设定为 OnPreBar. 同时,如果该方法块处于节拍事件的时间内,你还需要将 排位顺序 设定为 -1,以确保该方法首先生效。", "parameters": [ { "name": "Weight", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "SetMistakeWeightInstant", "type": "custom_method", "shortDescription": "设置失误权重(立即)", "description": "设置当前轨道的失误权重,默认为1\n\n与 SetMistakeWeight() 不同,此方法会立即应用到指定轨道。", "parameters": [ { "name": "row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "weight", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "RefreshMistakeWeight", "type": "custom_method", "shortDescription": "刷新失误权重", "description": "刷新所有轨道的失误权重。\n\n也就是说,调用 SetMistakeWeight() 后立即调用本方法,和调用 SetMistakeWeightInstant() 的效果相同", "parameters": [] }, { "name": "noHitStrips", "type": "variable", "shortDescription": "隐藏打击条", "description": "移除按拍时的蓝色条。\n\n\n\n\n\n\n\n\n当然也可以是红色的。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "noHitParticles", "type": "variable", "shortDescription": "隐藏打击粒子", "description": "隐藏按拍时的粒子特效", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "ToggleRowHitFX", "type": "custom_method", "shortDescription": "设置按拍效果", "description": "类似于 noHitParticles,但还让心脏不会变白,不过仍会有跳动效果。", "parameters": [ { "name": "RowID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "Enabled", "type": "boolean" } ] }, { "name": "noHitFlashBorder", "type": "variable", "shortDescription": "隐藏打击边框", "description": "隐藏按拍、错拍时的蓝色/红色边框", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "noPopHitstrips", "type": "variable", "shortDescription": "隐藏空按打击条", "description": "隐藏没有拍子时空按产生的蓝色打击条", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "Hit", "type": "custom_method", "shortDescription": "创建打击边框", "description": "创建一个完美判定时的打击边框。\n\n\n\n\n\n\n\n\n然而并没有图中的粒子特效(", "parameters": [] }, { "name": "shockwave", "type": "comment", "shortDescription": "", "description": "", "parameters": [ { "name": "preset", "type": "enum", "enumType": "shockwavePreset" }, { "name": "Value", "type": "number" } ] }, { "name": "shockwaveSizeMultiplier", "type": "variable", "shortDescription": "设置心爆大小", "description": "注释命令。 将心爆的大小设置为所指定的 Value。\n\n例如:()=>shockwave(size,5)", "parameters": [ { "name": "Size", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "shockwaveDistortionMultiplier", "type": "variable", "shortDescription": "设置心爆失真程度", "description": "注释命令。 将心爆的失真程度设置为所指定的 Value。\n\n例如:()=>shockwave(distortion,50)", "parameters": [ { "name": "Distortion", "type": "number" } ] }, { "name": "shockwaveDurationMultiplier", "type": "variable", "shortDescription": "设置心爆时长", "description": "注释命令。将心爆的时长设置为 Value。\n<1>=0.5s,<2>=1.0s,<3>=1.5s 以此类推,这个时间由设置速度动作决定,而非节拍\n注意一个轨道同时只能有一个激活的心爆\n\n例如:()=>shockwave(duration,5) 会创建一个持续 2.5s 的心爆", "parameters": [ { "name": "Duration", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "trueCameraMove", "type": "comment", "shortDescription": "移动真实摄像头", "description": "移动主题的摄像头, 但和移动房间的摄像头不同。 移动时不会切断画面外的东西, 允许你在保持角色可见的情况下将其移到场外。 它还可以让你在有大型背景的特定主题周围移动。 这些主题包括:列车(昼/夜),地下室, 和医院(昼/夜,包括佩奇的办公室)。\n注意, 其中一些主题在屏幕外盘旋着不可移动的 boss 字样。\n\n此函数不会移动自定义背景,但轨道仍会移动。\n\nX 与 Y 是从默认位置算起的(0,0 = 没有变化),并且以像素为单位,不是百分比。\n\nEase 的枚举内容详见 首页\n\n举例:()=>trueCameraMove(0, 50, 50, 2.5, OutBack)", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "Xpx", "type": "number", "numericRange": { "isInteger": true } }, { "name": "Ypx", "type": "number", "numericRange": { "isInteger": true } }, { "name": "AnimationDuration", "type": "number", "numericRange": { "min": 0 } }, { "name": "Ease", "type": "enum", "enumType": "Ease" } ] }, { "name": "roomPeek", "type": "comment", "shortDescription": "room[int RoomID].set_peekWindowMode(bool Enabled)", "description": "窥探房间", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "Enabled", "type": "boolean" } ] }, { "name": "wavyRowsAmplitude", "type": "comment", "shortDescription": "room[int RoomID].wavyRowsAmplitude = float Amplitude", "description": "设置轨道浮动幅度", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "Amplitude", "type": "number", "numericRange": { "min": 0 } }, { "name": "Duration", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "wobblyLines", "type": "variable", "shortDescription": "设置轨道弹簧效果", "description": "让所有单发轨道在按拍后晃一下。\n对细分拍没用。\n\n已过时,现在可以用“设置单发波形”事件直接设置了。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetHandToP1", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "RightHand", "type": "boolean" } ] }, { "name": "SetHandToP2", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "RightHand", "type": "boolean" } ] }, { "name": "SetHandToIan", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "RightHand", "type": "boolean" } ] }, { "name": "SetHandToPaige", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "RightHand", "type": "boolean" } ] }, { "name": "SetHandToPolitician", "type": "custom_method", "shortDescription": "设置手外观", "description": "特定房间左手或右手更换为 P1,P2,佩奇或者伊恩\n只是视觉变换,CPU 与玩家 P1 还是 P2 状态不变。并且虽然伊恩和佩奇用的按钮不是普通难度,按钮声音不变。\n与\"分配手\"事件不同。", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "RightHand", "type": "boolean" } ] }, { "name": "SetShadowRow", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "MimickerRowID", "type": "number", "numericRange": { "isInteger": true } }, { "name": "MimickedRowID", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "UnsetShadowRow", "type": "custom_method", "shortDescription": "模仿轨道", "description": "SetShadowRow 方法允许你第一个(MimickerRowID)指定的轨道(下称模仿轨道)完全复制第二个(MimickedRowID)指定的轨道(下称被模仿轨道)的所有节拍样式,该方法可以实现如保持某房间页的节拍样式的操作。两行的其他事件可以有限制地独立生效。\n\n作用于模仿轨道的 轨道涂色 事件同样会作用于被模仿轨道,该现象无法通过别的方式解决,因而你需要在被模仿轨道上的同样时间点添加一个轨道涂色事件取消涂色来掩盖。\n\n模仿轨道上的节拍只能在该轨道上演奏,但其失误计数默认为0.5(即模仿轨道 + 被模仿轨道的失误计数合计为1)\n\n模仿轨道与被模仿轨道必须是同一种节奏类型。\n\n将执行时间设置为 OnPreBar 可获得最佳效果\n\n轨道的模仿可以通过设置了相同参数的 UnsetShadowRow 事件取消。但要小心,设定好模仿轨道后过快取消可能会不可预见的影响失误权重。", "parameters": [ { "name": "MimickerRowID", "type": "number", "numericRange": { "isInteger": true } }, { "name": "MimickedRowID", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "smoothShake", "type": "variable", "shortDescription": "改为平滑震动", "description": "把屏幕震动改成平滑版本。\n\n注意:似乎仅当执行时间为OnPreBar时生效。\n震动结束后,房间显示的内容可能会错位。\n已过时,r38更新后统一使用“自定义震动”事件来实现", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "rotateShake", "type": "variable", "shortDescription": "改为旋转震动", "description": "将屏幕震动替换为旋转版本。\n\n震动结束后,房间显示的内容可能会错位。\n已过时,r38更新后统一使用“自定义震动”事件来实现", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetKaleidoscopeColor", "type": "custom_method", "shortDescription": "设置万花筒颜色", "description": "更改所指定房间(RoomID)的万花筒特效中所用的两种颜色\n\n颜色数值大于 1 时,新颜色将会比默认特效更亮,当数值足够大时将会开始泛光(也就是万花筒图形周边会溢出一些光)\n\n默认值为:SetKaleidoscopeColor(0,1,0,0.4,0,0.4,1)", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "R1", "type": "number" }, { "name": "G1", "type": "number" }, { "name": "B1", "type": "number" }, { "name": "R2", "type": "number" }, { "name": "G2", "type": "number" }, { "name": "B2", "type": "number" } ] }, { "name": "SyncKaleidoscopes", "type": "custom_method", "shortDescription": "同步万花筒特效", "description": "让目标房间(TargetRoomID) 的万花筒特效与其他房间(OtherRoomID)的万花筒特效连起来。\n该方法不继承 SetKaleidoscopeColor 方法中设定的颜色。", "parameters": [ { "name": "TargetRoomID", "type": "number", "numericRange": { "isInteger": true } }, { "name": "OtherRoomID", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "SetKaleidoscopeRepeat", "type": "custom_method", "shortDescription": "设置万花筒重复数", "description": "更改万花筒在自身上的重复次数。\n\n(默认值为 1,图为 1024)", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "Repeat", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "SetKaleidoscopeOffset", "type": "custom_method", "shortDescription": "设置万花筒偏移", "description": "更改万花筒的镜像的偏移量。", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "Offset", "type": "number" }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseStr", "type": "string" } ] }, { "name": "SetKaleidoscopeRoll", "type": "custom_method", "shortDescription": "设置万花筒旋转方式", "description": "改变万花筒的镜像的旋转方式。", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "Offset", "type": "number" }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseStr", "type": "string" } ] }, { "name": "SetKaleidoscopeSymmetry", "type": "custom_method", "shortDescription": "设置万花筒对称性", "description": "开关万花筒的对称性。\n默认值为True。", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "Enabled", "type": "boolean" } ] }, { "name": "noOneshotShadows", "type": "variable", "shortDescription": "移除单发拍残影", "description": "移除快于 ~0.83 tick 的单发拍子的残影效果。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "EnableRowReflections", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } } ] }, { "name": "DisableRowReflections", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } } ] }, { "name": "ToggleRowReflectionRoom", "type": "custom_method", "shortDescription": "设置房间轨道倒影", "description": "在指定房间中启用/禁用倒影效果,类似于花园主题中的效果,但适用于任何背景。\n其中,RoomID 为 -1 时代表应用到所有房间。", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "Enabled", "type": "boolean" } ] }, { "name": "ToggleRowReflection", "type": "custom_method", "shortDescription": "设置轨道倒影", "description": "启用/禁用指定轨道的倒影效果,类似于花园主题中的效果,但适用于任何背景。", "parameters": [ { "name": "RowID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "Enabled", "type": "boolean" } ] }, { "name": "rowReflectionsJumping", "type": "variable", "shortDescription": "轨道跳跃倒影", "description": "使倒影效果在移动 y 位置时能与角色分离,以当前的 y 位置为起点。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "disableRowChangeWarningFlashes", "type": "variable", "shortDescription": "禁用轨道切换闪烁", "description": "禁用当某行的操控对象改变(如电脑操控改为玩家操控)时发出的警告式闪烁。\n设置为 false 时恢复闪烁。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "statusSignWidth", "type": "variable", "shortDescription": "设置状态牌宽度", "description": "将状态指示标识的宽度固定在指定的数值上。", "parameters": [ { "name": "Width", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "skippableRankScreen", "type": "variable", "shortDescription": "允许跳过评级页", "description": "设定等级结果页是否可快速跳过\n\n- 如果设定值为 true, 则等级显示与默认情况一致(如果玩家在第一个结束事件后按下空格键,则执行下一个结束事件。时间线上的结束事件也会正常运行。)\n- 如果设定值为 false, 则玩家不可以在等级页按空格跳过。此时需要第四个结束事件才能完成整个关卡。\n- 在右侧的示例图里你可以看到西班牙语的 \"你的等级\" 文字以及击中条幅,这说明玩家已经按下了空格,但是等级页并没有跳出等级字母。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "skipRankText", "type": "variable", "shortDescription": "移除评级文字", "description": "Enabled为True时,将不会展示评级页面,对于自定义评级页面,或者直接跳过评级页面很有用。仍旧需要\"结束关卡\"事件来完成这个关卡。\n仍然会将结果保存至存档文件。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "alternativeMatrix", "type": "variable", "shortDescription": "替换矩阵特效", "description": "生成一个 Muse Dash 联动关卡中出现的粉色矩阵,仅可替换预设特效中的矩阵。\n需要与预设特效事件处于同一小节,且比预设特效事件先执行才可生效", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "ToggleSingleRowReflections", "type": "custom_method", "shortDescription": "开关指定轨道倒影", "description": "开关特定房间内特定轨道的倒影效果。", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "RowID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "Enabled", "type": "boolean" } ] }, { "name": "CurrentSongVol", "type": "custom_method", "shortDescription": "设置当前音乐音量", "description": "让当前播放的音乐在指定的淡出时间(fadeTimeSeconds)里逐步变化到所指定的音量大小(targetVolume)。\n请注意:targetVolume = 1 即为音量 100%,音量设为 0 后该音乐将停止,且不能再次提高音量。", "parameters": [ { "name": "TargetVolume", "type": "number", "numericRange": { "min": 0 } }, { "name": "FadeTimeSeconds", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "PreviousSongVol", "type": "custom_method", "shortDescription": "设置前一音乐音量", "description": "让前一首播放的音乐在指定的淡出时间(fadeTimeSeconds)里逐步变化到所指定的音量大小(targetVolume)。\n请注意:targetVolume = 1 即为音量 100%,音量设为 0 后该音乐将停止,且不能再次提高音量。", "parameters": [ { "name": "TargetVolume", "type": "number", "numericRange": { "min": 0 } }, { "name": "FadeTimeSeconds", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "SongVol", "type": "custom_method", "shortDescription": "设置音乐音量", "description": "让指定文件名的音乐在指定的淡出时间(fadeTimeSeconds)里逐步变化到所指定的音量大小(targetVolume)。\n请注意:targetVolume = 1 即为音量 100%,音量设为 0 后该音乐将停止,且不能再次提高音量。", "parameters": [ { "name": "filename", "type": "string" }, { "name": "targetVolume", "type": "number", "numericRange": { "min": 0 } }, { "name": "fadeTimeSeconds", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "StopEverything", "type": "custom_method", "shortDescription": "全部停止", "description": "停止所有音乐,节拍,音效等,就像boss关失败了一样。\n注意,调用此方法后处于相同时间的事件可能不会正常执行,一个比较简单的解决方案就是把调用这个方法的自定义方法事件往后挪一点。\n例如:在某小节的第 6 拍同时存在一个“设置播放方式”事件和一个调用该方法的“调用自定义方法”事件,设置播放方式事件可以跳转到某个“关卡失败”小节,为了确保该事件正常运行,可以把调用自定义方法事件放到 6.05 拍的位置(除非BPM太高)", "parameters": [] }, { "name": "StopAllBeats", "type": "custom_method", "shortDescription": "停止节拍", "description": "清除所有当前的节拍,同时停止所有声音事件,包括护士语音。", "parameters": [] }, { "name": "StopDialogue", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [] }, { "name": "StopDialogueInstantly", "type": "custom_method", "shortDescription": "停止对话", "description": "关闭所有的对话框。\n调用 StopDialogueInstantly 会跳过对话框的关闭动画。", "parameters": [] }, { "name": "StopSong", "type": "custom_method", "shortDescription": "停止音乐", "description": "类似于\"CurrentSongVol\",但没有音量控制,让当前播放的音乐在指定的淡出时间(fadeTimeSeconds)里逐渐停止。", "parameters": [ { "name": "FadeTimeInSeconds", "type": "number", "numericRange": { "isInteger": true, "min": 0 } } ] }, { "name": "OneSongAtATime", "type": "custom_method", "shortDescription": "限制单一音乐", "description": "Enabled 为 True 时,当另一个\"播放音乐\"事件触发,前一个播放的音乐会停止。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetUpFlashMarginFeedback", "type": "custom_method", "shortDescription": "初始化判定文字", "description": "按拍时自动显示\"完美\"\"太快\"\"太慢\"文字。使用 MarginFlashFeedback 前需先调用本方法。\n注意:对于\"RowType\",似乎任何值都有效,当设置为 0 时,如果你在七拍轨道上完全失误太多次后会显示\"在第七拍按键\"。", "parameters": [ { "name": "RowType", "type": "number", "numericRange": { "isInteger": true } }, { "name": "LengthInBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "FlashScreen", "type": "boolean" } ] }, { "name": "MarginFlashFeedback", "type": "custom_method", "shortDescription": "开关判定文字", "description": "开启/关闭\"SetUpFlashMarginFeedback\"的效果。\"KeepCompleteMiss\"为 True 时,如果彻底错过一个拍子,\"太慢\"和\"在第七拍按键\"文字会留在屏幕上。", "parameters": [ { "name": "Enabled", "type": "boolean" }, { "name": "KeepCompleteMiss", "type": "boolean" } ] }, { "name": "playerDrives7thBeat", "type": "variable", "shortDescription": "玩家自由按拍", "description": "七拍子会停在第六拍的位置,直到玩家按键,就像 3-X 中一样。启用后玩家将不会在七拍上失误。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetClumsyRow", "type": "custom_method", "shortDescription": "设置 CPU 失误", "description": "让指定轨道上 CPU 控制的拍子失误,\n对于 Clumsiness,\n-2 为太快判定的失误效果,-1 为稍快的失误效果\n2 为太慢判定的失误效果,1 为稍慢判定的失误效果\n不影响玩家的失误数。", "parameters": [ { "name": "Row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "Clumsiness", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "activeDialogues", "type": "variable", "shortDescription": "激活对话按键并等待", "description": "触发对话时,需要玩家按键才能进入下一行对话,游戏将在当前小节暂停,并等待对话结束后再进入下一小节,等待时长不足一小节则等待至刚好一小节结束,既对话结束后节拍与音乐仍然同步。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "activeDialoguesImmediately", "type": "variable", "shortDescription": "激活对话按键并立即跳转", "description": "与 \"activeDialogues\" 类似,但在对话结束时(通常在下一个节拍)尽快跳到下一个小节,会导致音乐与节拍不同步。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetDialogueRoom", "type": "custom_method", "shortDescription": "设置对话框房间", "description": "更改对话框的显示位置并将其定位到指定的房间。\n\n注意:更改回 \"顶部\" 几乎不可能。\n对话框不会缩放或旋转,并且永远不会出现在屏幕外。", "parameters": [ { "name": "Room", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } } ] }, { "name": "SetDialogueAnchor", "type": "custom_method", "shortDescription": "设置对话框位置", "description": "就像\"显示对话\"事件中更改对话框在屏幕顶部或底部的位置,但会立即将当前对话框切换到该位置,而无需新事件。\n可以与 SetDialogueRoom 结合使用。\n其中,\n0:底部\n1:顶部", "parameters": [ { "name": "Anchor", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "noBananaBeats", "type": "variable", "shortDescription": "移除香蕉拍", "description": "禁用摇摆拍的倾斜外观。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "TweenRowPulseBend", "type": "custom_method", "shortDescription": "脉冲倾斜插值", "description": "将指定脉冲在指定时间内倾斜到指定方向。", "parameters": [ { "name": "RowID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "Pulse", "type": "number", "numericRange": { "isInteger": true } }, { "name": "BendAmount", "type": "number", "numericRange": { "min": 0 } }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "bombBeats", "type": "variable", "shortDescription": "启用地雷拍", "description": "启用后,当玩家按下特定拍子时将计算为失误,可用于防止玩家乱糊跳过拍。\n使用方法:添加一个七拍轨道,在其上放置一个七拍子,并分割为自由拍,删掉后面的拍子,保留起始拍子(看起来较长的那个拍子),将起始拍子改为第七拍,把这个拍子放在跳过拍按拍的时候,既对齐打叉的黄色标记位置。\n\n注:可以使用手术将上文的地雷拍挪到二拍轨道,这样就不需要单独一条七拍轨道了,并且按下地雷拍时二拍轨道还会出现一个红色的X,就像原版关卡那样。\n用文本编辑器打开你的关卡文件(*.rdlevel),找一找这样的东西:\n{ \"bar\": 1, \"beat\": 5, \"y\": 1, \"type\": \"AddFreeTimeBeat\", \"row\": 0, \"hold\": 0, \"pulse\": 6 },\n其中,\"bar\"是选中事件时左上角现实的小节数,\"beat\"是节拍数,\"row\"代表该事件所属轨道,根据编辑器所示找到这个地雷拍,将row的数值改为对应的二拍轨道(注意轨道编号是0索引的)\n如果你使用的是像是Visual Studio Code这样的代码编辑器,可以将语言模式改为json,可以避免出现语法错误,不过请忽略刚刚打开文件时出现的一大堆\"尾随逗号\"错误。\n\n现版本中,可以启用 高级模式 直接把七拍轨道的节拍拖到二拍轨道。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "GoToLevel", "type": "custom_method", "shortDescription": "跳转关卡", "description": "可以跳转到特定的内部关卡或者本地关卡文件。\n内部关卡名详见 *.rdsave 存档文件。(事实上开启调试模式也能看到内部关卡名,但如果你不知道调试模式是什么,请忽略这句)\n注意:目前,你需要输入完整的文件路径,但跳转内部关卡只需要输入内部关卡名。\n例如:\nGoToLevel(\"OrientalTechno\")\nGoToLevel(\"C:/Users/Ada Paige/Documents/Rhythm Doctor/fizzd - Oriental Techno/main.rdlevel\")\n该方法仅在正常游玩时或者按下 Ctrl+ Shift + R 测试关卡时生效,在编辑器内预览时不生效。", "parameters": [ { "name": "LevelName", "type": "string" } ] }, { "name": "forceNoFrameOffsets", "type": "variable", "shortDescription": "强制禁用容错判据显示", "description": "强制禁用屏幕左上角的容错判据显示,并不会改变玩家设置,并且只在该事件为启用时生效。\n请注意,在非必要情况下,请勿使用该方法。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "IgnoreInput", "type": "custom_method", "shortDescription": "忽略玩家输入", "description": "强制忽略玩家的输入。当你的过场动画没有黑边时很有用。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "ShowHealth", "type": "custom_method", "shortDescription": "显示血条", "description": "在房间一显示 boss 和病人的血条\n注意:除非在支持自定义类的关卡中,血条纯属装饰。", "parameters": [ { "name": "Show", "type": "boolean" }, { "name": "AnimationDurationInBeats", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "ShowVirusBar", "type": "custom_method", "shortDescription": "显示boss血条", "description": "需要调用 ShowHealth,可切换“VIRUS”栏是否显示。\n注意:除非在支持自定义类的关卡中,血条纯属装饰。", "parameters": [ { "name": "Show", "type": "boolean" } ] }, { "name": "SetNextBar", "type": "custom_method", "shortDescription": "设置下一小节", "description": "若调用此事件,播放完当前小节后,将跳到 Bar 小节,使用后节拍与音乐不会像立即跳转那样错位,但是音乐不会随着快进", "parameters": [ { "name": "Bar", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "MoveLyric", "type": "custom_method", "shortDescription": "移动歌词", "description": "将指定 ID 的歌词线性移动到指定位置。\n\n你可以在关卡文件中找到歌词 ID。", "parameters": [ { "name": "LyricID", "type": "number", "numericRange": { "isInteger": true } }, { "name": "XPos", "type": "number" }, { "name": "YPos", "type": "number" } ] }, { "name": "FadeLyric", "type": "custom_method", "shortDescription": "淡出歌词", "description": "让指定 ID 的歌词在消失前淡出到指定透明度。\n你可以在关卡文件中找到歌词 ID。\n\n注意:manualLyricAlpha 为 true 时,歌词最后不会消失", "parameters": [ { "name": "LyricID", "type": "number", "numericRange": { "isInteger": true } }, { "name": "Opacity", "type": "number", "numericRange": { "min": 0 } }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "manualLyricAlpha", "type": "variable", "shortDescription": "手动淡入淡出歌词", "description": "设置是否允许手动淡入淡出歌词,必须搭配 FadeLyric 使用", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetWindowDanceTimeShift", "type": "custom_method", "shortDescription": "窗口动效时移", "description": "将窗口动效事件向前或向后移动。对于创建故障动画非常有用。\n\n节拍的偏移可以为负值或正值。设置为“0”即可恢复默认。\n\n(图示为连续 10 秒的游戏画面)\n\n注意:技术上“intWindow”被标记为“intRoom”,但它似乎确实影响特定窗口。", "parameters": [ { "name": "Window", "type": "number", "numericRange": { "isInteger": true } }, { "name": "ShiftBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "ToggleWindowDanceWrap", "type": "custom_method", "shortDescription": "设置缠绕效果", "description": "设置指定窗口在使用缠绕移动模式时,是否可以在指定轴上缠绕屏幕。\n\n如果 Vertical 为 true,则影响垂直方向的移动;如果为 false,则影响水平方向的移动。\n\n如果 Wrap 为 true,则窗口可以在给定轴上环绕(默认);如果为 false,则窗口将不再环绕。\n\n如果之前禁用了环绕,然后后来启用了,那么窗口的位置将会像从一开始就启用了环绕一样。\n如果之前启用了环绕,然后后来禁用了,那么窗口的位置将会像从一开始就禁用了环绕一样。\n\n注意:技术上“intWindow”被标记为“intRoom”,但它似乎影响的是给定的窗口。", "parameters": [ { "name": "Window", "type": "number", "numericRange": { "isInteger": true } }, { "name": "Vertical", "type": "boolean" }, { "name": "Wrap", "type": "boolean" } ] }, { "name": "windowSize", "type": "comment", "shortDescription": "窗口大小重设", "description": "注释事件版的窗口大小重设,但没有大小限制,\n可以用此来实现全屏窗口\n只能控制窗口 1,且锁定为 linear 缓速和\"无\"缩放模式", "parameters": [ { "name": "SizeX", "type": "number", "numericRange": { "min": 0 } }, { "name": "SizeY", "type": "number", "numericRange": { "min": 0 } }, { "name": "duration", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "ShakeRow", "type": "custom_method", "shortDescription": "震动轨道", "description": "使指定的轨道的角色和心脏震动。", "parameters": [ { "name": "row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "amount", "type": "number", "numericRange": { "isInteger": true, "min": 0 } }, { "name": "duration", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "ShakeSprite", "type": "custom_method", "shortDescription": "震动精灵图", "description": "使指定的精灵图震动。\n其中,spriteID 需要查看 *.rdlevel 文件中\"decorations\"下对应精灵图的\"id\"", "parameters": [ { "name": "spriteID", "type": "string" }, { "name": "amp", "type": "number" }, { "name": "freq", "type": "number", "numericRange": { "isInteger": true } }, { "name": "secs", "type": "number" }, { "name": "fadeout", "type": "boolean" } ] }, { "name": "ShowMarginError", "type": "custom_method", "shortDescription": "显示判定结果", "description": "像 1-1 教程一样,在你按拍时用状态牌显示判定结果。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetRankMargin", "type": "custom_method", "shortDescription": "设置评级失误数", "description": "设置指定评级的最大失误数。", "parameters": [ { "name": "rank", "type": "string" }, { "name": "margin", "type": "number", "numericRange": { "isInteger": true, "min": 0 } } ] }, { "name": "InfectHeart", "type": "custom_method", "shortDescription": "感染心脏", "description": "使指定轨道的心脏变为网好卡菌感染样式。\n\n可以搭配 sndBossVirusDie 音效使用。", "parameters": [ { "name": "row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "instant", "type": "boolean" } ] }, { "name": "UpdateAllHearts", "type": "custom_method", "shortDescription": "更新心脏", "description": "视觉上更新每条轨道的心脏以匹配失误数。", "parameters": [] }, { "name": "CrackAllHearts", "type": "custom_method", "shortDescription": "碎裂心脏", "description": "使所有轨道的心脏碎裂。", "parameters": [] }, { "name": "SetRowLength", "type": "custom_method", "shortDescription": "设置轨道长度", "description": "设置指定轨道的长度。最大值为 7,最小值为 1。\n推荐搭配 sndRowShrink 音效。", "parameters": [ { "name": "Row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "Length", "type": "number", "numericRange": { "isInteger": true, "min": 0 } } ] }, { "name": "TweenFloat", "type": "custom_method", "shortDescription": "浮点插值", "description": "平滑地将给定浮点数的值在指定的节拍数内从当前值过渡到指定值,并使用给定的缓动方式。\n如果 FloatID 不在 [0, 9] 范围内,方法调用将被忽略。\n\n例如,假设 f1 目前为 3,在第 4 拍运行 TweenFloat(1, 5, 2, \"Linear\"),则:\n- 第 4 拍时,f1 为 3 并开始更新\n- 第 5 拍时,f1 为 4\n- 第 6 拍时,f1 为 5 并停止更新。", "parameters": [ { "name": "FloatID", "type": "number", "numericRange": { "isInteger": true } }, { "name": "NewValue", "type": "number" }, { "name": "Beats", "type": "number", "numericRange": { "min": 0 } }, { "name": "Ease", "type": "string" } ] }, { "name": "ShowSpotlight", "type": "custom_method", "shortDescription": "显示聚光灯", "description": "在指定轨道的角色的位置和房间显示关卡失败和选择关卡时的聚光灯,可选播放音效。\n只能同时出现一个聚光灯,多次调用会覆盖上一次的结果。", "parameters": [ { "name": "Row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "PlayAudio", "type": "boolean" } ] }, { "name": "ExpandSpotlight", "type": "custom_method", "shortDescription": "拓宽聚光灯", "description": "将聚光灯扩大,直到在指定的节拍数量内填满整个屏幕。如果聚光灯当前未激活,则不会执行任何操作。", "parameters": [ { "name": "Beats", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "HideSpotlight", "type": "custom_method", "shortDescription": "隐藏聚光灯", "description": "立即隐藏聚光灯,如果聚光灯当前未激活,则不会执行任何操作。", "parameters": [] }, { "name": "SetRowLengthTimed", "type": "custom_method", "shortDescription": "设置轨道长度", "description": "和 SetRowLength 一样,但可以自定义执行时间", "parameters": [ { "name": "RowID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "RowLength", "type": "number", "numericRange": { "isInteger": true, "min": 0 } }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "TweenOneshotPositionOverride", "type": "custom_method", "shortDescription": "单发拍脉冲范围插值", "description": "设置指定轨道单发拍脉冲出现位置的范围。\n\noverridePosition 为介于轨道最左端与轨道黄色部分最左端之间的插值比例。\n\n需要搭配 TweenOneshotPositionOverrideLerp() 才能正常使用。\n\n感谢 @Sterix_Craft砹氪硒 制作的示例图片。", "parameters": [ { "name": "row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "overridePosition", "type": "number" }, { "name": "durationBeats", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "TweenOneshotPositionOverrideLerp", "type": "custom_method", "shortDescription": "单发拍脉冲位置插值", "description": "把指定轨道上的单发拍脉冲移动到你想要的位置。可用于制作类似 X-PBC 中的二拍滑步效果\n\noverridePosition 是一个插值比例(0~1),介于默认位置与 TweenOneshotPositionOverride() 所设定的位置之间。\n\n特别地,对于冰冻拍:\n当脉冲被冻结时(显示为蓝线),默认冻结位置大约是 0.7。\n此时,overridePosition 表示在“这个默认冻结位置(0.7)”与 TweenOneshotPositionOverride() 设定的位置之间的插值比例。\n\n示例:\n假设 TweenOneshotPositionOverride() 设定的位置是 0.2,冻结时设置 overridePosition = 0.5,那么实际位置 = 0.2 + 0.5 × (0.7 − 0.2) = 0.45\n\n为了方便操作,你可以在脉冲冻结时,直接用 TweenOneshotPositionOverride() 将范围设为 0。\n\n当 overridePosition = 0 时,位置会重置到默认位置。\n如果需要重复实现移动效果,每次脉冲出现时都要重新重置位置。", "parameters": [ { "name": "row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } }, { "name": "overridePosition", "type": "number" }, { "name": "durationBeats", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "SpaceStars", "type": "custom_method", "shortDescription": "设置太空主题星星", "description": "开启/关闭太空主题中的星星。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "ForceHeldBeatRelease", "type": "custom_method", "shortDescription": "强制松开长按", "description": "强制松开指定轨道的长按拍,无论玩家是否按住长按拍,像 7-X2 那样。\n会增加失误数。", "parameters": [ { "name": "Row", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } } ] }, { "name": "SetBaseballTrajectory", "type": "custom_method", "shortDescription": "设置棒球轨迹", "description": "改变棒球的前进方向。\n\nTrajectoryString 的枚举列表:\nField - 默认方向\nScreen - 飞向屏幕\nFoul - 角度变陡", "parameters": [ { "name": "preset", "type": "enum", "enumType": "SetBaseballTrajectoryPreset" } ] }, { "name": "SetBaseballAngleRange", "type": "custom_method", "shortDescription": "设置棒球角度", "description": "改变按拍时棒球飞翔的角度范围。", "parameters": [ { "name": "minAngle", "type": "number" }, { "name": "maxAngle", "type": "number" } ] }, { "name": "CustomBaseball", "type": "custom_method", "shortDescription": "自定义棒球", "description": "顾名思义,创建一个自定义棒球运动。", "parameters": [ { "name": "startX", "type": "number" }, { "name": "startY", "type": "number" }, { "name": "startZ", "type": "number" }, { "name": "endX", "type": "number" }, { "name": "endY", "type": "number" }, { "name": "endZ", "type": "number" }, { "name": "height", "type": "number", "numericRange": { "min": 0 } }, { "name": "rotation", "type": "number" }, { "name": "alpha", "type": "number" }, { "name": "duration", "type": "number", "numericRange": { "min": 0 } }, { "name": "Ease", "type": "enum", "enumType": "Ease" } ] }, { "name": "SetRain", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "baseballsPerSecond", "type": "number" } ] }, { "name": "KillRain", "type": "custom_method", "shortDescription": "棒球雨", "description": "使棒球从天空中落下。\n使用 SetRain(0) 或 KillRain() 可以清除棒球。", "parameters": [] }, { "name": "ToggleScoreboardLights", "type": "custom_method", "shortDescription": "开关记分板", "description": "开启/关闭整个计分板。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetScoreboardLights", "type": "custom_method", "shortDescription": "设置计分板灯光", "description": "设置计分板显示的文字。\n注意:有些字符不会显示,而且使用\"LuckyBreak\"自定义类会计算按拍数,但使用此方法会使计数暂时消失,直到下次按拍。\n一些实用字符:║RLJ7^_1|(制表符║会使输入框内容不显示)", "parameters": [ { "name": "IsTop", "type": "boolean" }, { "name": "Text", "type": "string" }, { "name": "StartIndex", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "SetScoreboardLightsGentle", "type": "custom_method", "shortDescription": "覆写计分板灯光", "description": "如上文\"SetScoreboardLights\",但并不会刷新整个计分板行来显示文本,仅仅是覆盖原来的内容,不会覆盖按拍计数。", "parameters": [ { "name": "IsTop", "type": "boolean" }, { "name": "Text", "type": "string" }, { "name": "StartIndex", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "ClearScoreboardLights", "type": "custom_method", "shortDescription": "清空计分板指定行", "description": "清空计分板选定行的内容。", "parameters": [ { "name": "IsTop", "type": "boolean" } ] }, { "name": "ClearAllScoreboardLights", "type": "custom_method", "shortDescription": "清空计分板", "description": "清空计分板上的全部内容。", "parameters": [] }, { "name": "SetTrackingScore", "type": "custom_method", "shortDescription": "开关计数显示", "description": "开关计分板上的分数显示。\n目前没用。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetGlitchyLights", "type": "custom_method", "shortDescription": "开关记分板乱码", "description": "让计分板像 5-1 一样乱码。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "AdvanceScoreboardInning", "type": "custom_method", "shortDescription": "更新计分板显示", "description": "需要开启双人模式。改变\"Home\"和\"Guest\"栏的显示。调用此事件时,两个玩家中按拍较多的的一位\"RUN\"栏+1,左侧对应位置显示为 1,否则为 0,调用此事件将归零按拍计数。", "parameters": [] }, { "name": "DoLightning", "type": "custom_method", "shortDescription": "打雷", "description": "在天空中创建闪电效果,\"ShowTeam\"为 true 时也会显示路吉的球队……而他们在看着你👀", "parameters": [ { "name": "ShowTeam", "type": "boolean" } ] }, { "name": "SetTeamStare", "type": "custom_method", "shortDescription": "显示棒球队", "description": "需要棒球场主题并设置为\"风暴来临\"。\n让棒球队盯着你👀", "parameters": [] }, { "name": "ShowPreStorm", "type": "custom_method", "shortDescription": "显示风暴来临前的球场", "description": "把球场的天空变为与\"风暴来临\"略微不同的天空。", "parameters": [] }, { "name": "SetStorm", "type": "custom_method", "shortDescription": "显示风暴", "description": "把天空改成\"风暴来临\",最好把 Animate 设置为 true 并在此之前调用 ShowPreStorm()。", "parameters": [ { "name": "Storm", "type": "boolean" }, { "name": "Animate", "type": "boolean" } ] }, { "name": "ShowEdega", "type": "custom_method", "shortDescription": "显示埃德加", "description": "显示理疗病房背景中的埃德加。\n需要将房间三的主题设置为理疗病房。", "parameters": [ { "name": "Show", "type": "boolean" } ] }, { "name": "ToggleBubbles", "type": "custom_method", "shortDescription": "启用泡泡遮罩", "description": "启用房间 1 的泡泡遮罩效果,可以通过 MoveBubblesToRoom 移动到其他房间", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "FlipBubbles", "type": "custom_method", "shortDescription": "翻转泡泡遮罩", "description": "上下翻转泡泡遮罩效果。\n注意:如果泡泡遮罩没有在默认位置,翻转后会导致泡泡遮罩位于当前房间下面,需要移动来移回来", "parameters": [ { "name": "Flipped", "type": "boolean" } ] }, { "name": "MoveBubbles", "type": "custom_method", "shortDescription": "移动泡泡遮罩", "description": "将泡泡遮罩移动到指定位置。\n图中示例为 MoveBubbles(0, 0, \"Linear\")\n注意:如果通过 FlipBubbles() 翻转了泡泡遮罩效果,移动的位置需要改变,该位置需要大约140的数值才能重新进入画面。", "parameters": [ { "name": "YPosition", "type": "number" }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "MoveBubblesToRoom", "type": "custom_method", "shortDescription": "移动泡泡遮罩到房间", "description": "将泡泡遮罩移动到指定房间。", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } } ] }, { "name": "MoveBubbleShape", "type": "custom_method", "shortDescription": "移动气泡遮罩", "description": "把房间 4 的气泡遮罩移动到指定位置,必须在调用 ScaleBubbleShape 前使用才能显示效果。\n默认中心位置为\nMoveBubbleShape(0, 50, 50, 0, \"Linear\")", "parameters": [ { "name": "ShapeID", "type": "number", "numericRange": { "isInteger": true } }, { "name": "XPos", "type": "number" }, { "name": "YPos", "type": "number" }, { "name": "DurationInSeconds", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "ScaleBubbleShape", "type": "custom_method", "shortDescription": "缩放气泡遮罩", "description": "将指定 ShapeID 的气泡遮罩缩放到指定大小,\n需要事先调用 MoveBubbleShape 才能正常显示。\n图中为缩放 ShapeID 1 的效果。", "parameters": [ { "name": "ShapeID", "type": "number", "numericRange": { "isInteger": true } }, { "name": "XScale", "type": "number" }, { "name": "YScale", "type": "number" }, { "name": "DurationInSeconds", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "PauseBubbleMask", "type": "custom_method", "shortDescription": "冻结气泡遮罩", "description": "调用时冻结房间 4 的所有气泡遮罩。", "parameters": [] }, { "name": "RunBubbleMask", "type": "custom_method", "shortDescription": "恢复气泡遮罩", "description": "让房间 4 的气泡遮罩从冻结效果中恢复回来。", "parameters": [] }, { "name": "DisableBubbleMask", "type": "custom_method", "shortDescription": "禁用气泡遮罩", "description": "立即隐藏房间 4 中的所有气泡遮罩。", "parameters": [] }, { "name": "EnableBubbleMask", "type": "custom_method", "shortDescription": "启用气泡遮罩", "description": "平滑地展开房间 4 的气泡遮罩。这些遮罩仍保持原来的位置与大小。", "parameters": [] }, { "name": "TogglePhone", "type": "custom_method", "shortDescription": "设置手机", "description": "显示科尔在房间 3 拿着他的手机。默认情况下会出现在房间下方的屏幕之外,屏幕上显示房间 1,并且手出现在屏幕上。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "ToggleStreamUI", "type": "custom_method", "shortDescription": "设置直播UI", "description": "开启/关闭手机屏幕上油管风格的UI。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "ShowOrHideStreamUI", "type": "custom_method", "shortDescription": "显示直播UI", "description": "淡入/淡出手机屏幕上油管风格的UI。", "parameters": [ { "name": "Enabled", "type": "boolean" }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "ToggleStream", "type": "custom_method", "shortDescription": "设置直播", "description": "开启/关闭房间 1 的直播,如果关闭,手机屏幕会显示妮可。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "MoveStream", "type": "custom_method", "shortDescription": "移动直播", "description": "将房间 1 的直播移动到手机上的指定位置。", "parameters": [ { "name": "YPos", "type": "number" }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "MovePhone", "type": "custom_method", "shortDescription": "移动手机", "description": "将手机移动到指定位置。", "parameters": [ { "name": "XPos", "type": "number" }, { "name": "YPos", "type": "number" }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "MoveHand", "type": "custom_method", "shortDescription": "移动手", "description": "将科尔的手移动到指定位置。", "parameters": [ { "name": "YPos", "type": "number" }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "ToggleHandPress", "type": "custom_method", "shortDescription": "设置手点击", "description": "让科尔的手点击屏幕。", "parameters": [ { "name": "Pressing", "type": "boolean" }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "ToggleBaseball", "type": "custom_method", "shortDescription": "设置棒球", "description": "显示房间 3 角落中具有音频相应效果的棒球。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "ToggleFallingBaseballs", "type": "custom_method", "shortDescription": "设置棒球坠落", "description": "创建棒球坠落效果。\n注意:调用此事件前需要先调用 ToggleBaseball,不然中间会显示漂浮之心主题中的心脏。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetFallingBaseballsSpeed", "type": "custom_method", "shortDescription": "设置棒球坠落速度", "description": "改变 ToogleFallingBaseballs 中棒球坠落的速度,默认值为100。", "parameters": [ { "name": "Speed", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "FadePhysioLights", "type": "custom_method", "shortDescription": "淡入淡出理疗病房灯光", "description": "将理疗病房的灯光淡入淡出到指定透明度。\n最低为 0。", "parameters": [ { "name": "Opacity", "type": "number", "numericRange": { "min": 0 } }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "FadePhysioFG", "type": "custom_method", "shortDescription": "淡入淡出理疗病房前景", "description": "将理疗病房的前景淡入淡出到指定透明度。", "parameters": [ { "name": "Opacity", "type": "number", "numericRange": { "min": 0 } }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "StartWardScroll", "type": "custom_method", "shortDescription": "滚动医院走廊", "description": "无缝地滚动医院走廊背景。", "parameters": [ { "name": "Speed", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "StopWardScroll", "type": "custom_method", "shortDescription": "停止走廊滚动", "description": "停止走廊滚动,并停留在当前位置。", "parameters": [] }, { "name": "SetTransferTargetForRow", "type": "custom_method", "shortDescription": "转移轨道表情", "description": "将指定轨道的按拍或失误时播放的表情转移到目标轨道上。\n可能需要提前一拍调用。", "parameters": [ { "name": "SourceRowID", "type": "number", "numericRange": { "isInteger": true } }, { "name": "DestinationRowID", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "PasteCurrentFrame", "type": "custom_method", "shortDescription": "粘贴当前帧", "description": "把当前房间 3 的内容粘贴到房间 4。\n为了制作 5-2 中的效果,需要使用移动房间事件和房间重排序,并将这两个房间设为透明背景。", "parameters": [] }, { "name": "ToggleAfterimages", "type": "custom_method", "shortDescription": "设置残影效果", "description": "开启/关闭自动创建残影效果。\n不影响 PasteCurrentFrame。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetAfterimageParams", "type": "custom_method", "shortDescription": "配置残影效果", "description": "设置残影效果的参数\n\ninterval:自动粘贴残影的时间间隔(以秒为单位)\n\nFadeTime:残影的消退时间(以秒为单位)\n\nColor:应用于残影的色调(十六进制)。包括用于部分色调的 alpha 通道。\n\nSize:逐渐应用于每个残影的缩放因数以增大或缩小(默认值为 1)", "parameters": [ { "name": "Interval", "type": "number", "numericRange": { "min": 0 } }, { "name": "FadeTime", "type": "number", "numericRange": { "min": 0 } }, { "name": "Color", "type": "string" }, { "name": "Size", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "SpaceSetup", "type": "custom_method", "shortDescription": "初始化太空场景", "description": "给太空主题的摄像头换个角度,更靠近星球。\n注意:调用此方法后再设置主题只会显示星星,而不是主题的其他部分。可以再次调用该方法来解决问题。", "parameters": [] }, { "name": "AddGlowRow", "type": "custom_method", "shortDescription": "添加轨道闪烁", "description": "让指定轨道随着音乐闪烁。\n可以用\"RemoveGlowRow\"方法停止,只会停止轨道随着音乐闪烁,需要用轨道涂色事件来重置外部的颜色,然而内部涂色需要 TweenOverrideAlpha 才能重置。", "parameters": [ { "name": "RowID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 15 } } ] }, { "name": "SetManualGlow", "type": "custom_method", "shortDescription": "设置闪烁颜色", "description": "改变轨道闪烁的颜色。", "parameters": [ { "name": "R", "type": "number" }, { "name": "G", "type": "number" }, { "name": "B", "type": "number" } ] }, { "name": "TweenOverrideAlpha", "type": "custom_method", "shortDescription": "设置闪烁透明度", "description": "改变闪烁的透明度。", "parameters": [ { "name": "Alpha", "type": "number" }, { "name": "Duration", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "VRankHacky", "type": "custom_method", "shortDescription": "修改评级字母", "description": "把评级字母换成V,覆盖原来文本的颜色,需要与第二个结束关卡事件同时执行,不然会出现的稍早一些,而且原来的评级字母会叠在底下。\n最好加上 atLeastRank(S+) 条件。", "parameters": [] }, { "name": "ShowBossText", "type": "custom_method", "shortDescription": "显示Boss文本", "description": "在指定房间的指定位置显示\"boss stage\"文本。", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "XPosition", "type": "number" }, { "name": "YPosition", "type": "number" } ] }, { "name": "SetLevelFailed", "type": "custom_method", "shortDescription": "设置关卡失败", "description": "让关卡被标记为失败并切换到关卡结束评级界面。", "parameters": [] }, { "name": "StareAtPlayer", "type": "custom_method", "shortDescription": "注视玩家", "description": "让房间 3 和房间 4 的眼睛注视玩家的手。\n\n注意:截图中是房间 3 和房间 4 一起展示", "parameters": [ { "name": "Player2", "type": "boolean" } ] }, { "name": "StareAtMark", "type": "custom_method", "shortDescription": "注视马克", "description": "让房间 3 和房间 4 的眼睛注视 1 号轨道的角色。\n\n注意:截图中是房间 3 和房间 4 一起展示", "parameters": [] }, { "name": "EyesBlink", "type": "custom_method", "shortDescription": "眨眼", "description": "让房间 3 的大眼睛眨一下,每调用一次该方法只会眨一次眼\n\n填 0 即不眨眼,填 1 为所有眼睛都眨眼,", "parameters": [ { "name": "PercentageOfEyes", "type": "number" } ] }, { "name": "EyeScroll", "type": "custom_method", "shortDescription": "眼睛滚动", "description": "让房间3和房间4的眼睛滚动。\n\n图中示例:EyeScroll(50, 2, \"Linear\")\n\n注意:这里隐藏了房间4,实际上房间4的眼睛也在一起滚动。", "parameters": [ { "name": "Amount", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseDuration", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "EyeAngle", "type": "custom_method", "shortDescription": "设置眼睛滚动角度", "description": "设置EyeScroll中眼睛滚动的角度。\n\n图中示例: EyeAngle(1000, 100, \"Linear\")\n\n注意:这里隐藏了房间4,实际上房间4的眼睛也在一起滚动。", "parameters": [ { "name": "Angle", "type": "number" }, { "name": "EaseDuration", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "EyesClose", "type": "custom_method", "shortDescription": "闭眼", "description": "让指定数量的眼睛闭上,对房间 4 的小眼睛没用。\n\n1 为全部闭眼,填 0 没用。", "parameters": [ { "name": "Amount", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "EyesToggle", "type": "custom_method", "shortDescription": "设置大眼睛", "description": "随机开关房间内指定数量的眼睛。\n\n1 表示所有眼睛都会被切换,0 表示没有眼睛被切换。\n\n不影响房间 4 的小眼睛。", "parameters": [ { "name": "Amount", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "EyesToggleSmall", "type": "custom_method", "shortDescription": "设置小眼睛", "description": "切换房间 4 中的小眼睛的开启和关闭。", "parameters": [ { "name": "Open", "type": "boolean" } ] }, { "name": "SetVerticalShiftSpeed", "type": "custom_method", "shortDescription": "设置眼睛垂直滚动速度", "description": "使两个房间的眼睛以棋盘格模式移动。\n\n注意:需要先至少调用一次 StareAtMark()\n图中是房间 3 和 4 同时显示的情况。", "parameters": [ { "name": "Speed", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "MoveArmX", "type": "custom_method", "shortDescription": "移动手X", "description": "移动指定的手的 X 坐标。", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "LeftArm", "type": "boolean" }, { "name": "XPos", "type": "number" }, { "name": "Duration", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "MoveArmY", "type": "custom_method", "shortDescription": "移动手Y", "description": "移动指定的手的 Y 坐标。", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "LeftArm", "type": "boolean" }, { "name": "YPos", "type": "number" }, { "name": "Duration", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "SetArmZ", "type": "custom_method", "shortDescription": "移动手Z", "description": "移动指定的手的 Z 坐标。", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "LeftArm", "type": "boolean" }, { "name": "ZPos", "type": "number" } ] }, { "name": "MoveButtonX", "type": "custom_method", "shortDescription": "", "description": "", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "LeftArm", "type": "boolean" }, { "name": "XPos", "type": "number" }, { "name": "Duration", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "MoveButtonY", "type": "custom_method", "shortDescription": "移动按钮", "description": "跟 SetArmX/Y 一样,但是移动的是按钮。", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "LeftArm", "type": "boolean" }, { "name": "YPos", "type": "number" }, { "name": "Duration", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "ToggleNervous", "type": "custom_method", "shortDescription": "设置鸡爪佩奇的手", "description": "把佩奇的手设置成不同的精灵图。\n需要先使用分配手事件。", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "LeftArm", "type": "boolean" }, { "name": "Enabled", "type": "boolean" } ] }, { "name": "PlayArmAnim", "type": "custom_method", "shortDescription": "播放手动画", "description": "让指定的手播放指定的动画。\n需要预先使用手分配事件。\n埃德加的手:\npointing, reach, grab, struggle, ungrab, return\n\n佩奇的手:\nstruggle, ungrabbed, scared, ready", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "LeftArm", "type": "boolean" }, { "name": "Animation", "type": "string" } ] }, { "name": "FlipDialog", "type": "custom_method", "shortDescription": "翻转对话", "description": "和把角色放在右侧的对话一样,但是可以影响当前对话,", "parameters": [ { "name": "Flipped", "type": "boolean" } ] }, { "name": "ShowButton", "type": "custom_method", "shortDescription": "显示按钮", "description": "设置指定手的按钮是否显示。", "parameters": [ { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } }, { "name": "LeftArm", "type": "boolean" }, { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetSkySpeed", "type": "custom_method", "shortDescription": "设置天空滚动速度", "description": "设置天际线主题的滚动速度", "parameters": [ { "name": "Speed", "type": "number", "numericRange": { "min": 0 } }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "ToggleGreySky", "type": "custom_method", "shortDescription": "设置灰色天空", "description": "让天际线主题变灰", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "ToggleSecondSky", "type": "custom_method", "shortDescription": "添加城市剪影", "description": "在屏幕顶部加一个反向滚动的城市剪影", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetNightMode", "type": "custom_method", "shortDescription": "设为夜晚模式", "description": "将医院走廊主题设置为夜晚变种", "parameters": [] }, { "name": "SetWardMode", "type": "custom_method", "shortDescription": "设置病房昼夜", "description": "设置科尔病房的昼夜", "parameters": [ { "name": "NightMode", "type": "boolean" } ] }, { "name": "ToggleLights", "type": "custom_method", "shortDescription": "设置灯光亮度", "description": "设置科尔病房顶部灯光的亮度", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "ToggleHoodieBoyWardObjects", "type": "custom_method", "shortDescription": "开关科尔病房显示", "description": "开关科尔病房主题的所有东西,除了 ToogleLights 设置的灯光", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "MoveWindow", "type": "custom_method", "shortDescription": "移动窗口", "description": "把科尔的文件管理器窗口移动到指定位置", "parameters": [ { "name": "TargetX", "type": "number" }, { "name": "TargetY", "type": "number" }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "ScrollWindow", "type": "custom_method", "shortDescription": "滚动窗口", "description": "上下滚动文件管理器窗口的内容。\n注意:0 为底部,1 为顶部", "parameters": [ { "name": "TargetPos", "type": "number" }, { "name": "DurationInBeats", "type": "number", "numericRange": { "min": 0 } }, { "name": "EaseEnum", "type": "string" } ] }, { "name": "RemoveFiles", "type": "custom_method", "shortDescription": "移除文件", "description": "移除文件管理器窗口中指定数量的文件。", "parameters": [ { "name": "FilesToRemove", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "ToggleAlert", "type": "custom_method", "shortDescription": "显示警告窗口", "description": "显示警告窗口,最多可以同时显示两个", "parameters": [ { "name": "Box", "type": "number", "numericRange": { "isInteger": true } }, { "name": "Enabled", "type": "boolean" } ] }, { "name": "PlaceAlertInRoom", "type": "custom_method", "shortDescription": "警告窗口重排序", "description": "将指定的警告窗口移动到指定房间。", "parameters": [ { "name": "Box", "type": "number", "numericRange": { "isInteger": true } }, { "name": "RoomID", "type": "number", "numericRange": { "isInteger": true, "min": 0, "max": 4 } } ] }, { "name": "SetAlertBox", "type": "custom_method", "shortDescription": "设置警告窗口", "description": "改变指定警告窗口的图标。", "parameters": [ { "name": "Box", "type": "number", "numericRange": { "isInteger": true } }, { "name": "Type", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "SetAlertButtons", "type": "custom_method", "shortDescription": "设置警告窗口按钮", "description": "设置指定警告窗口的按钮是否被按下。\n对于 Mode,0 代表未按下,1 代表按下。\n对于 Type,0 代表右侧图片中的图标,1 代表上面那张图片的图标。", "parameters": [ { "name": "Box", "type": "number", "numericRange": { "isInteger": true } }, { "name": "Mode", "type": "number", "numericRange": { "isInteger": true } }, { "name": "Type", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "SetAlertWidth", "type": "custom_method", "shortDescription": "设置警告窗口宽度", "description": "改变指定的警告窗口的宽度。", "parameters": [ { "name": "Box", "type": "number", "numericRange": { "isInteger": true } }, { "name": "Width", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "ToggleSwarm", "type": "custom_method", "shortDescription": "开启/关闭图标群", "description": "开启或关闭图标群。默认生成在房间1的底部。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "SetSwarmPos", "type": "custom_method", "shortDescription": "移动图标群", "description": "改变图标群的坐标。\n图中示例: SetSwarmPos(90,10)", "parameters": [ { "name": "UpperYPos", "type": "number" }, { "name": "LowerYPos", "type": "number" } ] }, { "name": "DropSwarm", "type": "custom_method", "shortDescription": "坠落图标群", "description": "让图标群向下坠落", "parameters": [ { "name": "FinalSpeed", "type": "number", "numericRange": { "min": 0 } }, { "name": "Duration", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "ToggleIconRain", "type": "custom_method", "shortDescription": "设置图标雨", "description": "开启/关闭图标雨。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "DeactivateIconRain", "type": "custom_method", "shortDescription": "禁用图标雨", "description": "立即使所有图标雨中的图标向下掉落,并停止生成新的图标。", "parameters": [] }, { "name": "ToggleIconSpiral", "type": "custom_method", "shortDescription": "设置螺旋图标", "description": "开启/关闭房间3中的螺旋图标,像 7 - X2 中那样。", "parameters": [ { "name": "Enabled", "type": "boolean" } ] }, { "name": "MoveSamuraiVaseToBackground", "type": "custom_method", "shortDescription": "隐藏武士病房主题花瓶", "description": "隐藏武士病房主题中的花瓶。\n实际上是移到了背景后面。", "parameters": [] }, { "name": "autoplay", "type": "condition", "shortDescription": "只读变量,检查玩家是否开启自动播放。", "description": "", "parameters": [] }, { "name": "atLeastRank", "type": "condition", "shortDescription": "检查当前评价等级是否大于等于给定的等级,忽略+-号,但是S+除外。", "description": "", "parameters": [ { "name": "Rank", "type": "string" } ] }, { "name": "atLeastNPerfects", "type": "condition", "shortDescription": "检查最近 HitsToCheck 个拍子是否为完美判定,如果大于等于 NumberOfPerfects,则判定为 true。\n例如,可以使用 atLeastNPerfects(8, 6) 检查最近八次按拍的完美数是否大于等于6.", "description": "", "parameters": [ { "name": "HitsToCheck", "type": "number", "numericRange": { "isInteger": true, "min": 0 } }, { "name": "NumberOfPerfects", "type": "number", "numericRange": { "isInteger": true, "min": 0 } } ] }, { "name": "arePlayerInputsSwapped", "type": "condition", "shortDescription": "双人模式下生效。\n检查玩家是否交换手位置。", "description": "", "parameters": [] }, { "name": "levelSpeed", "type": "condition", "shortDescription": "只读变量,检查玩家是否加速/减速关卡。\n加速的 Speed 为 1.5,减速的 Speed 为 0.75。", "description": "", "parameters": [] }, { "name": "numMistakes", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "numMistakesP1", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "numMistakesP2", "type": "condition", "shortDescription": "只读变量,记录玩家的失误数\n另外,即使在单人模式下,玩家二的失误数也会计入总失误数,请谨慎使用。", "description": "", "parameters": [] }, { "name": "isZeroOffset", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "isJCI", "type": "condition", "shortDescription": "检查玩家是不是大佬\n等价于 totalOffset == 0 && numMistakes == 0 && autoplay == false\n即总偏移帧为 0 且失误数为 0 且未启用自动播放\n也就是说,任意一个条件未满足都会返回 false。", "description": "", "parameters": [] }, { "name": "hitmarginMultiplier", "type": "condition", "shortDescription": "浮点可写变量,将关卡的失误评级数乘以该变量。\n默认为 1。", "description": "", "parameters": [] }, { "name": "subdivisionMissWeight", "type": "condition", "shortDescription": "浮点可写变量,设置细分拍子的失误权重。\n默认为 0。", "description": "", "parameters": [] }, { "name": "crotchets", "type": "condition", "shortDescription": "整型只读变量,当前每小节节拍数。", "description": "", "parameters": [] }, { "name": "barNumber", "type": "condition", "shortDescription": "整型只读变量,当前小节数。", "description": "", "parameters": [] }, { "name": "beatNumber", "type": "condition", "shortDescription": "整型只读变量,当前节拍数,向下取整。", "description": "", "parameters": [] }, { "name": "beatNumberFloat", "type": "condition", "shortDescription": "浮点只读变量,当前节拍数。", "description": "", "parameters": [] }, { "name": "editorVersion", "type": "condition", "shortDescription": "整型只读变量,当前编辑器的版本。", "description": "", "parameters": [] }, { "name": "inEditor", "type": "condition", "shortDescription": "布尔只读变量,检查关卡是否在编辑器内播放。", "description": "", "parameters": [] }, { "name": "platform", "type": "condition", "shortDescription": "检查游戏是否在指定系统上运行。\n目前仅支持Mac和Windows,如果要检测Linux系统,则需要添加两个条件并且全部设为假(红色框)", "description": "玩家变量", "parameters": [] }, { "name": "buttonPressCount", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "lateOffset", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "lateOffsetP1", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "lateOffsetP2", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "earlyOffset", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "earlyOffsetP1", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "earlyOffsetP2", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "totalOffset", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "totalOffsetP1", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "totalOffsetP2", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "lastOffsetP1", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "lastOffsetP2", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "hitMarginP1", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "hitMarginP2", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "detailedLevelResults", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "bpm", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "numEarlyHits", "type": "condition", "shortDescription": "numLateHits ", "description": "numPerfectHits ", "parameters": [] }, { "name": "numMisses", "type": "condition", "shortDescription": "numMistakes ", "description": "", "parameters": [] }, { "name": "XPress", "type": "condition", "shortDescription": "", "description": "", "parameters": [] }, { "name": "XRelease", "type": "condition", "shortDescription": "XIsPressed ", "description": "特别地,上表中后三行变量名中的X特指按键名,使用时将X替换为对应的按键名,分别为p1(玩家1)、p2(玩家2)、anyPlayer(任意玩家)、up(上)、down(下)、left(左)、right(右)", "parameters": [] }, { "name": "passedLevel", "type": "condition", "shortDescription": "检查玩家的存档1中是否通关了指定关卡\n类似的,这不会返回一个布尔变量\n获取关卡ID的最新方法是检查你自己的存档。在游戏的安装目录(在Steam上,右键点击导航栏中的游戏,在“管理”下点击“浏览本地文件...”;进入安装目录后,在User文件夹下,会有(最多3个)slot#.rdsave文件——slot0.rdsave是第一个存档,slot1是第二个,slot2是第三个。打开其中一个文件(最好是那个玩过最多故事模式关卡的存档),然后查找 Level_[关卡 ID]_rank 字符串。\n例如 “Level_BeansHopper_rank”,其中 BeansHopper 是用于此条件检查武士豆子跳是否通过的关卡 ID\n有些 ID 可能不明确(例如 Lesmis 指 3-X),所以在游戏关闭时,可以编辑存档文件来修改某个关卡的等级(如果在修改时游戏是开启的,修改会被覆盖)。例如,将 “Level_Lesmis_rank\":\"S” 改为 “Level_Lesmis_rank\":\"NotFinished”,可以将 3-X 的状态从完美改为未完成(请不要用这来作弊)", "description": "", "parameters": [ { "name": "level", "type": "enum", "enumType": "level" } ] }, { "name": "narration", "type": "condition", "shortDescription": "检查玩家是否启用无障碍朗读功能\n类似paigeLeaves,这也不是个布尔变量\n现在可以直接用全局条件了。", "description": "", "parameters": [] }, { "name": "isScrubbing", "type": "condition", "shortDescription": "只读布尔变量,如果玩家在编辑器中将播放进度拖到比事件当前位置更远的进度,则返回 true。如果事件按“正常”方式到达,则返回 false,并且在编辑器外永远不会为 true。", "description": "", "parameters": [] }, { "name": "audioVolume", "type": "condition", "shortDescription": "当前音频音量,变化范围为 [0,1],可以用于制作音频响应视效", "description": "可写变量", "parameters": [] }, { "name": "setDialogueType", "type": "ink", "shortDescription": "设置对话类型", "description": "枚举列表:\"Passive\", \"Active\", \"Accelerable\"\nPassive: 正常显示对话事件\nActive: 类似 激活对话按键并等待\nAccelerable: 类似 激活对话按键并立即跳转", "parameters": [ { "name": "EventType", "type": "enum", "enumType": "EventType" } ] }, { "name": "runEvent", "type": "ink", "shortDescription": "运行事件", "description": "立即运行指定标签中的事件。", "parameters": [ { "name": "TagName", "type": "string" } ] }, { "name": "hidePanel", "type": "ink", "shortDescription": "隐藏对话框", "description": "隐藏对话框,在指定时间后再次弹出并显示下一句对话。\n例如:\n[[ink:this]]\nDOTHIS{setDialogueType(Active)}\nSamurai_Happy: 有些日子过得可真开心啊。\nDOTHIS{hidePanel(10)}\nPaige: 的确。\n在武士说完后,对话框被隐藏,过十秒后对话框再次显示,佩奇说的确。", "parameters": [ { "name": "TimeInSeconds", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "wait", "type": "ink", "shortDescription": "等待", "description": "将对话暂停指定的时间,随后继续下一行对话\n和 hidePanel 类似,但不会隐藏对话框。", "parameters": [ { "name": "TimeInSeconds", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "stopMusic", "type": "ink", "shortDescription": "停止音乐", "description": "在指定时间内停止当前播放的音乐。", "parameters": [ { "name": "TimeInSeconds", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "forceNarrateSpeakerName", "type": "ink", "shortDescription": "强制朗读角色名称", "description": "仅当启用朗读时生效。\n一般来讲,当一个角色连着说两行或多行对话时,无障碍朗读只会朗读一次角色名\n调用该事件后,无障碍朗读无论如何都会朗读角色名。", "parameters": [] }, { "name": "flash", "type": "ink", "shortDescription": "闪烁", "description": "让屏幕闪一次。", "parameters": [] }, { "name": "shakeCam", "type": "ink", "shortDescription": "震动摄像头", "description": "跟默认的屏幕震动事件效果一样。", "parameters": [] }, { "name": "fadeIn", "type": "ink", "shortDescription": "淡入", "description": "让屏幕从黑色淡入。", "parameters": [] }, { "name": "fadeOut", "type": "ink", "shortDescription": "淡出", "description": "让屏幕淡出到黑色。", "parameters": [] }, { "name": "setColor", "type": "ink", "shortDescription": "设置文本颜色", "description": "设置文本颜色。", "parameters": [ { "name": "Red", "type": "number", "numericRange": { "isInteger": true } }, { "name": "Green", "type": "number", "numericRange": { "isInteger": true } }, { "name": "Blue", "type": "number", "numericRange": { "isInteger": true } }, { "name": "Alpha", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "setSpeed", "type": "ink", "shortDescription": "设置文本速度", "description": "设置文本速度。默认值为 1。", "parameters": [ { "name": "SpeedPerCharacter", "type": "number", "numericRange": { "min": 0 } } ] }, { "name": "setPanelSide", "type": "ink", "shortDescription": "", "description": "", "parameters": [ { "name": "Side", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "setAlignment", "type": "ink", "shortDescription": "设置对齐方式", "description": "设置文本在对话框中的位置。\n0:靠左顶端对齐(默认)\n1:居中顶端对齐\n2:靠右顶端对齐\n3:靠左居中对齐\n4:居中对齐\n5:靠右居中对齐\n6:靠左底端对齐\n7:居中底端对齐\n8:靠右底端对齐\n其他数字没用。\n\n注意:由于中文模式下显示对话事件只会显示两行,所以底端对齐类不会正常显示。", "parameters": [ { "name": "Location", "type": "number", "numericRange": { "isInteger": true } } ] }, { "name": "moveCam_ease", "type": "ink", "shortDescription": "绝对移动真实摄像头", "description": "移动房间 1 的真实摄像头。\n类似 RoomID 为 0 的()=>trueCameraMove()", "parameters": [ { "name": "XPos", "type": "number" }, { "name": "YPos", "type": "number" }, { "name": "Duration", "type": "number", "numericRange": { "min": 0 } }, { "name": "Ease", "type": "enum", "enumType": "Ease" } ] }, { "name": "translateCam_ease", "type": "ink", "shortDescription": "相对移动摄真实像头", "description": "类似 moveCam_ease,但是是相对运动。", "parameters": [ { "name": "XPos", "type": "number" }, { "name": "YPos", "type": "number" }, { "name": "Duration", "type": "number", "numericRange": { "min": 0 } }, { "name": "Ease", "type": "enum", "enumType": "Ease" } ] }, { "name": "Injury", "type": "custom_class", "shortDescription": "Intimate(1-2 亲密)", "description": "添加棒球场的动画以及棒球。", "parameters": [] }, { "name": "Intimate", "type": "custom_class", "shortDescription": "OrientalTechno(1-1 东方电舞曲)", "description": "1-2 亲密原版关卡。(就像这关,有些内置关卡实际上就是用自定义类写的)", "parameters": [] }, { "name": "OrientalTechno", "type": "custom_class", "shortDescription": "OrientalDubstep(1-1N 东方回响贝斯)", "description": "原版关卡,同上", "parameters": [] }, { "name": "OrientalDubstep", "type": "custom_class", "shortDescription": "LuckyBreak(5-1 路吉摔了一跤)", "description": "使房间 1 在 6 小节出现漂浮之心,但不会像主题那样修改背景颜色;2 号房间为 1-1 开头出现的武士病房,可以使用 OpenDoors 方法来开启病房中的大门。\n包含硬编码的震动和闪烁效果。", "parameters": [] }, { "name": "LuckyBreak", "type": "custom_class", "shortDescription": "Rollerdisco (4-1N 轮滑迪斯科震颤)", "description": "就像\"Injury\"自定义类一样,但是启用了背景中的计分板和一些其他的自定义方法。", "parameters": [] }, { "name": "Rollerdisco", "type": "custom_class", "shortDescription": "Unbeatable (X-WOT Worn Out Tapes)", "description": "使用略微不同的沙漠主题。", "parameters": [] }, { "name": "Unbeatable", "type": "custom_class", "shortDescription": "VividStasis (X-FTS 恋恋群星)", "description": "关卡中需要五条以上轨道。把心脏改成X-WOT中的样式。", "parameters": [] }, { "name": "VividStasis", "type": "custom_class", "shortDescription": "Unreachable(2-2N)", "description": "强制把S+评级文字改成“无 限 暴 打”,解锁VRankHacky()自定义方法。", "parameters": [] }, { "name": "Unreachable", "type": "custom_class", "shortDescription": "PaigesReckoning (6-X Boss战)", "description": "启用另一个版本的太空主题,轨道音频响应以及其他自定义方法。", "parameters": [] }, { "name": "PaigesReckoning", "type": "custom_class", "shortDescription": "Halloween", "description": "启用大眼睛和小眼睛以及你可以在关卡中使用的一些 Boss 关机制。", "parameters": [] }, { "name": "Halloween", "type": "custom_class", "shortDescription": "其他自定义类详见自定义方法工作表末尾的自定义类方法", "description": "将心脏改成万圣节版的南瓜。\n此自定义类已损坏。", "parameters": [] }, { "name": "firstBeatBehavior", "type": "mod", "shortDescription": "第一拍事件行为", "description": "\"RunNormally\" (默认值) - 第一小节第一拍的事件按原来时间运行。\n\"RunEventsOnPrebar\" - 第一小节第一拍的事件在前一小节运行,基本上就是在关卡完全开始之前,类似于第零拍。", "parameters": [] }, { "name": "classicHitParticles", "type": "mod", "shortDescription": "经典按拍特效", "description": "手术模组,或者自定义方法,使按拍特效粒子不随轨道的移动而移动或变化大小。", "parameters": [] }, { "name": "gentleBassDrop", "type": "mod", "shortDescription": "柔和重低音震动", "description": "手术模组,或者自定义方法,让重低音震动更柔和。\n\n注意:需要搭配\"oldBassDrop\"(见下文)", "parameters": [] }, { "name": "oldBassDrop", "type": "mod", "shortDescription": "传统重低音震动", "description": "手术模组,或者自定义方法,使用以前的重低音震动动画,会使重低音震动事件中的强度选项没用。", "parameters": [] }, { "name": "adaptRowsToRoomHeight", "type": "mod", "shortDescription": "轨道间距适应房间高度", "description": "当与“排列显示房间”事件一起使用时,使不在自定义位置的轨道在房间的高度内均匀分布。覆盖 verticalRowSpacing", "parameters": [] }, { "name": "noShadowRowWeighting", "type": "mod", "shortDescription": "禁止自动降低模仿轨道权重", "description": "启用后,模仿轨道与被模仿轨道不会随其降低失误权重", "parameters": [] }, { "name": "runTaggedEventsWhileScrubbing", "type": "mod", "shortDescription": "中途播放时强制播放标签事件", "description": "编辑器从中途播放时默认不会运行带有标签的事件,使用此mod会强制编辑器播放该事件", "parameters": [] }, { "name": "startImmediately", "type": "mod", "shortDescription": "立即开始关卡", "description": "手术模组,跳过关卡前“按空格键开始”的部分,关卡会立即开始", "parameters": [] }, { "name": "noPopHitstrips", "type": "mod", "shortDescription": "移除空按打击条", "description": "隐藏没有拍子时空按产生的蓝色打击条", "parameters": [] }, { "name": "showHitstripOnlyOnActiveBeats", "type": "mod", "shortDescription": "限制击拍条出现", "description": "仅模组生效,仅在击拍的轨道上显示击拍条", "parameters": [] }, { "name": "skippable", "type": "mod", "shortDescription": "允许跳过关卡", "description": "手术模组,也能用做自定义方法,暂停菜单出现“跳过”选项,将立即结束关卡并获得S评级", "parameters": [] } ] };