Rvasher@Posted: Sun Oct 23, 2005 2:54 am :
I folled Treppings example step by step and my map still does not show up on the server selection.

Is there anything specific I have to do with my map? As in add certain entitie to label it as being mp?

here what I did


Ran bsp and the files are at C:\maps

made a def folder in C:\ and copied the chess .def, except I changed the map to my map pathname. I also deleted the tgas since I dont have a splash screen yet

right clicked those are added them to bbdm03.pk4

copied that to my baseq4 folder

i load up q4 and no go :(



goliathvt@Posted: Sun Oct 23, 2005 4:15 am :
In C:\maps?

Uh... shouldn't those be in your Q4 path somewhere, say under a mod directory/maps or in q4base/maps? Link the steps you followed or reply whereever "Trepping" posted if you want the best chance for feedback.

G



Rvasher@Posted: Sun Oct 23, 2005 6:27 am :
I have tried using the path as well, anywho heres the file i followed the exampled from

MultiPlayer LoadScreen example map

http://trepaning.com/q4/testMaps/q4LoadScreen.zip



Rvasher@Posted: Sun Oct 23, 2005 2:13 pm :
ok I think it must be a directory error cause I can get sp maps to work fine

the mp map and all the files are at

quake3/baseq4/maps/mp

I put my sp maps in ../maps and they work fine

I think that is where the problem is


so frustrated :twisted: cause I spent all yesterday morning on my first q4 dm map and its ready for testing



goliathvt@Posted: Sun Oct 23, 2005 4:44 pm :
This is what I suggest:

create a folder in your Q4 directory (so if Q4 was installed to C:\Quake4, you'd create C:\Quake4\mympmaps.

Then inside mympmaps, create these folders:

def
maps
gfx

Within "maps", create a folder called "mp".

Within "gfx", create the folder, "guis". Within "guis" create folders:

loadscreens
mainmenu

Next, copy the .def files you're using into the def folder. Copy the load screen images (.tga) into "mympmaps/gfx/guis/loadscreens" and "mympmaps/gfx/guis/mainmenu". The mainmenu image can be smaller than the one that goes into loadscreens, since t his is what shows up when you create a server and are selecting the map you want to play (a very small image).

Copy your map files, including the .proc, aas*, and .cm files into "mympmaps/maps/mp".

Create a shortcut to Quake4 that has +set fs_game mympmaps in it. Launch Q4 using that shortcut.

Once Q4 is launched, you go to Multiplayer->Create Server and your map will be at the top of the list.

Goliath



Rvasher@Posted: Mon Oct 24, 2005 2:29 pm :
goliathvt wrote:
Create a shortcut to Quake4 that has +set fs_game mympmaps in it. Launch Q4 using that shortcut.


Goliath


I used "+set fs_game mympmaps/maps/mp"

and my shortcut is getting an error



goliathvt@Posted: Mon Oct 24, 2005 2:58 pm :
... ?

Okay... you quoted what I said, "+set fs_game mympmaps"... and yet you're doing "+set fs_game mympmaps/maps/mp", which is not at all what was suggested. You're not going to get far unless you follow the path and file conventions the game requires in order for it to be able to find and use your custom content. It also doesn't help if someone like me offers you near step-by-step instructions, only to be ignored. :) If I wasn't clear about something, let me know and I'll be glad to elaborate. Try following my instructions more carefully and see if they work for ya.

Goliath



Rvasher@Posted: Mon Oct 24, 2005 3:03 pm :
ok, well i thought mympmaps was a typo cause i did try it however i still didnt get it working.

regardless after all this i just threw my map files into the q4loadscreen.pk4 and it worked fine, it must have something to do with how i am compressing the files

i am using winrar and keeping the path names intact but thats the only thing wrong i could think that i was doing

thanks for the help and being patient with me, take care



goliathvt@Posted: Mon Oct 24, 2005 3:39 pm :
Here's a mini tutorial on directory structure for Q4 stuff. All you need to do to make this work for custom files is to replace the "mympmaps" folder name and the "mymap" file names with the proper directory and filenames used by your own stuff.

Your Quake 4 directory, with the mod folder, "mympmaps" in it:
Image

The folder structure inside "mympmaps":
Image

The .def file inside the "def" folder:
Image

The "guis" folder inside the "gfx" folder:
Image

The "loadscreens" and "mainmenu" folders inside "guis":
Image

Image file inside "loadscreens":
Image

Image file inside "mainmenu":
Image

The "mp" folder inside "maps":
Image

The various map files inside "mp":
Image

Here's the contents of mymap.def:

Code:
// custom map loadscreen for mymap.map

mapDef mp/mymap {
   "name"      "mymap Loadscreen Test"
   "DM"      "1"
   "Team DM"      "0"
   "Tourney"      "0"
   "CTF"      "0"
   "Arena CTF"      "0"
   "Gametype_Deathmatch"      "1"
   "Gametype_TeamDeathmatch"      "0"
   "Gametype_Tournament"      "0"
   "Gametype_CaptureTheFlag"      "0"
   "Gametype_ArenaCaptureTheFlag"      "0"
   "loadimage"      "gfx/guis/loadscreens/mymap.tga"
   "mp_thumb"      "gfx/guis/mainmenu/mymap.tga"

}


This is the structure you need to use when adding a map to the server map list and giving it a custom screen while loading it.

And now, the Quake 4 shortcut used to launch the game so that it will use the data in "mympmaps":

Image

When you've tested everything and you want to toss everything into a pak file for distribution, you do the following, assuming you have winrar installed:

Go into the mympmaps folder and highlight the def, gfx, and maps folders. Next, right-click on them and choose "Add to archive...":
Image

Change the filename so it has the extension ".pk4" instead of ".zip".

Make sure "ZIP" Archive Format is selected instead of "RAR" Archive Format. Leave the Compression Method at "Normal". Your WinRar archive window should look like this:
Image

Click OK and you should have a .pk4 file ready for distribution.

Goliath



heidinabucket@Posted: Wed Nov 09, 2005 7:03 pm :
Bang on information!!!!
Thanks.



rich_is_bored@Posted: Thu Nov 10, 2005 6:24 am :
Hey Goliath, I'm curious. Have you ever considered playing an active role on the wiki? Your help would certainly be appriciated.



hotwheeler@Posted: Mon Oct 08, 2007 2:21 am :
-but I thot you needed an "addon.config" file in there somewhere????

also ,is it possible to put all map files,def files and loadscreen files into the same folder and path it all to that folder in a zip?? why wouldn't that work just as well?