Fixed hold length
This commit is contained in:
parent
509ea2f3c1
commit
7b6c6b319a
|
@ -14,7 +14,7 @@ namespace HeavenStudio.Games.Loaders
|
||||||
{
|
{
|
||||||
new GameAction("medium", "Medium Bot")
|
new GameAction("medium", "Medium Bot")
|
||||||
{
|
{
|
||||||
preFunction = delegate { Fillbots.PreSpawnFillbot(eventCaller.currentEntity.beat, 4, Scripts_Fillbots.BotSize.Medium, Scripts_Fillbots.BotVariant.Normal); },
|
preFunction = delegate { Fillbots.PreSpawnFillbot(eventCaller.currentEntity.beat, 3, Scripts_Fillbots.BotSize.Medium, Scripts_Fillbots.BotVariant.Normal); },
|
||||||
defaultLength = 8f
|
defaultLength = 8f
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -215,7 +215,7 @@ namespace HeavenStudio.Games.Scripts_Fillbots
|
||||||
game.filler.DoScaledAnimationAsync("Hold", 0.5f);
|
game.filler.DoScaledAnimationAsync("Hold", 0.5f);
|
||||||
SoundByte.PlayOneShotGame("fillbots/armExtension");
|
SoundByte.PlayOneShotGame("fillbots/armExtension");
|
||||||
SoundByte.PlayOneShotGame("fillbots/beep");
|
SoundByte.PlayOneShotGame("fillbots/beep");
|
||||||
fillSound = SoundByte.PlayOneShotGame("fillbots/water", -1, 1 / ((float)holdLength * 0.25f), 1, true);
|
fillSound = SoundByte.PlayOneShotGame("fillbots/water", -1, 1 / (float)(holdLength / 3), 1, true);
|
||||||
releaseEvent = game.ScheduleInput(startBeat + 4, holdLength, InputType.STANDARD_UP, JustRelease, OutRelease, OutRelease);
|
releaseEvent = game.ScheduleInput(startBeat + 4, holdLength, InputType.STANDARD_UP, JustRelease, OutRelease, OutRelease);
|
||||||
beepEvent = new GameEvent()
|
beepEvent = new GameEvent()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue