Rune Central

The Official Rune Quake Message Board
It is currently Wed Nov 13, 2024 3:12 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Adding maps to a RQW Server
PostPosted: Tue Oct 18, 2005 7:07 pm 
Offline
User avatar

Joined: Mon Mar 10, 2003 8:29 am
Posts: 106
Location: Tennessee
What file would I edit to add a map to rotation to our QW server? I want to add the "q1edge" map that ID Software made for Quake that was from their Quake2 "q2dm1" map. I see two files for Maps, but they seem to complex for me to be editing.

_________________
Image
Craving for Fragging? Visit: MSM Servers Status


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Oct 18, 2005 7:56 pm 
Offline
Site Admin
User avatar

Joined: Fri Mar 07, 2003 7:41 pm
Posts: 1257
Location: New Jersey, USA
You'll need to modify the map script in the src folder and compile a new map-auto.qc file. This can be done in three steps.

First step, replace the custom level array with your own.

Look for this portion of code inside the map script:

Code:
my @custom_lev = (
   [], # unused

   [ # small
      'waltz',
      'haunted',
      'kjdm11',
      'bless',
      'pkeg2',
      'strafin4',
      'qcon1',
      'ztndm3',
      'ztndm5',
      'dapak9',
      'kjdm13',
      'aerowalk',
      'ztndm6',
      'pinion2',
      'ultrav',
      'baldm7',
      'crdm1',
      'dazdm11',
      'factory3',
      'gendm2',
      'rcdm7',
      'xntrick',
      'baldm6',
      'arena',
      'boxing',
      'break010',
      'deathole',
      'dethcrss',
      'dome7b',
      'field',
      'hockey',
      'mortis',
      'muny03',
      'muny10',
      'pain',
      'pasta',
      'warzone',
   ],

   [ # medium
      'atlantis',
      'nindm2',
      'park',
      'alkdm04',
      'ritual',
      'lacrima',
      'debello',
      'auhdm2',
      'matdm2',
      'prelude',
      'efdm9',
      'exdm3',
      'exdm4',
      'mjdm1',
      'lilith',
      'rf',
      'swk',
      'zed2',
      'q3dm6ish',
      'spear',
      'tridm1',
      'efdm7',
      'effigy',
      'spinev2',
      'efdm2',
      'lfdm1v11',
      'oma',
      'paddydm1',
      'tridm2',
      'armory2',
      'auhdm1',
      'jndm6',
      'a2',
      'dazdm12',
      'dranzdm6',
      'hip2m2',
      'hip2m3',
      'hipdm1',
      'start2',
      'baldm3',
      'chesdm2',
      'efdm10',
      'efdm13',
      'chillers',
      'cmania3',
      'dizzy',
      'dthspwn2',
      'efdm3',
      'flood',
      'g12',
      'highrise',
      'hillking',
      'house',
      'my_home',
      'warzone2',
   ],

   [ # large
      'kikdm3',
      'rtz',
      'jadm1',
      'deadzone',
      'croctear',
      'alk08dm',
      'tridm3',
      'summer',
      'elkdm2',
      'unddm2',
      'jvoxdm3',
      'strafin6',
      'dead',
      'fragtwn7',
      'hip1m1',
      'hip1m2',
      'hip1m4',
      'hip1m5',
      'hip2m1',
      'hip2m4',
      'hip2m5',
      'hip2m6',
      'hip3m1',
      'hip3m4',
      'q1edge',
      'sofdm1',
      'sofdm3',
      'disv1',
      'dranzdm7',
      'fragtwn5',
      'fragtwn6',
      'mncrdrug',
      'noircity',
      'oldwest',
      'triumph',
   ],
);


and replace it with this:

Code:
my @custom_lev = (
   [], # unused

   [ # small
      'q1edge',
   ],

   [ # medium
   ],

   [ # large
   ],
);


Second, delete the line that wipes out the array.

Directly under the code you just replaced, remove this line:

Code:
@custom_lev = ();


Last step, compile the map script to generate a new map-auto.qc

I think your servers are Linux, so just type

perl map > map-auto.qc

Done!

Take the newly created file and replace it with the one in your 'poq' folder. Compile as you normally would.

_________________
Slot Zero
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Oct 18, 2005 11:30 pm 
Offline
User avatar

Joined: Mon Mar 10, 2003 8:29 am
Posts: 106
Location: Tennessee
Got it all until the last part. I am on a Win XP Pro system, our servers run on a Win2K system. Not sure how to compile the file "map". Once I get there, I can get the rest. Or can you just compile me a new map-auto.qc for the QW folder. I just want "q1edge" to be added to the map rotation.

_________________
Image
Craving for Fragging? Visit: MSM Servers Status


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 19, 2005 5:14 am 
Offline
Site Admin
User avatar

Joined: Fri Mar 07, 2003 7:41 pm
Posts: 1257
Location: New Jersey, USA
I compiled it for you and e-mailed it.

_________________
Slot Zero
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 19, 2005 12:20 pm 
Offline
User avatar

Joined: Mon Mar 10, 2003 8:29 am
Posts: 106
Location: Tennessee
Thanks! Alot of work for one map, but I appreciate it!

_________________
Image
Craving for Fragging? Visit: MSM Servers Status


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group