Page 1 of 1

Help override SCRIPTED spawn locations?

Posted: Mon Mar 11, 2013 8:22 am
by Cajun Style
I'm making a push mode map, but the default script ignores the z coordinate for spawn locations. Defining a get_spawn_location in the txt, gets overridden by the push script. Since I don't want to force people to use a custom mode script to run my map, I was wondering whether there is some way to override a script from the txt.
Technical details about the ways scripts are applied appreciated. I know nearly nothing about JSON or Python (or the server), though.

Re: Help override SCRIPTED spawn locations?

Posted: Mon Mar 11, 2013 8:06 pm
by Buffet_of_Lies
Are you making a proper map config file for Push mode as outlined here?

Re: Help override SCRIPTED spawn locations?

Posted: Tue Mar 12, 2013 11:50 am
by Cajun Style
Yes, I am. But the Push script I have uses map.get_z(x, y) and thus totally ignores the specified z-coordinate. It's the same script as listed there, though it might be old(?). Without the push script I succeed to set the spawn as intended.

Re: Help override SCRIPTED spawn locations?

Posted: Tue Mar 12, 2013 1:13 pm
by Buffet_of_Lies
You're looking at the updated script later in the above post? You may want to ask in that thread or pm one of the authors, for example, danhezee.