Home of Battleships Forever
It is currently Tue Feb 20, 2018 7:51 am

All times are UTC + 8 hours

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Jun 29, 2013 4:03 am 
The Tutorialist
The Tutorialist
User avatar

Joined: Tue Feb 12, 2013 11:42 am
Posts: 937
Location: Looking for angels in the Maze of the Dead.
This tutorial will teach you how to create a "buzzsaw".

A Buzzsaw is a close quarters weapon that is utilized by one of the HLB faction ships that I created myself.

Lets get started.

First off, it is on a turret. This allows the sawblade to turn and face its target.
Spoiler: show
SMscreen029.png [ 1.49 KiB | Viewed 1539 times ]

Below, you can see that there is a round section (Kae_Shn246) as is the previous tutorials regarding turrets. Next up the parenting tree is the "control arm" section (Kae_Shn210, selected).
The spinning part of the weapon will go at the end of the control arm. The "dummy gun" that drives the weapon will be parented on whatever section that you chose to have the "round section" be parented to.

Now you can see the parenting line that goes to the "blade axis" (Kae_Shn251). This is the section that spins and holds all of the "blades" themselves. Each blade is composed of two sections (Kae_Shn164).
Spoiler: show
SMscreen044.png [ 2.53 KiB | Viewed 1539 times ]

One of the two sections that compose the blade is lined up with the other exactly.
The lower depthed one is parented to the one directly above it.
Then (shift + arrow) is used to move the lower section down 2 and left 1.
The section's color is changed to white and its blending mode is set to "additive".
It is given a fake aegis effect with a spread value of one.
Finally, the blending mode of the effect is set to "additive" and the effect's color is set to orange.
This creates the effect of "hot metal" underneath the parent "blade".

The "blade" is copied seven more times, but the copies are parented to the "control arm" temporarily.
Spoiler: show
SMscreen047.png [ 7.17 KiB | Viewed 1539 times ]

Note the coordinates of the non fake aegis'd "blade" section. Remember them for later.
Select the "blade axis" section. Press (ctrl + J) nine times. This will rotate the section and the attached "blade" by 45 degrees.
Move one of the "blade" to the coordinates (the non fake aegis'd section of one). Depth the section downwards until it is just below the previous blade. The "heated metal" section should be below it. Parent the newly moved "blade" to the "blade axis".
Spoiler: show
SMscreen066.png [ 3.05 KiB | Viewed 1539 times ]

Repeat the rotating of the "blade axis" and placing the "blades" another two times. There should be four blades when you are done.
Spoiler: show
SMscreen074.png [ 3.82 KiB | Viewed 1539 times ]

As before, rotate the "blade axis" by 45 degrees and place another "blade". This time, depth it to be above the previous "blade" in the sequence.
Spoiler: show
SMscreen079.png [ 1.85 KiB | Viewed 1539 times ]

Repeat the previous steps by placing the next three "blades" under the previous ones in the setup. The last "blade" will be depthed under the first.
You can also go under the "ED2" tab and give the buzzsaw a rotation speed (CW). Set "rotating" to "enabled". It will now spin.
Spoiler: show
SMscreen092.png [ 5.48 KiB | Viewed 1539 times ]

On the "control arm", place a blaster (not weapon link). Move it so that its parenting arrow overlaps its point with that of the "blade axis" section.
Now, move the blaster out to the edge of the blade using (shift + arrow) until the parenting arrow is at the edge of the "blade's" edge. Count the number of steps that it is moved, then put it back.
In this example, the distance is 40.
Spoiler: show
SMscreen093.png [ 93.73 KiB | Viewed 1539 times ]

To have the blaster's projectiles appear as buzzsaw contact, the range and projectile speed should be half this number (40 / 2 = 20).
Buzzsaws make constant contact, so the fire rate and clip size should be set to zero. The reload speed will determine how often it fires. In this example, it is set to 1.
The weapon is also round, so the weapon should be given an arc range of 45 would do well. Also, set the burst field to 3, so it spreads "contact points" around.
This makes the weapon spawn projectiles and then instantly score a hit within the same frame around the edges of the sawblade.

The basic setup is complete. Now color it, and test it in the sandbox. This one is colored with construction colors.
SMscreen094.png [ 5.6 KiB | Viewed 1539 times ]

File comment: Requires Kae_Shn sprites
Buzzsaw.zip [2.3 KiB]
Downloaded 119 times

It is fickle and rarely fires the weapon when contact is made. However, that is the game itself. The setup itself functions well if faced with a slow or stationary target.

Has written a series of tutorials for the newbies
Zalausai's Tutorial Index

Created: Elements of Discord, Heaven's Grace, and Hell's Last Battalion.

I stop in from time to time to check in on the community. Though I don't spend much time with shipmaker anymore, I can take requests or write a tutorial for someone.
Proud parent since: 8/15/2013 (Baby Boy)

Good shipbuilders never die . . . they just fade away.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group