[SOLVED] Per map setting? - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16) +--- Thread: [SOLVED] Per map setting? (/showthread.php?tid=5570) |
Per map setting? - BuddyFriendGuy - 06-15-2015 Game admins, I wonder whether it's possible to have a per-map balance setting. Many maps are ported from other games, and some of them requires a bit of modification to make sense. For example, I would like to turn off fall damages for maps with high surfaces. Is this possible? For example, perhaps there's a way to get the name of the next map, and use that to trigger some alias to set a bunch of variables. Thanks a lot. RE: Per map setting? - Mirio - 06-15-2015 Need to put it into the mapinfo: Code: settemp_for_type all <cvar> RE: Per map setting? - BuddyFriendGuy - 06-16-2015 Thanks, @Mirio. I'll test it out and mark this as solved after I figure it out. RE: Per map setting? - BuddyFriendGuy - 06-17-2015 Thanks, @Mirio. Worked like a charm. For anybody who wants to do the same thing, here's a small script to batch add necessary settings to a bunch of pk3 files. Code: #!/usr/bin/perl Here's an example of how I used it to add no-fall-damage setting to all World of Padman maps. Code: $ mkdir temp |