Forum

How can I change map rotation?

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

How can I change map rotation?

Postby vegetous » Wed Apr 11, 2007 5:49 am

I tried to change the map rotation of a qw server, switching the maps in the section RULES, at client.qc. But nothing happened! :(

The modification has already a map vote system, but I want to change the time/fraglimit "natural" rotation of maps.

thx!
User avatar
vegetous
 
Posts: 14
Joined: Wed Oct 25, 2006 2:51 am

Postby Urre » Wed Apr 11, 2007 8:41 am

I'm assuming Quakeworld's NextLevel function is the same as NetQuake, so... What exactly did you change, the episode start maps? Those aren't related to deathmatch maps. The way it works is it looks for the trigger_changelevel in a map, and switches to the map that points to. You'll have to add manual checks for what map is currently being played, and what to switch to, if you want a different rotation.
I was once a Quake modder
User avatar
Urre
 
Posts: 1109
Joined: Fri Nov 05, 2004 2:36 am
Location: Moon


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest