Chaotic Chao
horns Horns HORNS
This seems like it should be really easy, but despite that it looks like there's no way to do this, not that I would really know since I can't lua for shit beyond editing one line of other people's code.
What I want is really simple - just a way to let the player fire rings in certain maps in my mod without forcing the game to be modified. Basically a gametype that's literally the same as SP, but firing rings is allowed. I tried doing it with this:
Which, as expected, just prints "You haven't earned this yet." in the console infinitely on maps with the "Custom" gametype. Before this I tried doing it with a console script which had the same result. Is there a way around this without modifying the game? Every option I DO come up with does that and it's like there's nothing I can do...
What I want is really simple - just a way to let the player fire rings in certain maps in my mod without forcing the game to be modified. Basically a gametype that's literally the same as SP, but firing rings is allowed. I tried doing it with this:
Code:
addHook("MobjThinker", function(mo)
if (maptol != 143) return end
COM_BufInsertText(mo.player, 'ringslinger on')
end, MT_PLAYER)