This is a move in creating a more efficient automatic horn sound slot that combines two slots into one. Eventually this will become a part of a project that will also allow the horn to complete playing before the engine starts to move. There have been many questions to the author about getting this to work so he has finally taken this on and it's a complicated one.
A single start, stop and reverse sound slot file was first mentioned here. The cons, as detailed in that post were taken care of in this new version. Figure 1 shows the general flow of the logic and it's quite simple. The key is everytime the engine starts in motion it will eventually have to stop so tie the stop horn to the start horns and it becomes simpler.
Figure 1 The general flow
For those of you that have already implemented the auto horns which were detailed
here. The forward and reverse horns and also the stop horn (shown in figures 2, 3 and 4) can be merely copied and pasted into the new diagram containers respectively. For those that haven't implemented the horns, it is recommended you do. You'll learn a lot about creating containers and states and saving the finished product to your templates.
Figure 2 The forward horn signal
Figure 3 The reverse signal
Figure 4 The stop signal
Once you have this complete, save it to your templates. The next project up is utilizing it in a slot that plays the horn sounds completely before the engines moves.
If you have an idea for a blog post here, let me know. If I can comment on it, I will or I'll see if someone else can and post it.
No comments:
Post a Comment