Can't load my very first map [Solved]

Avatar
canari
70 Posts
Posted May 28, 2011
Hello everyone,

After having played portal 2 and custom maps, i've decided to try building my own maps with the "authoring tools beta" (Hammer). I've already read lot's of tutorials on mapping for counter strike, half life, and portal 2. But I'm stuck with my first map !
I've build the simplest map : a room made of 6 walls, and a player (i put the player away from every wall in order not to be stuck) (hope what i say is understandable 'cause i'm french...)
Here is how my map looks like in Hammer
When i do "File > Run map..." all seems to work great, and it creates my .bsp file (as well as a .log, a .prt, a .vmf and a .vmx files).
Here is what apears on my screen while creating these files
But when i try to load the map (manually or automatically after creating the map), portal2.exe crashes with the message "portal2.exe has stopped working"...i can't figure out what's wrong...
What makes me think the problem comes from my mapping (and not from the game) is that i have no problem playing other players' custom maps.

Could anyone help meeeee ? I would be soooo happy to share advanced maps in the future...
Thank you :notworthy:

Vista 32 bits, Service Pack 2
Intel Core 2 Duo CPU T5250 1.5GHz RAM 2Go

Advertisement
Registered users don’t see ads! Register now!
Avatar
Hober
1,180 Posts
Posted May 28, 2011
Replied 7 hours later
That's really bizzare. Try posting here and attaching your VMF.
Avatar
canari
70 Posts
Posted May 28, 2011
Replied 24 minutes later
Here is my VMF file
I haven't put any light in the room but i don't think that matters (same when i try with a light)
Avatar
msleeper
4,136 Posts
Admin
Posted May 28, 2011
Replied 1 hour later
I am able to compile the map without any errors, and load it up without any issues. Try adding a light, maybe your system doesn't like fullbright maps or something.

You also may want to verify your game cache files for both Portal 2 and the Portal 2 Authoring Tools.

Avatar
canari
70 Posts
Posted May 28, 2011
Replied 2 hours later
Thank you both Homer and msleeper.
I don't have anymore the problem...and i don't know why...i haven't changed anything except maybe a reboot of my computer and now it works !
Actually i did something : i installed the zhlt_compile_gui_v8 in order to compile into a bsp file not in hammer, then i spent a few minutes to find how to convert my map into a .map file, and finally the ZHLT compile GUI asked me where Half Life was installed on my computer. I didn't have the answer so couldn't make the program work, and then i uninstalled it...

Well now it works with Hammer...so i'm happy :thumbup:
Thanks again for you help

Advertisement
Registered users don’t see ads! Register now!
Avatar
msleeper
4,136 Posts
Admin
Posted May 28, 2011
Replied 15 minutes later
ZHLT is for making maps with the original Half Life. Everything you need comes stock with the Portal Authoring Tools.