how to play a map i created

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

Moderator: Moderators

yuri
Lance Corporal
Posts: 14
Joined: Sun Mar 31, 2013 7:18 pm

how to play a map i created

Post by yuri »

hi all,
i am a begineer in mapping and i use mohradiant ..
i just want to know what to do after saving a map i created i a format (.map) in order to play it ..
can any one help ??
BatteryAziz
Moderator
Posts: 82
Joined: Tue Jun 15, 2010 4:44 pm

Re: how to play a map i created

Post by BatteryAziz »

use mbuilder (unpack in MOHAATools folder so you can always find it).

Set the game directory (...\MOHAA\), compiler dir (...\MOHAATools\) and map source dir (where u save your maps).

Next, set BSP Options to (without quotes) "-blocksize 0", VIS Options to "-fast" and LIGHT Options to "-final -bounce 0"

Don't forget to set some ambientlight and sunlight in your map, and an info_player_start ;) and you're good to go to hit that Build Map! button in mbuilder.

Next you end up with some files in your map source dir (a .bsp and .vis file and either a .lin or .prt file). You only need the .bsp file. The cleanest way to load your map in MOHAA is to use PakScape. (unpack this to MOHAATools\ as well). Open pakscape, make a new folder "maps". in maps\ make a new folder "dm" (or "obj" if your map is objective based). drag/paste the .bsp file you created with mbuilder to maps\dm in pakscape, and save as mymap.pk3 and put that .pk3 file in your MOHAA\main folder. your map should now show up in mohaa under deathmatch and team-deathmatch as your filename.bsp.

for all the other stuff regarding loading screens, scripting, custom textures etc simply do a google search ending with " site:map.moh-central.net" and you'll get a bunch of tutorials or forum entries. that's how i learned most of it!

good luck :)
yuri
Lance Corporal
Posts: 14
Joined: Sun Mar 31, 2013 7:18 pm

Re: how to play a map i created

Post by yuri »

thanks for your reply ..

i did every thing u said but i ended up with a windows batch file after hitting the bulid map bottom !

can u help me with this please
BatteryAziz
Moderator
Posts: 82
Joined: Tue Jun 15, 2010 4:44 pm

Re: how to play a map i created

Post by BatteryAziz »

you gotta select your .map file and then hit Build Map. if it's still not working post screenshots of your settings maybe i can spot the error
yuri
Lance Corporal
Posts: 14
Joined: Sun Mar 31, 2013 7:18 pm

Re: how to play a map i created

Post by yuri »

i do select a .map file,
i attached a snapshot of the mbuilder screen
Attachments
Untitled.png
Untitled.png (17.4 KiB) Viewed 362 times
yuri
Lance Corporal
Posts: 14
Joined: Sun Mar 31, 2013 7:18 pm

Re: how to play a map i created

Post by yuri »

and that's what i get when i click the build map bottom.. this cmd file
Attachments
Untitled1.png
Untitled1.png (42.63 KiB) Viewed 360 times
Untitled2.png
Untitled2.png (47.29 KiB) Viewed 360 times
4.png
4.png (64.66 KiB) Viewed 360 times
BatteryAziz
Moderator
Posts: 82
Joined: Tue Jun 15, 2010 4:44 pm

Re: how to play a map i created

Post by BatteryAziz »

don't use your main folder to store your .map files. make for example a mohaatools\maps\ folders. also can you post a screenshot of the entity info of your map's worldspawn in radiant. when you load your map, select your skybox and hit 'n'. this brings up the entity window.
BatteryAziz
Moderator
Posts: 82
Joined: Tue Jun 15, 2010 4:44 pm

Re: how to play a map i created

Post by BatteryAziz »

also notice how it says "unrecognized parameter: of" which is the "of" of your game dir path. it shouldnt be spelled out like that, instead the path should look something like this:

C:\PROGRA~2\EAGAME~1\MOHAA

so in your case try E:\GAMES\MADEL~1 for game dir and C:\PROGRA~2\EAGAME~1\MOHAAT~1\Maps for maps
yuri
Lance Corporal
Posts: 14
Joined: Sun Mar 31, 2013 7:18 pm

Re: how to play a map i created

Post by yuri »

ok i changed the map source dir. but nothing happend
Attachments
Untitled.png
Untitled.png (16.88 KiB) Viewed 358 times
BatteryAziz
Moderator
Posts: 82
Joined: Tue Jun 15, 2010 4:44 pm

Re: how to play a map i created

Post by BatteryAziz »

1. try the other stuff too i think it's most likely a path problem. maybe try to change your "madel of honor" folder to "mohaa" so there are no spaces in the path name.

2. also select (shift+click)the skybox then hit N. you doesn't seem like you have anything selected. it should say key/value: classname/worldspawn . if you want some base light to boot enter ambientlight/40 40 40

3. is entdefs.pk3 in your main folder?

4. post ss of your preferences in mohradiant there could be something off (ill have to mirror it with mine)
yuri
Lance Corporal
Posts: 14
Joined: Sun Mar 31, 2013 7:18 pm

Re: how to play a map i created

Post by yuri »

ok i changed the folder name to mohaa,
what's a skybox ? :D
yes the entdefs.pk3 is in the game's main folder
here is a snapshot of my preference
Attachments
Untitled.png
Untitled.png (29.27 KiB) Viewed 356 times
BatteryAziz
Moderator
Posts: 82
Joined: Tue Jun 15, 2010 4:44 pm

Re: how to play a map i created

Post by BatteryAziz »

this is what it should look like

Image

also i suggest you go through some of the tutorials e.g. /tutorials.php?category=Mappers because without the right settings you're going to run into all kinds of issues.

it's best if you make a skybox around the thing that you built. a skybox is where you build all of your stuff in. what you do is make a cube bigger than the size of your map, drag it in place to surround everything and hit the Hollow button (top left, it's the square with a dotted square inside of it, between CSG Substract and XYZ). this makes the big cube hollow consisting of 6 side-brushes.
if you type "utility" into the texture search box, you'll get some clips, nodraw, caulk, sky textures etc. now give these skybox brushes some sky texture..
yuri
Lance Corporal
Posts: 14
Joined: Sun Mar 31, 2013 7:18 pm

Re: how to play a map i created

Post by yuri »

well i can't thank u enough, i'm very grateful :)
i followed ur instructions and it worked,
but yet i have a small problem, when i make a brush and set it's function to ladder it disappears in the game but i can still climb it ..
can u help me with that ?
BatteryAziz
Moderator
Posts: 82
Joined: Tue Jun 15, 2010 4:44 pm

Re: how to play a map i created

Post by BatteryAziz »

great! glad it helped

as for ladders, here's the tutorial

/t.php?id=39

basically what you do is make the ladder you want to climb, and then make a new brush with the transparant ladder texture (search "utility", it's pink and says ladder). make your ladder brush twice as thick as the ladder that you built, put it over the ladder itself and let it stick out a bit at the top. you let the thick side of the ladder brush stick out where you'd want to climb. now make this ladder brush func -> ladder , then bring up the entity window and hit one of the angle buttons to which direction you should hit "use" ingame (east, north west, south angle = 0, 90, 180, 270 respectively).
yuri
Lance Corporal
Posts: 14
Joined: Sun Mar 31, 2013 7:18 pm

Re: how to play a map i created

Post by yuri »

yeah it worked :) thanks a lot

do u think i can ask further question if i have'em ? :D
Post Reply