Jump to content

Creating tunnels with Boolean


Pwn Call
  • Intermediate , Renx (Gmax),

City/Square Tunnel Tutorial

By Pwn Call (aka ESCALADE)

----------------------------------------------------

This tutorial is for making basic square or really basic shaped tunnels , just not including cave/rock type uneven tunnels although some of the same basic principals can be used for those type of tunnels as well. When you are done they could look something like this


LevelEdit%202013-03-28%2019-21-30-73.jpg


------------------------
First I will do a small intro about the Snap to Grid tool, which in my opinion is the most useful function when making maps, that I just recently found out about. In the lower right corner of your RenX screen there is an area for Snap to Grid as well as a few other options, another really useful tool is the Snap Rotate tool which snaps to increments of 5 degrees by default. Look in the image below and the lower left icon with the magnet and the 3 is the Snap to Grid tool. It is default set to off so left click to turn it on. You will know your Grid is on when you see the cyan + sign displayed on the grid.

2.png

3.png


To change the increments of the snap to grid or snap to rotation simply right click on them and a menu will pop up, go to the Home Grid tab and then change the grid spacing to your desired ammount, for this tutorial start the grid at .25. If your tunnel is significantly bigger, (for tanks for example) you can have the grid much larger like 1.

4.png

Ok first you need to start off in Gmax with an area that your tunnel will be cutting through, could be a mountain or building but generally it should have a flat surface at the entrance and exit because it will make it easier to make. I recommend using the Grid throughout the whole thing as it makes it much easier.

First this is my block I will put my tunnel through

1.png


Now you need to create your tunnel. I have my view on the Left for this tunnel and simply make your box the size you want your tunnel, also note that you want some extra room on the sides and top because the dimensions of this box will be for the outside of your tunnel not the inside which you will see in a moment. Notice the blue line is the object I'm cutting through and the white is the new box that will be my tunnel.


5.png

Also make sure that it is long enough to go all the way through your object so you can change the length or in my case since I made my tunnel from the side view the height.

6.png

Next what you will do is create another box that will cut out your tunnel. This box needs to be smaller than your first box on the sides and top but make sure it goes down below the bottom like in this next picture. This will be cut away from your original box leaving your tunnel to walk through, here you can change the width of your tunnel sides and ceiling by making this box smaller or larger.

7.png

Next change to the Top view again and make sure that the box goes all the way out past your original tunnel box so it cuts all the way through. If it isn't long enough change the length or height to make it long enough. It should look something like this.

8.png

Here is the same thing in the perspective view

9.png

Next what we will do is customize our user interface to add the boolean tool to the toolbar which is useful for tunnels and other objects. Go to customize then user interface

10.png

Then go to the toolbars tab and scroll down to boolean compound object

11.png

Once you find it click and drag it up onto your toolbar, it doesn't have to be where I put it just somewhere for easy access.

12.png

Now we will select our original tunnel box mine is the outlined box in this picture

13.png

Then we click on our new boolean tool icon

14.png

This will open up the bar on the side for the boolean tool options. I will explain the other ones at the end of this tutorial but for now it should be set on Move and the choose Pick operand B

15.png

So now while using the boolean tool after you hit pick operand B the next object you click on will be removed from the original object. So now click on the box that you want to remove from your tunnel and POOOF!! its gone and it took away from the other box and leaves you with a tunnel type object! If you accidentally pick on the wrong object no worry just hit undo and then select again.

16.png

After you use the boolean tool on an object always turn it into an editable mesh afterwords, this way you can edit it or take another boolean out of it if you wish. Do this by right clicking on the object then Convert to Editable mesh

Side note for boolean tool, NOT NECESSARY FOR TUNNEL TUT
(So if you want to use boolean to make windows in a wall for example you would do your first boolean then convert to editable mesh, then select boolean again for the next window then turn into editable mesh, and keep repeating this process for all of your items that are taking away from the original object.)

18.png

Now notice it did not cut away from the building that the tunnel is going through, this is because only the tunnel was selected when doing the boolean tool. Now we will cut through this box as well so we can go through our tunnel.

So now change your grid spacing to half the size of what it previously was so in my case I will change it to .125 now.

17.png

Now we will make a box that will cut out of the building, your settings might be messed up from using the boolean tool so go to the create tab and then standard primitives to make another box

19.png

Make your next box in between the inside and outside of the tunnel and below the bottom. If it is inline with the inside edge of the tunnel then two textures will be in the same area and it will flash in between the two textures and look weird on your map.

20.png


Again make sure it goes out past the length of the tunnel so it cuts through all the way so make it bigger like in the second image here

21.png

22.png

Now select the building that your tunnel will go through, in my scene the blue square.

23.png

Now go to the boolean tool

24.png

And again move should be checked and the pick operand B

25.png

Then click on the part to take out, again in my case the green square.

And there your tunnel should work now! And don't forget to turn the building back into an editable mesh!

26.png

27.png

Alright this is where the basic tunnel is finished, if you want your entire tunnel to be the same texture just add the texture you want to it and create a plane for the floor. If you want different textures for the walls and ceiling then do not add a texture to it and continue reading below.

-----------------------------------------------------
Advanced Tunnel Textures.

If you want the sides of the tunnel, the roof of the tunnel and the outside of the tunnel to be different textures then follow these steps!

Before you start this make sure there are no textures applied to your tunnel at all first, otherwise it could mess things up and will be harder to add the textures to different parts of your tunnel.

Your tunnel should be an editable mesh, if it isn't right click on it and turn it to an editable mesh.

Then under the modify tab on the right click on editable mesh and then the polygon icon

29.png

Next where it says Perspective in the upper left part of the Grid, right click on it and turn on edged faces if they weren't on. This helps you see which parts of the tunnel you have selected.

30.png

Now that you can see better what you are selecting select both of the walls of the tunnel like in this picture, see how they are outlined in red now.

31.png

Now right click on the selected area and go over to detach and click it. A smaller window will pop up if you want to name it something different than what is in the blank you can but it is not necessary. Neither box should be checked and hit ok to detach it.

32.png

Now do the same thing for the ceiling, select it and then detach it.

33.png

Now you should have 3 separate meshes for your tunnel, be careful because they can be moved separately now as well. Texture each of them differently to make your tunnels look more realistic like the ones I show below. A good idea once you texture them is to group them by selecting them all and then go to to group menu and then group. This way you can clone them and move them to other places if you wish. You can also change the shapes of your tunnels by converting them to editable mesh and then moving one end to make them go up or down. Play around with it a little bit and you can do some pretty neat things with the boolean tool. If you have any questions post them up and I'll do my best to answer them!

LevelEdit%202013-03-28%2019-20-13-23.jpg


User Feedback

Recommended Comments

There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.