FileFront Gaming Forums

[How to] Making a map

This is a discussion on [How to] Making a map within the HL2 Modding, Mapping and Editing forums, part of the Half-Life 2 category; First of all, you must open Hammer, so you can begin to map. The first time you open Hammer 4.0, ...

HL2 Modding, Mapping and Editing Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Rating: Thread Rating: 3 votes, 4.33 average. Display Modes
  #1  
Old April 28th, 2006
:|Dark|:'s Avatar
banned
El Bano
 
Join Date: April 4th, 2006
Location: In a tent
Posts: 339
Rep Power: 0
:|Dark|: should know better by now
Send a message via ICQ to :|Dark|: Send a message via AIM to :|Dark|: Send a message via MSN to :|Dark|: Send a message via Yahoo to :|Dark|: Send a message via Skype™ to :|Dark|:
Default [How to] Making a map

First of all, you must open Hammer, so you can begin to map. The first time you open Hammer 4.0, it will automatically configure all the settings. This is a huge advantage to beginners, as setting up the previous Hammer was at least half the battle when it comes down to mapping.

Go to File > New then hold the "[" button until the grid size gets no smaller. This makes mapping a lot more accurate, (but your personal preference may vary here) and zoom in using the mouse wheel. You will see there are 4 different screens. In the top left view, click on the word camera and choose "3D Textured".

Select the tool for creating a brush
and drag a box across a small section of the map and press the enter button, then adjust its size so that it's dimensions are 144x104x16 units as shown in the image below.



Don’t worry if you are using a different texture or if the texture doesn’t align. We are just trying to get the very basics done just now. Make another 3 brushes and arrange them so they look like this:




Make sure that all 4 brushes meet without any gaps or else there will be problems with compiling.

Next we need to make a floor by simply adding a 5th brush that covers the area between the 4 walls. Once again select the brush tool (brush.jpeg) and drag across the area shown in the pic below.




Your map should now look like the above image. We now need a player spawn, so select the entity tool (entity.jpeg) and click inside the walls. A box should appear. By default this entity will be called info_player_terrorist, which is the entity that we want right now. Your map should now look like the image below.




We now need to make a roof for this box room, so select the brush tool again (brush.jpeg) and drag across the upper section of the walls so it looks like the image below:




To complete the map we now need a light source, so select the entity tool (entity.jpeg) a click inside the box, but in the upper section. While the entity is highlighted, press alt+enter, which will bring up its properties. Where is says, "Class:" select "light" from the drop down menu. Select "Brightness" from the "keyvalues" menu and fill it in as shown below and press enter.




The 1st 3 digit number stands for Red, the 2nd for green, 3rd for blue and the 4th stands for the brightness. You will notice that the entity that you made a light is no longer displayed in the camera view as a box, but now look like a light bulb. The map is now ready for compiling, but before you begin to compile, make sure your Hammer Editor looks like the image below.




If it matches the above image, press F9. Doing this will cause the save box to appear. Call your map box_test and press save. You will then see the compile dialog box appear. Fill it out so it matches the image below then click on ok.



After pressing Ok, the compile window will appear. This shows the procedures that the tools are performing to compile your map. You will know that the process is finished because it will have "Copy to Clipboard" at the bottom. Your map is now complete. By default, Hammer will have created the .bsp file in this folder - C:\Program Files\Valve\Steam\SteamApps\youraddy@your.host\sou rcesdk\cstrike_sample_content\maps.

You need the map to be in this folder to be able to play it - C:\Program Files\Valve\Steam\SteamApps\youraddy@your.host\cou nter-strike source\cstrike\maps.

You can edit where the .bsp file is generated to by going into Tools > Options, but if you are a beginner, it is advised that you just copy and paste the .bsp file to the appropriate folder.

To test the map, open Counter-Strike: Source, go to "Create Server" and select your map name. It should look like the image below in game.



Congratulations. Please note that this is a very basic map for beginners.

jeez that was long and not many people visit here so I am not going to get much creditZ, anyway enjoy !

You may need to download Hammer.

__________________
[CENTER][IMG]http://img503.imageshack.us/img503/3360/darksig8wk10lz9fb.gif[/IMG]
[/CENTER]
[CENTER]01001111 00100000 01010010 01001100 01011001 00100000 00111111 [EMAIL="files@hl2files.com"][/EMAIL]
[/CENTER]
Reply With Quote
  #2  
Old June 19th, 2008
iDeekz's Avatar
Sniper Regiment
 
Join Date: February 14th, 2008
Location: United Kingdom
Posts: 1,024
Rep Power: 5
iDeekz is a regular member
Send a message via ICQ to iDeekz Send a message via AIM to iDeekz Send a message via MSN to iDeekz Send a message via Yahoo to iDeekz Send a message via Skype™ to iDeekz
Default Re: [How to] Making a map

Very nice detailed small tutorial.
__________________
Intel(R) Core Q6700 2.66GHZ - 2.7GHZ
4.00GB Ram
NIVIDA GeForce Gtx 260 896mb
2TB SATA HDD'S
Logitech G5 Laser Mouse
Logictech G11 Keyboard
Antec Twelve Hundred Case
Reply With Quote
  #3  
Old January 26th, 2009
give and ye shall recieve
 
Join Date: October 30th, 2005
Posts: 8
Rep Power: 0
hoppkanin has disabled reputation
Default Re: [How to] Making a map

Thank you for this very usefull guide.
After i read this small tutorial, i was able to make my very first map.
Thank you for posting this

Hoppkanin
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with map making snapper General Gaming 0 June 23rd, 2008 06:30 PM
Making my first mod! CappyD SW:JK Modding, Mapping and Editing 22 June 19th, 2005 01:17 PM
Need help with making a pk3! Molotov SW:JK3 Modding, Mapping and Editing 7 June 8th, 2005 12:07 PM
AI Making eXperion CnC Problems, Errors and Help 5 December 24th, 2004 10:46 AM
Map making help OmegaDragon General Gaming 2 December 12th, 2001 07:56 AM


All times are GMT -7.