Ready to play multiplayer

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Triicky
Colour Sergeant
Posts: 86
Joined: Thu May 08, 2003 6:18 pm

Ready to play multiplayer

Post by Triicky »

ok i made my level and i want to play it multiplayer so i put the .pk3 file to another computer put it in main but it doesnt work why is this? it doesnt appear in the DM folder in mohaa the game.
"just because you cut of their heads doesnt mean their dead"
Image
nihilo
Sergeant Major
Posts: 107
Joined: Thu Mar 13, 2003 6:07 am

Post by nihilo »

is the bsp in a maps/dm folder within your pk3?
Triicky
Colour Sergeant
Posts: 86
Joined: Thu May 08, 2003 6:18 pm

Post by Triicky »

Yer these are the files in my .pk3

.bak
.bsp
.lin
.map
.min
.scr
.vis

is there anything else that should be in there?
"just because you cut of their heads doesnt mean their dead"
Image
Triicky
Colour Sergeant
Posts: 86
Joined: Thu May 08, 2003 6:18 pm

Post by Triicky »

// Tricky's First Map
// ARCHITECTURE: Tricky
// SCRIPTING: Tricky

main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" "Clear the Road"
setcvar "g_obj_alliedtext2" "Kill all Axis"
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" "Defend the Road"
setcvar "g_obj_axistext2" "Kill all Allies"
setcvar "g_obj_axistext3" ""

setcvar "g_scoreboardpic" "none"

level waitTill prespawn

//*** Precache DM Stuff
exec global/DMprecache.scr

level.script = maps/obj/mappy.scr

level waittill spawn

end


this is my .scr i know it says obj because thats where i saved all the files in before .pk3ing it
"just because you cut of their heads doesnt mean their dead"
Image
tuffstuff7
Captain
Posts: 265
Joined: Mon Jan 06, 2003 12:59 am
Contact:

Post by tuffstuff7 »

well i am not a scriptor and am still a newb but it seems to me that this

level.script = maps/obj/mappy.scr points to an obj map and also the map name is it mappy? or clear the road? like i said i am a newb so just seeing what i have not done
Triicky
Colour Sergeant
Posts: 86
Joined: Thu May 08, 2003 6:18 pm

Post by Triicky »

oh is this scripting? should i be putting this in the scripting bit? i will cheers everyone
"just because you cut of their heads doesnt mean their dead"
Image
nihilo
Sergeant Major
Posts: 107
Joined: Thu Mar 13, 2003 6:07 am

Post by nihilo »

you are just trying to get your pk3 working, right?

all you really need in your pk3 (assuming there's no custom textures or other fancy stuff) is the bsp and scr.... there's no need to put the other stuff (especially not the map file, thats yours)

what I meant by my previous post was that there needs to be the actual folder maps with the folder dm in it with your files inside that dm folder. Then you need to put the maps folder in your pk3. It needs the file structure to work.
eg. maps/dm/mappy.bsp and maps/dm/mappy.scr

assuming mappy is the name of your map, the line in your script
level.script = maps/obj/mappy.scr
should be
level.script = maps/dm/mappy.scr
in order for it to load up your script

hope this clears things up (and more importantly, I'm not wrong in the first place)
Last edited by nihilo on Thu May 08, 2003 8:12 pm, edited 1 time in total.
SNap007be
Sergeant
Posts: 57
Joined: Sun Apr 27, 2003 12:55 pm

Post by SNap007be »

You only need the .bsp file copyed into the \dm folders, did you compile it properly? Did you go to "Other Options" in the compiling menu and select your GameType
TheShiznaeSpe
Major
Posts: 304
Joined: Wed Feb 05, 2003 11:45 pm
Location: US
Contact:

Post by TheShiznaeSpe »

nihilo wrote:all you really need in your pk3 (assuming there's no custom textures or other fancy stuff) is the bsp and scr.... there's no need to put the other stuff (especially not the map file, thats yours)
sry to contradict-but it's important to include the .min file in your pk3 (in the same dir as the map: IE-maps/dm/ )

without the .min, mac users cannot play your map for some reason-also, the .min file adds the loading bar to your screen the first time someone plays the map new-shortening load time
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

SNap007be wrote:You only need the .bsp file copyed into the \dm folders, did you compile it properly? Did you go to "Other Options" in the compiling menu and select your GameType
You need the .scr file and the .min file too. All the "Other Options" thing in MBuilder does is change the directory that your .bsp file will be copied too.
Admin
Image

.map Forums

Truth and Honor.
Triicky
Colour Sergeant
Posts: 86
Joined: Thu May 08, 2003 6:18 pm

Post by Triicky »

ok IM really confused!

so in PK3 file i need folders called something ???

with .scr , .min and .bsp yeah?


do i need to call my new folder maps/dm/something?
In my Mbuilder bit Other Options i got gametype Free For All.........


triicky

Help!
"just because you cut of their heads doesnt mean their dead"
Image
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

open the pk3, on the left hand side you'll see the hierarchy (if you have one)

for death match it'll need to look like this

{_}/
..- {_} maps
......-{_} dm
.........- yourmap.bsp
.........- yourmap.lin
.........- yourmap.min
.........- yourmap.scr
.........- yourmap.vis
..- {_} models (if you've added any .tik files)
..- {_} scripts (if you've added custom textures .shader files)
..- {_} textures (if you've added custom textures .tga files)

{_} is the folder
..- the hyphen shows which folder to put it in (the 1 directly above it)
and other files named accordingly with the correct suffixes (file types)

:D
hope this helps, prob not cos it's all foreign 2 me :-/
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

No need for a pk3

Post by tltrude »

You don't need a pk3 to test it.

Just place the bsp (and script if you have one) in MOHAA/main/maps/dm. Then it will be in your game's list of deathmatch maps.
Tom Trude,

Image
nihilo
Sergeant Major
Posts: 107
Joined: Thu Mar 13, 2003 6:07 am

Post by nihilo »

sry to contradict-but it's important to include the .min file in your pk3 (in the same dir as the map: IE-maps/dm/ )

without the .min, mac users cannot play your map for some reason-also, the .min file adds the loading bar to your screen the first time someone plays the map new-shortening load time
figures that I would neglect mac users that way... I actually found out today from another place that min files were important and was going to fix it, but looks like you beat me to it 8)

triicky, if you want to see an example of how a map pk3 is set up, just take one of the custom pk3s you have and change the extension to zip and look at how it's set up
User avatar
Sonsai
Colonel
Posts: 438
Joined: Mon Feb 17, 2003 1:40 pm
Location: Wisconsin
Contact:

Post by Sonsai »

Here's How I .pk3:

First I make a folder called "maps".

Then in that folder I make a folder called "dm" or "obj".

Then in that folder (the dm or obj one) I put the ".bsp" the ".min" and the ".scr". Usually they will look like this: mymap.bsp, mymap.min, and mymap.scr.

Then once I have those files I go back to the first folder, "maps".

I right click and choose Winzip > Add to maps.zip. Just follow through the steps and a .zip file of your map will show up.

Then right click it, and rename it to "mymap.pk3".

And put it in your main, and voila! Good luck and have fun! :lol:
Image
Post Reply