Oct 3, 2026, 11:34:39
Ownage Owls

Author Topic: Commands for Mapmanagers  (Read 81 times)

Jan 30, 2011, 15:44:07
Read 81 times
Offline

Mdbelen

Staff
Hi there, i just wasted my ... maybe 50th hour in the fucking /setghostmodeon and /setghostmodeoff commands and recognized that i wasted probably 45 of these in one single absolutely stupid and small failure.
Anyway.. now these commands are working^^

So all admins and mapmanagers can make use of these commands now. They set the ghostmode of a map permanently on or off (changing the meta.xml) so you don't have to download and change the map manually. This works in both private and public server.

Probably there will follow commands for respawn and respawntime soon, too.
« Last Edit: Jan 30, 2011, 16:04:17 by Mdbelen »

Jan 30, 2011, 16:00:43
Reply #1
Offline

Pet

Member
Great news.Thank you!

Jan 30, 2011, 17:51:57
Reply #2
Offline

Mdbelen

Staff
OK I just changed the command to make it more flexible and powerful (ui) to this:

/mapset <setting> <value>

allowed settings are:
ghostmode -> on, off
respawn -> none, timelimit
respawntime -> 0-30 seconds
duration -> 10-1200 seconds

All settings get active after you restarted the map, but ghostmode, which gets active immediately.

Jan 31, 2011, 00:38:44
Reply #3
Offline

rijads

Member
ghostmode doesnt actually turns itself right away in game, even though it sends msg that it did turn itself on / of in 10 secs.

Jan 31, 2011, 13:24:24
Reply #4
Offline

Mdbelen

Staff
on works off not, but it does after restart

Feb 1, 2011, 20:20:31
Reply #5
Offline

Mdbelen

Staff
Ok i removed the immediate ghostmode enable/disable, because disable didnt work (no way to disable it for script) and enable was only a bad solution, too (if you recognized.. if it was enabled you couldn't disable it with /ghostmode command afterwards anymore for this round).
So you'll have to both /ghostmode and /mapset
In favor i added some short names for settings: gm for ghostmode, rsp for respawn, rst for respawntime, dur for duration.