Ready to play multiplayer
Moderator: Moderators
Ready to play multiplayer
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"


// 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
// 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"


-
tuffstuff7
- Captain
- Posts: 265
- Joined: Mon Jan 06, 2003 12:59 am
- Contact:
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)
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.
-
TheShiznaeSpe
- Major
- Posts: 304
- Joined: Wed Feb 05, 2003 11:45 pm
- Location: US
- Contact:
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/ )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)
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:
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.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
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!
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"


-
nuggets
- General
- Posts: 1006
- Joined: Fri Feb 28, 2003 2:57 am
- Location: U-england-K (england in the UK) :P
- Contact:
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)

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)
hope this helps, prob not cos it's all foreign 2 me :-/
No need for a pk3
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.
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.
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)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
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
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!
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!


