Thursday 10 December 2015

Free Sound Source - Freesound.org!

Freesound "aims to create a huge collaborative database of audio snippets, samples, recordings, bleeps, [etc.] released under Creative Commons licenses that allow their reuse".

You can find sounds by going to the 'sounds' tab and using the "browse tags", "browse geotags" (for if you want a sound recorded in a particular location), "browse packs" or "browse remix-groups". 

You can also directly search for sounds by using the search bar.  The advanced search options give you the option to list them by shortest to longest - which is handy for sound effects, because you don't want five minutes when 2 seconds will do.  Anything that reads 00:00 when you hover your mouse over the picture of the sound wave will be less than one second long. 

After you've searched, you can also filter the results by the license that they use, by tags, file type, and some aspects of the quality of the sound.  You can search in more than one tag at once by using the small + that appears next to each tag on the tag cloud.

You must sign up with Freesound in order to download the sounds available.

You can alter the sounds available on the site to be compatible with the Creatures series by using this tutorial by The Second.  Don't forget to check in your sounds folder to see if the four-letter name for your sound effect is already taken!  Muppetboy created a list of C1 sound effects, but there doesn't seem to be equivalents for C2, C3, DS or CV in the community. 

Monday 7 December 2015

Blue Drum Walkthrough

 Hopefully by now, you're enjoying the Creatures Community Festival 2015!  I thought I would post up a CAOS walkthrough of the Blue Drum COB I made, with the aid of The Lone Shee's C1 Scriptorium Browser, CrEd32 and BoBCoB.

Install script:

inst
Install this COB in one tick.
new: simp bdru 1 0 3500 0
Our COB is a simple object, using one image from the bdru.spr file, and it will appear in front of the creatures who use it.
setv clas 34147072
the COB is in class 2, genus 9 and species 11.
setv attr 70
The hand can pick up the drum, the hand can activate the drum, and the COB is "wallbound".
bhvr 2 3
The hand can bang the drum even if it's already banging.  Creatures can push and pull the drum.
edit
The drum will appear in the hand when it's been injected into the world.
endm
End of the install script.

Push script:

scrp 2 9 11 1
The script for family 2, genus 9, species 11, activation function #1.
snde drm1
Make a drum noise.
stim writ from 10 255 0 0 43 50 34 60 22 10 44 50
If you were the drummer, you get the following C1 chemicals: 50 Boredom Decrease, 60 NFP Decrease, 10 Tiredness Increase, 50 Anger Decrease.
stim shou 10 255 0 4 43 5 34 5 0 0 0 0
If you were listening to the drumming, you get the following C1 chemicals: 5 Boredom Decrease, and 5 NFP Decrease.
endm
End script.

Pull script:

scrp 2 9 11 2
The script for family 2, genus 9, species 11, activation function #2.
snde drm1
Make a drum noise.
stim writ from 10 255 0 0 43 50 34 60 22 10 44 50
If you were the drummer, you get the following C1 chemicals: 50 Boredom Decrease, 60 NFP Decrease, 10 Tiredness Increase, 50 Anger Decrease.
stim shou 10 255 0 4 43 5 34 5 0 0 0 0
If you were listening to the drumming, you get the following C1 chemicals: 5 Boredom Decrease, and 5 NFP Decrease.
endm
End script.


External script:

scrp 2 9 11 17
This script is called for the creature that pushes the drum. For this script, OWNR means the creature and the drum is _IT_.
impt 3
Tells the creature that what it's about to do is slightly important.
aim: 0
Makes the creature go to the right place on the drum to activate it.
appr
Approach the drum.
wait 4
Wait a little bit.
reps 6
Repeat the following actions 6 times:
pose 69
Go into pose 69
snde drm1
Play drumming sound if you're visible on screen.
pose 70
Go into pose 70
snde drm1
Play drumming sound if you're visible on screen.
repe
Finish the 6 times repetition of posing and drumming.
mesg writ _it_ 0
Call Script #1 (push script) for the drum.
pose 12
Take pose 12.
wait 4
Wait a bit.
impt 0
The next action you're about to take isn't important at all.
wait 20
Wait a bit longer.
done
Tells the creature that the action has been completed.
endm
Ends the script.

External script for the hand:

scrp 2 9 11 50
This script is called for the hand when the hand activates the drum.
anim [4540]
Make the hand appear to slap the drum and go back to normal.
endm
End the script.

The removal scripts are handled in the RCB, as always.  Check out the Creatures CAOS Guide to learn more about the commands used in this object.