Ga naar inhoud

Hoe Je De Mapcycle Aanpast Voor Je Quake 3 Arena Server

Standaard ondersteunt basis Quake 3 Arena geen map cycle bestand, maar je kunt een workaround doen om hetzelfde effect te krijgen met scripting.

Het is vermeldenswaard dat sommige mods zoals OSP automatisch alle maps toevoegen van de server die je huidige game mode ondersteunen.

Eerst moet je het bestand baseq3/levels.cfg maken.

Je kunt veranderen welke map config het leest door naar je server te gaan, Startup Parameters en Exec/Gamemode te wijzigen. Als je dit als levels laat staan en een mod laadt, zal het deze map lijst gebruiken. We stellen voor om levels.cfg te verwijderen uit Exec/Gamemode en sommige ingebouwde configs van je mod te gebruiken (bijvoorbeeld OSP zal alle maps selecteren voor die game mod) of je eigen custom map lijst te maken gebaseerd op de modus die je speelt.

Het standaard bestand ziet er zo uit.

levels.cfg
set map1 "map q3ctf4; set nextmap vstr map2"
set map2 "map q3ctf3; set nextmap vstr map3"
set map3 "map q3ctf2; set nextmap vstr map4"
set map4 "map q3ctf1; set nextmap vstr map1"
vstr map1

Stappen Instellen: Zie elk set commando als een stap in een set instructies. Het is alsof je zegt, “Eerst, doe dit, dan doe dat.”

Bijvoorbeeld:

set map1 "map q3ctf4; set nextmap vstr map2"

Dit is alsof je zegt, “Stap 1: Speel het spel op de ‘q3ctf4’ map. Daarna, ga naar Stap 2”. Aan het einde van onze stappen, vertellen we het om terug te gaan naar het begin. Op deze manier blijft het spel door de maps heen cyclen zonder te stoppen. Kortom, dit script is zoals een afspeellijst voor game maps.

Hier is een voorbeeld van de ffa maps q3ctf4, q3ctf3, q3ctf2, q3ctf1. Het zal door de lijst heen cyclen totdat het het einde bereikt.

ffa-levels.cfg
set map1 "map q3dm1; set nextmap vstr map2"
set map2 "map q3dm2; set nextmap vstr map3"
set map3 "map q3dm3; set nextmap vstr map4"
set map4 "map q3dm4; set nextmap vstr map5"
set map5 "map q3dm5; set nextmap vstr map6"
set map6 "map q3dm6; set nextmap vstr map7"
set map7 "map q3dm7; set nextmap vstr map8"
set map8 "map q3dm8; set nextmap vstr map9"
set map9 "map q3dm9; set nextmap vstr map10"
set map10 "map q3dm10; set nextmap vstr map11"
set map11 "map q3dm11; set nextmap vstr map12"
set map12 "map q3dm12; set nextmap vstr map13"
set map13 "map q3dm13; set nextmap vstr map14"
set map14 "map q3dm14; set nextmap vstr map15"
set map15 "map q3dm15; set nextmap vstr map16"
set map16 "map q3dm16; set nextmap vstr map17"
set map17 "map q3dm17; set nextmap vstr map18"
set map18 "map q3dm18; set nextmap vstr map19"
set map19 "map q3dm19; set nextmap vstr map1"
vstr map1

Hier is een lijst van alle standaard map namen, zodat je je eigen custom levels.cfg kunt maken

  • q3dm0 - Introduction
  • q3dm1 - Arena Gate
  • q3dm2 - House of Pain
  • q3dm3 - Arena of Death
  • q3dm4 - The Place of Many Deaths
  • q3dm5 - The Forgotten Place
  • q3dm6 - The Camping Grounds
  • q3dm7 - Temple of Retribution
  • q3dm8 - Brimstone Abbey
  • q3dm9 - Hero’s Keep
  • q3dm10 - The Nameless Place
  • q3dm11 - Deva Station
  • q3dm12 - The Dredwerkz
  • q3dm13 - Lost World
  • q3dm14 - Grim Dungeons
  • q3dm15 - Demon Keep
  • q3dm16 - The Bouncy Map
  • q3dm17 - The Longest Yard
  • q3dm18 - Space Chamber
  • q3dm19 - Apocalypse Void
  • q3tourney1 - Powerstation 0218
  • q3tourney2 - The Proving Grounds
  • q3tourney3 - Hell’s Gate
  • q3tourney4 - Vertical Vengeance
  • q3tourney5 - Fatal Instinct
  • q3tourney6 - The Very End of You
  • q3ctf1 - Dueling Keeps
  • q3ctf2 - Troubled Waters
  • q3ctf3 - The Stronghold
  • q3ctf4 - Speedtrap