Page 1 of 1

Map won't load

Posted: Thu Nov 22, 2012 8:11 pm
by Skrzypiec
Hello there fellow Medalofhonorers,

A map I just created won't load. These are error messages I managed to find and rewrite here:

From MBuilder:
writing C:\moh\drawa.bsp
C:\moh>Copy "\drawa.bsp" C:\moh\main\maps
Can't find the specified file (or it says sth similar, I'm translating from Polish)

From the game console:
^~^~^~ Can't find maps/drawa.min
Can't find maps/drawa.scr
^~^~^~ Add the following line to the *_precache.scr map script:
cache models/player/american_army.tik
ERROR: No player spawn position named". Can't spawn player.

The map has been built very simplistic, without any scripting nor advanced tweaking involved (I just wanted a dark room), following the basic tutorial not saying anything about .min nor .scr files. Nonetheless, a player start position, lighting and texturing is there, as the manual suggests.

I've read through the compiling errors list, but I didn't create any custom .pk3 so far.

I need a medic.
Regards,
Maciej

Re: Map won't load

Posted: Mon Dec 03, 2012 10:00 pm
by no_mercy
Let me see if i get it, you made a map without a info player in it? I think it won't compile as you need info_player_start and a info_player_axis(or allied) to make it possible for mbuilder to compile. These steps are the most important so the moh considers it a map.
Also as for the light part if you don't put any you won't see a damn thing not even the walls inside let's not talk about the textures if you apply any only a dark thing even if you put info player.
As for the script part you don't need to care, unless you are going to create a new and good map then you should banging your head. Just remember as you read i suppose on your tutorials to put it on your main/maps/dm (or obj) depends on your compile options.

Re: Map won't load

Posted: Tue Dec 04, 2012 1:39 pm
by Skrzypiec
I have a single lightbulb in that map, so that's not the problem. Texturing is deliberately missing - I did NOT want to see anything in a level except a bright weapon and a dark, unicolor background, because those were to act as mask layer clips for a movie. I already solved this problem without creating a map - I simply spawned myself in canaltown and recorded everything in that pitch black spot on the balcony :D

Anyway, Your tip might be extremely useful in the future, as I found mohradiant nice to handle and I might create something with it someday. I didn't know there should be an additional axis or allied info - either tutorials skip that bit, or I didn't notice it. I'll check if it works... Thank You.

Re: Map won't load

Posted: Sat Dec 08, 2012 5:34 pm
by neillomax
so you put a light bulb in it. when the light bulb is still highlighted you need to open the entity inspector ( N ) key on keyboard............

next to "key" type light
next to "value" type 75......... or 100 or 500......... this gives light.

so info player start as stated above and light.