Add Detonator for Land the Platform minigame#223
Conversation
New weapon used to land on the platform. Had to make the duration universal, 6 sec for all, because of the Iron Bomber, and picked "surfin" as the only music, because it's the only minigame where it's used, while "sweetdays" is used elsewhere.
|
Same on this one please maintain the modes system and don't remove music/functionality. The detonator can be added without removing the separate times. And custom_overlay is not needed. |
|
Like this? Two questions. And one more thing. I can't figure out why, but "local weapon = RandomInt(0, 2)" is the only option I can test on my server. If I use "if (Ware_MinigameMode == 0/1/2)" the game refuses to load any other mode than 0. I tried multiple workarounds and even tried both on a local and hosted server, but the minigame refuses to load other modes. Because of it, I couldn't test the changes. Do you know why it might be the case? |
The way TF2Ware precaches assets is it loads the full minigame into scope without starting and precaches anything needed in minigame data such as music and overlays. The problem for ones where the music/etc. depends on the mode is it'll set the
Again this is likely minigames that have extra overlays they manually set, such as beep block. The precaching only inherently accounts for the assumed overlay when Regarding your other question, no idea why it isn't working but do !ware_forcemode if you haven't to check each mode individually |
New addition to land on the platform.
Had to make the duration universal, 6 sec for all, because of the Iron Bomber and picked "surfin" as the only music, because it's the only minigame where it's used, while "sweetdays" is used elsewhere.