How to place down your first Static Mesh

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

danh

FNG / Fresh Meat
Jun 19, 2012
1,390
1
0
Hello. If you read my first guide and learned how to use the udk through the video tutorials I linked, then I think you are ready for this one!

This will be a simple tutorial regarding static meshes. I will be teaching you easy ways to place down static meshes.

So I will be using the tutorial map I made but you can use your own. I want to place down some trees so I can make a quick forest.

Spoiler!

Here I open up the content browser and search for props in the package list. I see that I do not have Props_Vegetation.upk. This is the package for plants in RO2.

Spoiler!

So press the (1) open package button and navigate to the folder shown (2). Then select (3) Props_Vegetation.upk and load it up.

Spoiler!

Going back to your content browser search for (4) props veg and select the vegetation package. Filter out (5) static meshes. I will be selecting (6) Apartment_Tree_1_SM. Then right click on your terrain where you want to add the tree and select Add Actor : (7) Add StaticMesh:....

Now once you have done that you are ready to join Static Mesh Club

FIRST RULE OF STATIC MESH CLUB
DON'T DRAG AND DROP THE STATIC MESH FROM THE CONTENT BROWSER TO THE TERRAIN.

This creates a ROStaticMeshObstacle which is NOT the same thing as a static mesh and will have problems with bot navigation. Also, when you use ROStaticMeshObstacle, they all count as one class. So if you for some reason want to delete all the rocks but not the rest of the static meshes in your map. If they were normal static mesh, you can right click and select "this class" and it will select all the rocks and not select other static meshes. You are unable to do this with ROStaticMeshObstacle. It is just good practice to use static mesh over ROStaticMeshObstacle, you will save yourself a lot of headaches later!

Spoiler!

You are probably thinking, "Wow! That was really easy! It can't get any easier than this." Well you are wrong! Select your static mesh in the content browser. Then hold down s and and left click on your terrain where you want the static mesh to be. EASY! You can also alt+s and left click and this will cause the static mesh to rotate and fit to slopes. Now you are thinking that it can't possibly be any easier huh? Wrong again!

Spoiler!

Click on the (8) Static Mesh Tool button. This brings up a new (9) window. This tool is used to quickly place static meshes with pre-defined inputs. Starting from the top you can select the collision, pre-rotation, rotation min, rotation max, scale 3d min, and scale 3d max. The pre-rotation is if you want a book to lay down on the floor instead of being upright normally. The rest of the inputs are for randomized rotation and sizes.

You still use s + left click to place down static meshes but now you can set pre-defined rotation and random sizes!

Some collision tips:

If you are placing trees down then you should set collision to "block all".

If you are placing a bunch of rocks or random debris you should set collision to "no collision" or "block weapon".

Spoiler!

Here is an example with my settings.
 
Last edited:

Jarhead456

FNG / Fresh Meat
Jan 4, 2013
54
0
0
NY
Looks like I broke the first rule. Thankfully I'm not doing anything major on my map and couldn't care less about bots. Nice tut.

I've been using deco layers a bit. They're fine to use, right? lol
 

danh

FNG / Fresh Meat
Jun 19, 2012
1,390
1
0
Also, when you use ROStaticMeshObstacle, they all count as one class. So if you for some reason want to delete all the rocks but not the rest of the static meshes in your map. If they were normal static mesh, you can right click and select "this class" and it will select all the rocks and not select other static meshes. You are unable to do this with ROStaticMeshObstacle. It is just good practice to use static mesh over ROStaticMeshObstacle, you will save yourself a lot of headaches later!

Decolayers are okay but they don't have shadow and sometimes they will do funny floating stuff if you paint over a slope. I use it for the background if I want to place some trees down quickly and I know people won't be able to go there.
 
Last edited:

Sullumvoe

FNG / Fresh Meat
Apr 3, 2013
35
0
0
content browser previews keep disappearing?

content browser previews keep disappearing?

Hi, Why is it my content browser preview of materials keeps disappearing. Typically when I first fire up the SDK I can view but they they disappear when I try and do anything.
 

Srinidhalaya

Active member
Jan 20, 2011
729
209
43
Be sure to "FULLY LOAD" all external assets, multiple times until grey out. Second, don't use thumbnails, use list view. Do a search for what your looking for..."wood, grass, debri, beam, roof...ect". After a while, you learn where all your assets are, and will be able to recognize important ones by name.

This method will also help you learn the asset package structure, which helps in organizing your own custom assets.
 

StmRtn

FNG / Fresh Meat
Aug 4, 2014
283
9
0
Finland
How can I place static meshes accurately, what I mean by this is for example Im trying to place a painting or a sign to a wall, but it goes inside the wall and when I try to pull it out from there to get it in line with the wall the damn thing just comes out too far and floats in mid air. The static mesh doesnt move smoothly. How this can be prevented ?.
 

Twrecks

Active member
Dec 28, 2011
1,241
10
38
Ventura, California
How can I place static meshes accurately, what I mean by this is for example Im trying to place a painting or a sign to a wall, but it goes inside the wall and when I try to pull it out from there to get it in line with the wall the damn thing just comes out too far and floats in mid air. The static mesh doesnt move smoothly. How this can be prevented ?.


Turn on the grid (check box lower right menu bar). Set the units to "1". Now when you drag, the SM should pop over 1 unit at a time. Close is good enough.