Making a map to run on a defined server only.


(==Troy==) #1

I was wondering if it is possible to make map to run only on a defined server (assuming you have acess to the server) and will not be able to run on any other server? Just a thought though.

Thank you. :slight_smile:


(kamikazee) #2

]UBC[ McNite once applied this spiffy technique to make sure none of his beta tests would leak maps onto public map websites.

The trick is rather simple: include a fake script file with your map’s pk3 file. It shouldn’t do anything, in fact, other than writing “This version was not intended for release and will not work”.
Next, install a mod on the server which allows server-side scripts. (You just place script files into a given folder, and the server will use those instead of the script file in the map’s pk3.) This script should of course be a working one, as this will allow the server to use the map.

Only an “advanced” mapper able to script could fix the script, although I wonder though who would be in the right mind to do such thing.


(==Troy==) #3

Ahh… simple :roll: Thank you. Perfect!


(Ryan) #4

Thats perfect :smiley:


(dfgg) #5

and simple too :smiley:


(TNR360) #6

And perfect :smiley:


(Wezelkrozum) #7

And wunderbar!


(broloi) #8

And… STFU… No need to spam this -.-

Btw, Troy, Still looking kinda bad on the terrain -.- Cant get it to work the right way…


(DerSaidin) #9

Use different bsp and pk3 names


(]UBC[ McNite) #10

What is that going to help about the map running on different servers? Just wondering.

And as Kami already posted: find the details here.


(kamikazee) #11

[quote=]UBC[ McNite]And as Kami already posted: find the details here.[/quote]Thanks, I couldn’t find the post when I was posting in a hurry, so I just explained it with my own words. :wink: