Mapping F.A.Q - Please read before asking!

Mapping F.A.Q - Please read before asking!

Hammer Mapping — Page [1], 2
eDan Co.
Mighty Typist

Real Live Hands-On Rabbi Medal
Consolation Medal
2007 Sep 24 • 2921
252 ₧
Welcome to the SuperJer.com Hammer Mapping F.A.Q!

Browse through this thread and look to see if your question has already been answered! (You can use your internet browser's 'search' tool to search for keywords...)

I wish you the best of mapping!
May contain traces of invisible text.
 
 
2008 Dec 14 at 06:04 PST — Ed. 2009 Feb 18 at 07:12 PST
eDan Co.
Mighty Typist

Real Live Hands-On Rabbi Medal
Consolation Medal
2007 Sep 24 • 2921
252 ₧
Q: Why is my BAT-file opening in notepad?

You probably saved the file with the BAT extension, but its still a TXT-file. When saving the file in notepad, make sure you use 'Save as...' and set Save as type to 'all file types'. Save the file with the BAT extension and nothing after it!
May contain traces of invisible text.
 
 
2008 Dec 14 at 06:11 PST — Ed. 2008 Dec 29 at 02:14 PST
eDan Co.
Mighty Typist

Real Live Hands-On Rabbi Medal
Consolation Medal
2007 Sep 24 • 2921
252 ₧
Q: Portal file missing?

When you receive an error telling you that the .prt file is missing, it means some error has occurred and as a result, the portal file was not generated.
Open a new thread and ask about the error that appears in your compile-log (mapname.log)

We will answer your question in your new thread.
May contain traces of invisible text.
 
 
2008 Dec 14 at 06:15 PST
eDan Co.
Mighty Typist

Real Live Hands-On Rabbi Medal
Consolation Medal
2007 Sep 24 • 2921
252 ₧
Q: How do I make my own textures?

You'll need to download and install program called Wally.

1. Make a .bmp of what you want you texture to be.
(The texture size needs to be multiplications of 16. Examples: 16x16 pixels, 32x16 pixels, 96x96 pixels, 80x64 pixels... and so on...)

2. Open Wally and go to File->New.

3. A window titled 'Create New Texture' will open. You can set only one thing in that window- 'Type'. Set the 'Type' to Half-Life Package [wad3] (.wad)

4. Drag and drop the .bmp you made on to your New Texture in wally. You can add as many textures as you want to your .wad file.

5. Save your file in you Counter-Strike directory.

6. Load the texture in Hammer. (Tools-> Options-> Textures-> ADD WAD.)
May contain traces of invisible text.
 
 
2008 Dec 19 at 06:15 PST
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5485
57,583 ₧
Q: How do I make a transparent brush?

1) Make your brush a func_wall entity.
2) In the func_wall's properties set the following:
A) Rendermode = Texture
B) FXamount = 1 to 255 {1 is invisible and 255 is fully visible}


 
 
2009 Jan 29 at 04:24 PST
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5485
57,583 ₧
Q: How do I plug a leak?

First of all, make sure you did not create any entities outside your map. An entity outside your map is just like a leak, if not worse.

If you can not find any entities outside your map:
Load the pointfile generated by the compile tools by selecting the "load pointfile" option in the Hammer menus. Then follow the red line in the viewport to the hole. DON'T delete entities quoted as causing the leak, as they are just mentioned as a reference point. DO use the grid to help avoid leaks in the first instance.
 
 
2009 Feb 17 at 11:38 PST
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5485
57,583 ₧
Error: Brush outside world
In the GldSrc engine your map can extend 4096 units in any of the x, y and z axes. Since the compile tools use a little bit more than that sometimes it is better to keep it at 4000 (which is still quite a lot).

Occasionally this error will occur when using vertex manipulation. The brush will have "exploded" with various of its vertices ending up at crazy distances and points. In this case delete the brush and redo it, being more careful this time.
 
 
2009 Mar 10 at 03:45 PDT
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5485
57,583 ₧
 
 
2009 Mar 12 at 10:10 PDT
eDan Co.
Mighty Typist

Real Live Hands-On Rabbi Medal
Consolation Medal
2007 Sep 24 • 2921
252 ₧
Q. How do I change weapons players get/buy?

Disable buying
Create a func_buyzone brush-entity, and place it inside your map in a place inaccessible to players (inside a wall is good). This will remove the buyzones at all spawn areas in the map.

Place weapons on the ground
Create an armoury_entity (point entity) where you want the weapon to be. You can open the armoury_entity's properties to set what weapon will spawn (Item) and how many (Count).

Give weapons to players on start
Create one single game_player_equip for all players in the map. You can set what weapons will be given in the entity's properties, or even make the players spawn with sparks flying around!
Note the more than one weapon of each category can be given at once. e.g. A player can receive AWP, M4A1 and AK47 all at once!


Thank you Down Rodeo for the great inspiration!
May contain traces of invisible text.
 
 
2009 Mar 22 at 05:16 PDT
SRAW
Rocket Man

2007 Nov 6 • 2525
601 ₧
Q: Whenever I add sounds or models to my map, it takes forever to load!

Either that your map is huge... or you typed the wrong file path in the properties for the entity.
code
IE: Sound: Wrong- C:\CS\cstrike\sounds\ambience\rain.wav Correct- ambience\rain.wav Model: Wrong- C:\CS\cstrike\models\bottle.mdl Correct- models\bottle.mdl


The reason for the long loading is that the engine looks for the C:\CS\cstrike\... in the cstrike directory, and the folder is non existent
Free Steam Games
 
 
2009 Mar 23 at 23:52 PDT — Ed. 2009 Mar 23 at 23:52 PDT
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5485
57,583 ₧
Error: More than eight wadfiles are in use

Like the damn thing says, more than eight wadfiles are being used. Since the compilers store the directory locations in a fixed amount of memory using too many wads can cause a lovely buffer overflow! So while it might say in the log "this may be harmless" it doesn't necessarily mean it. In fact if it warns you of this and your map has failed to compile consider this as suspect. Remove them and try again. Seriously, the number of times we've all seen this error. If you have, say, nine wads and are using one texture from each of them, you will need to merge wads.

Q: How do I merge wads?
1. Download and install Wally (yes, it's the same program you are told to install for making your own wads).

2. Open Wally and from the drop-down menus on the top, go to Wizard-> WAD Merge.

3. You can use either the Add WAD or the Quick Add, depending on your needs. (You can open the Add WAD to see what it has to offer)

4. Set all the other options to suit your needs (WAD type should be WAD3) and hit Go.
 
 
2009 Apr 19 at 04:35 PDT — Ed. 2009 May 17 at 08:49 PDT
Mate de Vita
Kelli

2008 Oct 4 • 2452
159 ₧
Error: Solid entity is empty/Brush entity has no solids

Press alt+p and see which entities are listed as empty (let's say you have 'the entity func_buyzone is empty').
Go to map->entity report and filter brush entities only. Then select the first of the entities that were listed in the alt+p (in this case func_buyzone). Now press Go to. If it selects something in the map, move on to the next func_buyzone. If it doesn't select anything press delete.
Now press alt+p again to see if any other entities are empty. If there are, repeat the process.
...and that's the bottom line because Mate de Vita said so.
 
 
2009 May 4 at 09:53 PDT — Ed. 2009 May 4 at 09:54 PDT
Mate de Vita
Kelli

2008 Oct 4 • 2452
159 ₧
Q: I can't select anything in the 3D window.
This is likely to happen if you have an ATI graphic card.

UPDATE (credit to Down Rodeo): Download the latest driver from ATI's website. This should take care of your problem.
...and that's the bottom line because Mate de Vita said so.
 
 
2009 May 7 at 06:20 PDT — Ed. 2009 Aug 6 at 11:00 PDT
the_cloud_system
polly pushy pants

2008 Aug 1 • 3045
-6 ₧
Q: How do I make things break when the C4 goes off?

Create a func_bomb_target where you want the terrorists to be able to plant the bomb.
In its properties set the target to multi.

Make a multi_manager and give it the name multi, disable smartedit and press add. In the 'key' field write exp and in the 'value' field write 0.
Press add again, in the key field write brush and in the value field 0 again.

Select the brush that you want to blow up, press ctrl+t and select func_breakable from the list. Give it the name brush. In the flags check trigger only.

Make an env_explosion inside the brush, name it exp and set the magnitude to wahtever you want.
Samuel adams, always the white choice.
 
 
2009 Jun 23 at 18:51 PDT
jrkookid
Half Irish, half NOT FUNNY

2007 May 27 • 1415
110 ₧
Q: Where is halflife-cs.fgd

It is in a sub-folder of the folder where Hammer is installed. It should be something like this:

C:\Program Files\Valve Hammer Editor\fgd\Counter-Strike\

Unless you told it to install somewhere else.


A lot of mappers don't like the original fgd because it doesn't allow you to build a lot of cool things. If you'd like, you can download the CS Expert FGD which is much cooler and even has some bug fixes:

http://www.superjer.com/files/cs-fgd-xp_8u.zip

Unzip everything to your Hammer/fgd/counter-strike folder. Then tell Hammer to use the new FGD (Tools->Options->Game Configurations->Game Data Files box).
 
 
2009 Jul 25 at 13:52 PDT — Ed. 2009 Jul 25 at 13:53 PDT
the_cloud_system
polly pushy pants

2008 Aug 1 • 3045
-6 ₧
Q: How do I make a sky for my map?

In Hammer, got to Map->Map Properties... and set environment map to "night" or another valid skybox name. Here are some CS sky names:

2desert
desert
backalley
badlands
blue
city1
cliff
cx
de_storm
Des
doom1
DrkG
dusk
forest
green
grnplsnt
hav
morningdew
office
show
showlake_
tornsky
TrainYard
tsccity_

Q: why is my map lagged
basically it depends on the "how much do i have" and the "how do i make Little of it"

how much objects do you have?
instead of LOTS boxes side by side (next to each other) just make one big rectangle and apply decals to the object!

to much complex models?

how big is the map?

is there a leak?
Samuel adams, always the white choice.
 
 
2009 Jul 31 at 16:23 PDT — Ed. 2010 Jan 1 at 19:59 PST
EMO_with_AWP

2008 Mar 23 • 192
Q: Why do I only have 1 view instead of 4?

There are two known possible fixes for this problem:

1. Tools->Options->General and make sure that "Load default windows with maps" is checked and that "Use independent window configurations" is unchecked.

2. View->Autosize 4 views (Or Ctrl+A) while map is loaded.
 
 
2009 Nov 23 at 12:37 PST — Ed. 2009 Nov 23 at 12:43 PST
SuperJer
Websiteman

2005 Mar 20 • 5138
Also try pressing Shift+Z. Shift+Z should maximize and un-maximize the 3D window.
 
 
2009 Nov 24 at 15:43 PST
EMO_with_AWP

2008 Mar 23 • 192
How to apply a texture to one face of a brush

First, make a brush. Then, click the selection tool and the "Toggle texture application" tool. A "face properties" window should come up. Select a face of your brush (or more than one by holding CTRL). Select a texture and press apply.
 
 
2009 Dec 5 at 12:47 PST
arpit4ever
2009 Dec 7 • 2
eDan Co. said:
Q: Portal file missing?

When you receive an error telling you that the .prt file is missing, it means some error has occurred and as a result, the portal file was not generated.
Open a new thread and ask about the error that appears in your compile-log (mapname.log)

We will answer your question in your new thread.

 
 
2009 Dec 7 at 10:14 PST
Mate de Vita
Kelli

2008 Oct 4 • 2452
159 ₧
arpit4ever said:
eDan Co. said:
Q: Portal file missing?

When you receive an error telling you that the .prt file is missing, it means some error has occurred and as a result, the portal file was not generated.
Open a new thread and ask about the error that appears in your compile-log (mapname.log)

We will answer your question in your new thread.


Not again! Just when we got rid of the stench of the last time! Please someone delete this before I go insane!
...and that's the bottom line because Mate de Vita said so.
 
 
2009 Dec 7 at 10:21 PST
EMO_with_AWP

2008 Mar 23 • 192
Q: How do I make a sliding door?
Make a brush that you want your door to be, and make it a func_door entity. In the properties, set the angle that you want your door to slide to.

Q: How to I make a teleporter?

First, make a AAATRIGGER brush where ever you want you to teleport from. Right click on it, and click tie to entity. Make it a "trigger_teleport". Now, make a info_teleport_destination point entity where you want the destination to be. Name it something. Now, go back to the trigger_teleport brush properties and set the target to what you named your info_teleport_destination.
 
 
2009 Dec 17 at 19:25 PST
EMO_with_AWP

2008 Mar 23 • 192
Q: How do I make a trampoline?

First, make the frame of the trampoline. The ring was made by making a cylinder, making it hallow, then ungrouping the parts. Then I delete the top and bottom parts. Don't forget, you should make your brush more than 64 units if you make it hallow by 32, ect.



Now get a good texture for the jumping part. I use {out_net1 from the halflife.wad. Fill the insides of the ring with this textured brush.



Make this brush a func_illusionary. If your texture has blue spots on it where it should be transparent, set the render mode to 'texture - some light.'

Now, put 4 trigger_push entitied brushes under the brush you just created. They should all the same thickness. In the settings, put the angle to up, and the speed of them should all be different. On mine, I use 1600, 2300, 3500, and 5000. You might need different settings than this. This makes it so the further down you go the harder the trampoline springs up at you. These speeds may seem like a lot, but it's just enough to overturn your momentum downward and the gravity.



If you want the prefab, download the *.map here.

http://www.filefront.com/15320153/trampoline.map
 
 
2010 Jan 8 at 23:36 PST — Ed. 2010 Jan 8 at 23:45 PST
sprinkles

Chrome Whore
2009 Sep 6 • 2546
10 ₧
People, it would be more helpful, if you find the solution to your problem, if you post the solution.
 
 
2010 Jan 29 at 22:33 PST — Ed. 2010 Jan 29 at 22:34 PST
antimatter
2010 Feb 27 • 57
the_cloud_system said:
Q: How do I make a sky for my map?

In Hammer, got to Map->Map Properties... and set environment map to "night" or another valid skybox name. Here are some CS sky names:

2desert
desert
backalley
badlands
blue
city1
cliff
cx
de_storm
Des
doom1
DrkG
dusk
forest
green
grnplsnt
hav
morningdew
office
show
showlake_
tornsky
TrainYard
tsccity_

Q: why is my map lagged
basically it depends on the "how much do i have" and the "how do i make Little of it"

how much objects do you have?
instead of LOTS boxes side by side (next to each other) just make one big rectangle and apply decals to the object!

to much complex models?

how big is the map?

is there a leak?


************************************************

how to create sky........ i m not getting...
from where to get the sky box.....
Guess Who M I??
 
 
2010 Mar 1 at 22:51 PST
Page [1], 2