Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Nuclear Throne Together

An online multiplayer mod for Nuclear Throne. · By YellowAfterlife

Mod requests?

A topic by cody712 created Jun 16, 2017 Views: 1,216 Replies: 4
Viewing posts 1 to 2

Is there a mod that gives ammo pickups to all players instead of just the person who picks it up? I would like this if it is an easy mod to make.

Developer

An easy thing would be to do

/gml ultra_set(0, 2, 1)

which would give you the "shared ammo from pickups" coop ultra mutation. Similarly,

/gml ultra_set(0, 1, 1)

can be used to get "shared health from pickups" ultra mutation.

At one point someone was doing a mod that had all players have shared ammo pool, but apparently it wasn't finished and was generally acting kind of weird at best.

(2 edits)

It works , but I have to do this everytime we die. Also put it in my startup.txt, but I have to do it in game. Is there a way for this command to save? Also is there a "no friendly fire" command? Thanks

Developer(+1)

You could make a file called shareammo.mod.gml, and have it execute it on game start:

#define game_start
ultra_set(0, 2, 1)

Then you'd `/loadmod shareammo` once per session and that would be it.

The only friendly fire that there is by default is on explosive weapons, but that is not easily gotten rid of. May want to pick Boiling Veins in such case.

Thanks, I got it to work with your help :). I made the gml file, then made the mod load from my startup text.