Search
Username:
Password:
Register or Reset Password
Remove the ads!
Entity Report #1 - Basic Physics Props
Difficulty: Beginner
Category: CS:S > MappingAuthor(s): Grey Echo (£cho/Ech0)
Did you create this? Request ownership

ENTITY REPORT


Created by £cho

Tutorial #1 - Props
================
How to add a model that interacts with the player!

Prop entities are in nearly every map. They are important in connecting the player to the environment a mapper tries to emulate without going through the hard work of modeling an object you wish to have on your map yourself. Don't know what a prop is? If you have ever played on de_dust2 (and I know nearly everyone has, especially if you're reading this tutorial), you will have noticed the barrels that you can knockdown with your weapon. This is a prop entity, specifically a prop_physics_multiplayer. Sound familiar? In Hammer, by default, it's listed in the menu on the bottom-right hand side on the right toolbar. Can't find it? See the screenshot below.



There are all different models to choose from in Counter-Strike: Source. You have access to about 50% of the entities available to you from the original Half-Life 2, as well as 100% of the ones from Counter-Strike: Source. However, the type of model you use is just as important as the model you want to put onto your map.

Let's start with something simple by adding that barrel from de_dust2 I was talking about, shall we? If you don't know what I'm talking about, see the screenshot below. I will now show you the steps in adding any model to your map.



---===ADDING A MOVEABLE MODEL TO YOUR MAP===---


1) First, make sure you have your entity tool selected. If you don't know what that is, it's the icon on the left sidebar in Hammer that looks like a funky light bulb. A screenshot of what it looks like can be found below. They're programmers, not artists, so it's a little...strangely shaped.



2) Next, go to the right sidebar and to the entity portion. If you don't know what I'm talking about, see the first screenshot in this tutorial and reread the whole first paragraph, because clearly you didn't read it carefully enough.

3) Once you've got your mouse over the menu, verify that the "Categories:" drop-down list says "Entities". If it doesn't, change it to that and then continue with the tutorial. If it does, go to the drop-down list labeled "Objects:" and choose the option called "prop_physics_multiplayer". The list is in alphabetical order, so you're going to need to scroll down quite a bit to find it, but don't worry, it's there.

4) Alright, you've got everything ready to go, so now it's time to add the entity to your map. If you've already got a floor on your map (assuming you know how to do this), just make sure your entity tool (the light bulb) is still selected and click on the floor you've made. If you don't know how to do this, I recommend you figure out how to make a solid room before going any further. This tutorial is for beginners, but you've got to know how to make a simple room first. If you'd like to know how, click here.

5) Alright, so the entity should now be added to your map. Ignoring the fact that the screenshot below doesn't show a room with a floor, this is what the entity should look like.



6) Now, select it by left-clicking on it in the 3D view (if it is not selected already from when you created it). Now, in the 2D view, find it and right-click, and select Properties, which is towards the bottom of the menu that pops up next to your mouse. If you're having trouble selecting, make sure you choose the selection tool on the left sidebar. It's the one that's selected when your first start the program and looks like a red arrow. A screenshot of it can be found below.



7) Good. Now that you've got the properties menu open, all that hard stuff is out of the way. In the list of things on the right side of the box that appears, select "World Model". See a screenshot below for what everything should look like at this time.



8) Now all we need to do is pick a model, which, thanks to Hammer's VGUI Model Selector and Viewer, is very easy. Once the "World Model" entry is selected, look for the "Browse..." Button to the left of the menu that appeared. If you can't find it, use the image above from the last step, as it's shown there for further reference.

9) Wait for a green menu to load and follow the instructions in the screenshot below. You shouldn't have any questions, as this VGUI is very user-friendly. Once you've found a model you wish to use, click the "OK" button on the bottom-left. If you make a mistake, just search again or if you're paranoid, press the "Cancel" button to the left of the "OK" button and simply relaunch and try again. Either method will do.

10) Keep pressing OK until the model viewer and Properties menu is gone. You're model should now be seen in the 3D view and it's outline in the 2D views. Make sure that you move the model a bit off the ground so that it falls when the map starts. If not, the prop will bounce and displace itself somewhere on the map, and you don't want that. Plus, it gives CS:S a bunch of nasty map errors that, in serious cases, can crash the game, and no one likes that too much, either.

11) Compile your map. If you don't know how, click here, otherwise don't continue with the tutorial until you've got more experience using Valve Hammer Editor.

Congratulations!


You've done it!

The next tutorial will focus on different types of prop entities other than prop_physics_multiplayer and what they all do. When it comes out, I will include a link to it here so that you can move straight onto the next one.
Added: 8 months agoTags: model, moving, mapping, map, object, prop, multiplayer, entity, report
Feedback (7)
moozerker .
BananiteY2M
Posted 5 months ago
I got problem i used a differnt way i used prop_physics

on my stuff and when i run map i dont see the vendings or the bookcases :S
- Bananite
YellowRatBastard .
Get old, or die tryingY2M
Posted 8 months ago
Can you do the same thing but just use textures?
.
http://www.ke0.us/Y2M
Posted 8 months ago
Posted by Lost

Should rename this as simply "Basic Physics Props", as the titles misleading right now, one might come here expecting to learn about path tracks and getting an apc model or something to go from A-B and not just collisions.


Like you were, I'm assuming? lol
Changed. Thanks for the suggestion.
:
Cake Or Death?Y2M
Posted 8 months ago
Should rename this as simply "Basic Physics Props", as the titles misleading right now, one might come here expecting to learn about path tracks and getting an apc model or something to go from A-B and not just collisions.
- Cake Or Death?
.
Ripe... It's like almost Rape...Y2M
Posted 8 months ago
Really usefull...

But somethimes when I add a prop_physic, my map won't compile anymore...

I don't know wath to do...
But anyway, nice work!
Pezmc .
I know youY2M
Posted 8 months ago
Please make a video, its sooo long and boring :P
Still a awsome tutorial!
- I know you
fatboyfat .
Thumb me if you are sexy ;)Y2M
Posted 8 months ago
Nice tut, easy layout, good expl. 10/10 do one on moving props! like moving helis
- Thumb me if you are sexy ;)
Add Feedback
Provide constructive feedback. What is "constructive"?
You cannot post yet!
Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login.
Assessment
The community's verdict.
User Rating [+]
8.7/10
bScore
8.7/10
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This Tutorial in a nutshell...
Detailed & Helpful
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.

Added by...
.
http://www.ke0.us/
ZombieMod: Source Team Mod Leader, AR Development Mod Leader, Ripe Member and Supervisor of BB and CS:S ZM
Ranked 597th ( 1) with 3,580 points.

[+] Donate
Related Tutorials