Making of a Spaceship: Part 1 E-mail
Written by Dzordz   
Thursday, 12 October 2006
Article Index
Making of a Spaceship: Part 1
"Details"

And, now I'm doing really tiny details. At this point I figured that this ship will take 2-3 weeks of work. In this tutorial I covered maybe 2 hours or so.

Image

Image

Image

 

Now create turret. I made it from three objects. All shall be parented under base.

Image

 

Change the pivot point, so gun will pivot nicely. (move tool, than press insert, move pivot, and press insert again)

Image

 

Create locator object.

Image

 

Select locator, and than select the base of the turret.

Image

 

Go to animation mode and go to constraints/Aim. In my case base is aiming with -Z axis. So I put -1 in Z field.

Also base is pivoting only around Y axis.

Image

 

Then select locator, and than the gun and do another Aim constraint. In this case change axis to Gun Pivoting axis. In my case it's X.

Image

 

Set limits for gun rotation.

Image

 

Now you have gun that's aiming to locator.

Image

 

Go to dynamics mode and create particle emitter with default options. Move it to the gun's top.

Image

 

Rotate it to match the rotation of the gun.

Image

 

Set mode to directional and set axis to -Z (-1 for Z), also change the speed to 15 or more.

Image

Image

 

Select the locator and right click in channel box. Go to add attribute. Set the name to "Rate", and the type to float. Click Add.

This attribute will control the rate of gun's fire.

Image

 

Go to connection editor, and on left side load locator, and on the right load emitter. Connect locator1.rate to emmiter1.rate

Image

 

In particle shape attribute change render mode to streaks. These are hardware shaded particles so compositing is needed. If you want to use software particles change mode to Tubes, and lower the numbers for radius1 and 2. Note, if radius is smaller than 0.1 particles won't render so you might need to change scene scale. At this point I'm not very worried about particle shading.

Image

 

To add color click color button.

Image

 

You will get three new attributes. Change them to get color you desire.

Image

 

So, the gun is ready for firing.

Image

 

By using locator you can control multiple turrets with single locator. This will be very handy later...

 

 

 



 
< Prev   Next >