Q4Run is a modification for Quake4. Primarily it's based on trickjumping and combining tricks. The first idea behind this mod was to implement timers which makes it possible to finish a specific "run" map in a certain time and then improve it afterwards. Every run will be documented in a demo named after name of player and map and time. If you want you can share those demos with other players so they can watch your skill or can help you to improve it. Comparing to others' times you can try to beat them or be proud of yourself because of better records.

Report article RSS Feed Map configuration file (addon.conf)

Since Q4 version 1.1 an addon.conf is needed and replaces the old def file. Quake 4 recognizes the data, given in this file, and can thereby display the map correctly in the menu.

Posted by Bliccer on Dec 28th, 2008
Basic Mapping/Technical.

Before you can upload your pk4 you have to write an addon.conf first, which is needed to run the map ingame. This file has been implemented since Q4 version 1.1 and replaces the old def file. Create a new textfile, call it addon.conf and edit it.

addonDef {
}
mapDef mp/nameofyourmap {
"name" "NAMEOFYOURMAP"
"loading_message" "SUBTITLE"
"loadimage" "gfx/guis/loadscreens/nameofyourmap.tga"
"mp_thumb" "gfx/guis/mainmenu/nameofyourmap_thumb.tga"
"DM" "0"
"Team DM" "0"
"Tourney" "0"
"CTF" "0"
"Arena CTF" "0"
"DeadZone" "0"
"DeadZonePowerupCount" "0"
"Gametype_Deathmatch" "0"
"Gametype_TeamDeathmatch" "0"
"Gametype_Tournament" "0"
"Gametype_CaptureTheFlag" "0"
"Gametype_ArenaCaptureTheFlag" "0"
"Gametype_DeadZone" "0"
"Run" "1"
"Team run" "0"
"CTF run" "0"
"Fastcaps" "0"
"Fastcaps pro" "0"
"Unlimited CTF run" "0"
"Freestyle" "0"
"Team freestyle" "0"
"Gametype_Run" "1"
"Gametype_Team run" "0"
"Gametype_CTF run" "0"
"Gametype_Fastcaps" "0"
"Gametype_Fastcaps pro" "0"
"Gametype_Unlimited CTF run" "0"
"Gametype_Freestyle" "0"
"Gametype_Team freestyle" "0"
"author" "yourname"
"vq4" "1"
}

I think in general the lines above are pretty self-explanatory.
"mapDef" is the command to let the engine find the map.
"name" describes the name in the selection menu.
"loading_message" is the "subtitle" of the map which will be shown during the loading process under the mapname.
"loadimage" leads to the loading image (Raven Software always used 512x512 for the resolution; don't know if it's necessary) and "mp_thumb" to the image in the menu (256x256).
You can leave those zeros from "DM" until "Gametype_Deadzone". "0" means "not for this gametype" and "1" describes "for this gametype". It also filters after this criteria.
So if you have a run only map, write "1" after "Run" and after "Gametype_Run". If you have a map which should also be a freestyle map, then overwrite the "0" at "Freestyle" and "Gametype_Freestyle" with a "1".
If you have problems with the different CTF types you can find a description in the "About" section on our website.
Replace the authors name with yours and save the file.
Only one last thing: Always be sure that you haven't deleted any of the quotation marks accidentally and that you've written between them.

pk4 hierarchy
Last step before Quake 4 and Quake 4 Run accept the map: You have to create a pk4 file.
You'll need two folders in any case. "gfx" and "maps". Go into the gfx folder and create a new one called "guis". In there, create two new folders called "loadscreens" and "mainmenu". Put your levelshot, which must have the name of your map, into the "loadscreens" directory and the menu picture (which has to be named like that: thumb_nameofyourmap) into the "mainmenu" folder.
Go back and create a folder, named "mp", in "maps". Here you'll have to store your cm, map and proc file. Place the addon.conf in the root directory. Pack the files, remove the ".zip" at the end and write ".pk4" instead. Now your map should work in Q4Run!

Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
Quake 4 Icon
Platforms
Windows, Linux
Game
Quake 4
Developed By
Bliccer
Contact
Send Message
Official Page
Q4run.benji-banned.ch
Release Date
Released Dec 2, 2007
Mod Watch
Track this mod
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Mods
Q4Run (Quake 4)
Q4Run Quake 4 - Single & Multiplayer First Person Shooter
Related Games
Quake 4
Quake 4 Single & Multiplayer First Person Shooter