Giter Site home page Giter Site logo

Comments (4)

WilliamBrown42 avatar WilliamBrown42 commented on September 26, 2024

Vanilla

  • KFGameContent.KFGameInfo_Endless - Endless mode
  • KFGameContent.KFGameInfo_WeeklySurvival - Weekly
  • KFGameContent.KFGameInfo_VersusSurvival - Versus

Modded

  • ControlledDifficulty.CD_Survival - Controlled Difficulty
  • KFGameHardBoss.KFGameInfo_HardBoss - Hard Boss Mode

There may be others for modded but those two modes are known to be used by others that use Magicked. It might be a good idea to change them into some sort of short hand like the length/difficulty where survival is 0, endless is 1, weekly is 2, and so on. It could use whatever the current game mode is if nothing is tossed to it.

I may need to test this further but game type changes may require a map change. This has been buggy in my experience so restart_map will likely not work with game type changes anyway. Considering that I am not sure if it would be a good idea to add a change_game_mode function/command on it's own, if that was a thought, since it would need a new map parameter anyway. Would be best to roll the functionality together.

from kf2-magicked-admin.

n0x-io avatar n0x-io commented on September 26, 2024

Thanks! I took a look at PR #61. When the branch high-wave-command is merged this problem can be fixed easily.
In function change_map the payload option gametype just needs to be changed to "gametype": self.game.gamemode

I already tried it and it seems to work just fine.

from kf2-magicked-admin.

WilliamBrown42 avatar WilliamBrown42 commented on September 26, 2024

Looks like that will fix it not changing game mode but won't allow you to change it with the command, which is what I was blabbering about above. Thanks for the tid-bit.

from kf2-magicked-admin.

n0x-io avatar n0x-io commented on September 26, 2024

This has been fixed in PR #75 so I'm gonna close this for now.

from kf2-magicked-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.