Jump to content

Pwn Call

Recommended Posts

Destructible Pillars Tutorial

 

By: Pwn Call (a.k.a. ESCALADE)

 

 

This is a tutorial that will teach you how to make destroyable pillars in C&C Renegade.  Think of the scene from the movie the Matrix where all of the pillars are exploding from gunfire (only a little less epic)

 

Here is a quick video to show you what your final outcome could look like.

 

 

 

game2%202013-03-16%2016-11-21-43.jpg

 

game2%202013-03-16%2016-13-54-68.jpg

 

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

 

Quick disclaimer before you start.

 

Make sure when doing this you don't put too many of these in your level as it requires a lot of meshes depending on how you make your pillars.  I wouldn't recommend making the breakable tiles as small as I did in the video that was just a quick test level.

 

Also to allow for fewer meshes you could only make them breakable in the areas that are around the height of a player where you would normally only shoot anyways so you don't make too many extra meshes.

 

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

 

If you already know how to set W3D settings for objects and are experienced in map making there is a quick outline of how to set up the pillars at the bottom.

 

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

 

First step is to create the core of your pillar in RenX.  Create a small vertical box about .5 X .5 (depending on how you want your pillar or object) and whatever height will fill your room.  For the core I recommend the texture  "ref_cemnt_tmp.tga" which is from the Renegade texture pack.

 

Also when you create the core of your pillar make sure to name it something like "core" because you will want to know what everything is by name for setting W3D options which I will explain later, also it makes it much easier to duplicate your pillar and select all the necessary parts later on.

 

 

 

Here is my pillar with the outer "destructible" pieces near the bottom

 

1.png

 

Next you will create the "destructible" part of your pillar as seen in the above image is the brown tiles at the bottom.  In that picture there are 8 tiles that surround the core pillar,  you will need to make these go all the way to the roof so your pillar is completely covered.  Do this by selecting them from the "Top" view and then go to the Edit Menu>Clone.  To move them up I would switch to the side view and I would also change your snap to grid settings to the same height as your breakable tiles so you don't have to line them up manually.

 

Again make sure that they have a common name like "shatter" or "Break",  just something so you know what they are so you can select all of them later.

 

 

As you can see in this picture make sure they are outside of the core of your pillar so the core doesn't show through and they completely cover it.

 

3.png

 

8.png

 

Here is the side view to clone them up to the ceiling.

 

 

9.png

 

 

Next what you will need to do is create a collision box that is completely outside of the entire pillar and outer breakable layers as seen in this picture.  Again name it something like "collision" so you know what it is.  It only needs to be the height of the player but you can make it all the way to the ceiling, this is necessary because it stops the player from breaking the outer breakable layer when walking into them.

 

 

4.png

 

 

Now your pillar is complete and all you need to do is set up the collision settings.  If you want to make more pillars simply clone this one and move it where you want it.  Create however many pillars you want and then set the W3D settings after because when clones the W3D settings are reset.

 

 

So first I will go into detail on how to set up the W3D settings for the Outer collision box.  First to select all of your collision boxes go to Edit>Select By> Name.  Now you will want to select all of the meshes that are called "collision" or whatever you named them, this is only for the outer collision box.  Once you have them all selected go to the Utilities Tab then W3D options then scroll down to where it says W3D export settings. Under Geometry you will check the Hide box and under Collision settings only click Physical.

 

6.png

 

7.png

 

You can leave all of the other options the same,  this will hide this box but make it so you run into it with your character.

 

 

Now for your Pillar Core's again go to Edit>Select By>Name and select all of your cores, this time under W3D options only check Camera, Physical, and Projectile under Collision settings and leave everything else the same.

 

And finally for your destroyable tiles around the pillar go to Edit>Select By>Name and select all of the meshes that you named "shatter" or "Break" or whatever you named them.  There will be very many of these meshes.  For these W3D settings check off Shatter under Geometry and check off Physical, Projectile, and Camera for Collision settings.

 

 

Now your Pillars are ready to go!!

 

All you have to do to make more is select them all and hit clone and move the new pillars where you want them.  Make sure when cloning you redo the W3D options because the clones don't have any W3D options set!

 

Play around with these settings to see what other cool things you can create.

 

 

 

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

Quick Overview for Experienced Map Makers.

 

Create the pillar core with normal W3D settings, Physical, Projectile, Camera

 

Create your destructible outer meshes completely covering the core,  W3D settings > Shatter on Geometry, then Physical, Projectile, Camera

 

Create a box just bigger than all of the meshes, W3D settings > Hide on Geometry, then Physical

 

The last box stops the player from bumping into the outer layers and destroying them.

Link to comment
Share on other sites

Thanks man!

 

Let me know if you  have any suggestions for this tutorial.  I'll update it here and there.

 

 

Also I have a theory to try,

 

I was thinking instead of having the furthest out collision box, that stops you from breaking the tiles, have the tiles that are breakable set to no physical collisions.  This way you don't have to make as many boxes.

 

The only thing is that it might still allow them to break when you walk by them, or it might look like you walk to far into them because the core isn't super close to the outside.


I will have to test it and see first.

Link to comment
Share on other sites

  • 2 weeks later...
Guest Mauler

can you please attach the images to the post, so that we can add them to the renhelp files, and please remember to do so in the future...

Link to comment
Share on other sites

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.