need help with first map..

  • Thread starter Thread starter Supermann
  • Start date Start date
S

Supermann

Guest
as you can tell, i've tried making my first map.. it was a simple single room map with nothing in it cept wals and floors and ceilings and bleh.. what i need to know is what "entities" i need to put to spawn a person, drop weapons.. keep droping boxes and stuff like that.. you know the basic entites to make a level "go".. and sorry if theres some other tutorials or something on this but im a COMPLETE n00b at this stuff but im really interested in getting to learn it.. someone help meh pplleasseeee :D :bounce:

edit:
when i run the level the player stays up top near the roof and i can look around and stuff but i cant move, i have no weapons.. and theres an error at the right top that says :
Code:
client stuck on object 0/
server stuck on object 0/first_map
im using the hammer that comes with "Source SDK" with steam.. if it helps

..any thoughts?

second edit:
ahh i did it!! im not a hundred percent sure what i did but i did it! i can play and i have weapons and its cooll.. but yeah i need to know the basics still.. for example : how to get objects to come back after theyr distroyed or used (eg: a weapon show back up when its been picked up).. how to add weapons to the person spawning.. stuff like that.. can anyone point me to a tutorial that explains these "entities" ? that would be uber helpfull :D

third edit:
also.. if it helps.. heres what im trying to do
i want to make a basic room.. just a square room.. but i want to learn how to make weapons keep dropping down and appearing instead of going away after they are picked up the first time.. also the blocks taht go up like elevators.. and also boxes/crates and objects and stuff that continue to appear after they have been used/distroyed.. pretty much just the basics im sure.. but i need to knowww!! lol
 
right.. ive been there.. i've looked through and found tons of tutorials on making things.. but non of wich to tell me what i need to know.. i need one that explains the "entities" that are necessities.. like i said above.. :)
 
There are loads of tutorials that mention tutorials there o_0

Just look at the first room tutorial for CSS
 
You need to do some reading on the separate entities themselves.

But here are some nice stuf to know. there are 2 kinds of entities. Brush based and point based. The point based ones are created using the entity tool in hammer. The brush based ones are created by first creating a brush and then selecting that and pressing the "to entity" button and then giving the brush some special properties. Each game/mod have unique entities and some are shared. For instance the weapon_bugbait is for HL2 only and wont work in CSS for instance.

Here are a few good entities in no real order to start with.
Point Based

env_explosion Boom. This entity needs to be triggered.
func_useableladder The invisible part of a ladder that makes it climbable. READ UP ON THIS BEFORE USING. Its a pain sometimes.
info_node if you are using SP npcs you'll need this.
info_player_start Spawn point in SP
info_player_deathmatch Spawn point in DM
info_player_* there are more of these for specific spawns in mods such as a T specific spawn in CSS
item_* Spawning point for selected item. Properties are set in this entity for how many sholud be spawned, when new should pop up etc etc etc.
light A light. Color and brightness is set in properties.
light_spot A spot light you can direct
light_enviroment Makes light come down from the sky
npc_* NPC of your choice. Will ofcourse not work in CSS or DODS etc
prop_physics A physics prop of your choice. The actual prop to load is set in settings. This prop will be affected by gravity and suchlike.
prop_physics_multiplayer Same as above only cheaper and better in MP
prop_physics_respawnable same as above only this one will respawn when broken.
prop_static Same as above yet this prop is static and will never move or interact at all.
weapon_* A weapon in your map. Use Raeven0's FGD if you wanna use these since that one handles them better.

Brush Based

func_breakable A brush that break once damaged enough
func_breakable_surf A brush that "shatters". Just like windows in cs_office
func_button A button wich can be pressed. It can be configured to do something when pressed/shot/whaterver i.e. trigger explosions or doors.
func_door A door. Extremeley similar to func_button actually
func_door_rotating A door that rotates. Read up on how to make these as they need 2 brushes.
func_physbox Makes your brush affected by physics. Can be set to break also.
func_physbox_multiplayer Same as above only cheaper. Use in MP.
tirigger_onceMakes your brush invisible and nonsolid. Is configured so that when triggered it will fire and output that can trigger something to happen. this will be triggered only once. Raeven0 will claim that this is the most retarded entity ever.
trigger_multiple Same as above but can be triggered again and again
trigger_hurt Hurts the player when he/she enters this brush.
trigger_teleport Teleports player to target loaction.

As you see there are many. And they all do different things. there are a ton more than the ones listed here and they become increasingly complicated. You should do some reading/trial and error testing on eaach of these so that you understand how to use them. the key is mainly not to give in.

//Unarmed
 
THANK YOU UNARMED.. that was exactly what i need.. i've allready done much trial and error like you said.. and so far its been pretty fun.. but thats exactly what i needed.. the basics .. thanks so much guys ya'll were a great help :).. this forum kicks ass :P
weapon_* A weapon in your map. Use Raeven0's FGD if you wanna use these since that one handles them better.
where do i find raeven0's fgd and what is it :P

edit:
found it.. google :D

second edit:
i now have a new problem :/.. i've made my first map and im pretty satisfied with it.. accept there are a few problems with it.. i placed in it an explosive barrel, some weapons and an ammo box.. the ammo box respawns after its been used .. but theres no color or anything on it, the barrel doesnt have colors or anything lol.. also the weapons i put in arent allowed to be picked up.. i think its because i put them to low or to far in the corner so ill try moving them a bit.. but the seperate ammo and stuff works fine.. someone help meh :P
 
wow.. theres tons of bugs and i dont know why.. none of the weapons have any details.. its all just black and weird colors.. the bodies have no details.. the barrels dont have details.. i think just all entities dont have details.. heres the map if someone wants to see it and help me..

http://rapidshare.de/files/26244901/first_real_map.bsp.html

i know its small and compact.. but its my first detailed map.. so its a pretty big accomplishment for me.. just for some reason nothing shows up (and all the barrels up top were for testing purposes.. they arent there in the final one :P)
 
wow.. theres tons of bugs and i dont know why.. none of the weapons have any details.. its all just black and weird colors.. the bodies have no details.. the barrels dont have details.. i think just all entities dont have details.. heres the map if someone wants to see it and help me..

http://rapidshare.de/files/26244901/first_real_map.bsp.html

i know its small and compact.. but its my first detailed map.. so its a pretty big accomplishment for me.. just for some reason nothing shows up (and all the barrels up top were for testing purposes.. they arent there in the final one :P)

I downloaded the map and played it and I have no problems. All the weapons show up fine and everything works. Now that you know how to complete a room and get it working I suggest following any of the tutorials avaliable, expanding the level to multiple rooms or outdoors or adding lighting to the map (since no one like a fullbright map).

I have some suggestions on how you built the map. Remember to build in normal sizes (ie 32,64,128,256,512,1024 etc). Also textures should not usually be stretched. Also add detail to break up the look of walls, floors and ceilings. Finally I believe your map had a leak (it was not completely sealed from the "void").

Check out this quick version I made to see how I recreated the level without leaks, using standard sizes. It can obviously be enhanced.

http://rapidshare.de/files/26247511/First_Map.zip.html
 
hmm.. well thankks for the suggestions.. and thanks for redoin the level too.. but im still gettin those bug things i was talkin bout.. and on ur level lol.. check itout

firstmapscrnsht2ug5.png

firstmapscrnsht3rm9.png

firstmapscrnshtty7.png


notice not only stuff on the floor is messed up but the gun im holding is messed up.. and bodies are screwy too..

edit:
you know what.. i think i know why.. i had a friend make me a cfg for less detail and all that junk so that it would be less laggy on my computer.. xD hahahaha... well thanks for all the help guys, i now know the basics about hammer and im well on my way to building better and more complex maps..

one last question.. and im not sure if im supposed to ask here so if im not just ignore it i guess.. does anyone know how to put custom maps on "Source Dedicated Server".. ive read up on it and everything ive read seems way to complex.. it would seem that theres a simpler way.. anybody know?
 
1. I get colors like that that when my lighting of the map fails. The reason for that is usually that I have either no lights = fullbright map or a leak or some strange lighting placed inside stuff by accident.

2. When you compile your map it gets placed in the maps folder for your appropriate game. Find this and copy it to the maps folder of your Source Dedicated Server and the map should be able to be chosen in the maplist.

//Unarmed
 
thanks for the help.. turned out i didnt have any lights in the map :P.. and yeah, the map shows up on the list but for some reason my map wont connect.. i got it to connect once (after forwarding my ports it worked fine, and i could connect and other people could as well) but like i said i went through so many tutorials to put my own map on andi did smoething to screw it up.. heres the one tutorial i followed.. >link<
..it failed once i got evertything downloaded and stuff so i just gave up.. now something i did has stoped me from doing it.. augh lol..

edit:
nevermind.. zone alarm was blocking it xD.. thanks again for all the help guys.. i think im done with this thread finally :P

second edit..
..lol, sorry.. but i need to know how to make a brush so that you can walk through it, either that or some way to make a textured area look like its there but be able to go through it.. im trying to make a hidden area thats only accessible by going through a marked area.. so i want to put like a decal on top and the brush under it should be kind of a door.. someone help :)
 
Make your brush and select it.
Hit "To entity" button
Select func_brush
Set the solidity setting to "Never solid"
Voila!

if you want the wall to be invisible once you've passed it then texture the side where it should not be seen with "nodraw"

And if you want a more deluxe verision of this secret room then set te solidity to "Toggle" and then this wall can be toggled wether you should be able to run through it or not by somethig like a button or so.
 
About doing custom maps on the HLDS.

On this part:

"c:\srcds\srcds.exe -console -game cstrike +map de_dust -maxplayers 16 -autoupdate"

Replace de_dust with the name of the map. (Note you can't do spaces in the map name, your map must be in the servers map folder and I suggest that you put it in the map rotation .txt file)
 
er.. i dunno... all i did was put em in the maps folder and it showed up.. thanks for helpin anyways :)
 
Back
Top