BombSquad Modding Guide Episode 7: Creating co-op games

Hey folks,

It’s been a while, so it’s time for another modding example..

I just released BombSquad 1.4.7, which adds a big new feature under the hood: you can now now create new co-op mode games, complete with their own online high-score lists and star rankings. (previously you could add teams and free-for-all games but the co-op section was a bit hard-wired)

First, a few little caveats:

  • At this time, adding co-op mods will disable your ability to play co-op tournaments (you’ll see an error at the score screen saying ‘please remove all game modifications and try again’).  I’ll try to fix this in the next update or two.  Pull your mods out and restart to get tournaments working again.
  • Currently you have to restart the game to pick up new or changed mods.  This can be annoying to do repeatedly, so I’ll try to add auto-(re)loading in the future.

Anyway, let’s do this.

I feel that examples are the best way to learn, so lets just grab one and dive right in. 

Download this script, drop it into your BombSquad mods folder (Settings->Advanced->Show Mods Folder), and launch the game.  Under ‘co-op’ you should now see ‘Ninja Fight Custom’.

That’s it.

This mod is pretty much identical to the ‘Ninja Fight’ mini-game included with the game.  It simply sets up a few timers to spawn ninjas and then measures the time it takes you to kill them all.  The script is heavily commented so you should be able to see what’s going on, add more ninjas, or whatever else you want to do.

Check out any of BombSquad’s internal game scripts for reference as well as the Python API docs.

Happy Modding!


This entry was posted in BombSquad. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *