CDR

Creature Stimulus

Overview

A stimulus is an event that happens to the norn that it can react to in some manner. The stimulus gene allows the reaction to these stimuli to be defined. This can range from chemicals being injected to cell values in brain lobes being adjusted.

There are a number of stimulus responses that are hard coded within the Creatures program. The stimulus genes that are created override these hard coded responses giving a lot of flexibility in determining how the creature will react to the world.

Dialog Box

Breakdown

Gene Header

The gene header is the same for all genes.

Stimulus

Stimulus
The stimulus that this gene is attached to. When this stimulus occurs then the effects defined by this gene will be applied. The following stimuli are available:
Disappointment
Pointer pats me
Creature pats me
Pointer slaps me
Creature slaps me
It is approaching
It is retreating
I bump into wall
Object comes into view
Unrecognised word
Heard user speak
Heard creature speak
I am quiescent (periodic)

I've activated1

I've activated2
I've deactivated
I am approaching (periodic)
I have retreated
I have got
I have dropped
I've stated need
I am resting (periodic)
I am sleeping (periodic)
I am traveling (periodic)
spare action 1-4
Involuntary action 0-7
 
Significance
Appears to be the amount by which the neuron relating to the object that caused the stimulus in the Stimulus/Source lobe will be increased. This has the effect of making the object appear more interesting and so it is more likely to be looked at. The neuron that gets nudged by this amount appears to differ for each Stimuli. For example, with 'Pointer pats me' the nudged neuron is always cell 36 (that relating to 'Norn'). With 'Object comes into view' it is always the number relating to the object that came into view. I need to investigate this further and come up with a table indicating the different neurons affected.
Sensory Neurone
Identifies a cell in the General Sense lobe (lobe 5) which will get adjusted by the value given in the 'Intensity' field described below. This allows setting up what the norn can actually sense from the stimuli going on around it. The following cells are available and map directly to cells in the general sense lobe:
<none>
I've been patted
I've been slapped
I've bumped a wall
I am near a wall
I am in a vehicle
User has spoken
Creature has spoken
Own kind has spoken
Audible event
Visible event
It is approaching
It is retreating
It is near to me
It is active
It is an object
It is a creature
It is my sibling
It is my parent
It is my child
It is opposite sex
spare 2-13
 
Intensity
This is the amount by which the particular sensory neurone will be increased by. So if the value here is '50' and the current value of the particular neurone is '25' then when this stimuli occurs the sensory neurone will fire at a value of about '75'.
Modulate using sensory signal
From what I can gather this means that the 'significance' value applied to the stimulus source lobe is first modulated by the value of the neuron associated with the stimulus. I'm not exactly sure what particular value it is modulated by and perhaps it is best explained by describing some of the results I've gotten through experimentation. See the notes section for details. If anyone can provide a clearer explanation I'd appreciate an email.
Add offset to neu (eg. word#)
I do not know what this option does. Selecting or deselecting it appears to have no affect on the various stimuli I tested it with.
Detected even if asleep
If the norn is asleep and this option is unchecked then the stimulus will be ignored and none of the effects will be applied. If it is checked then the gene will be processed even if the norn is sleeping.

Chemicals Emitted

Up to four chemicals can be selected along with a particular amount of that chemical to be injected. When the stimulus occurs the defined amount of these chemicals will be injected into the norn.

Notes

This turns out to be a gene that is quite difficult to track down what exactly each option does. This is mainly due to the fact that the effect of the options seems to change depending on what stimuli is selected.

The rest of this gene description is from a newsgroup message I posted on alt.games.creatures asking for information on this gene and it outlines some of the results of the experiments I tried. This may make some of the descriptions a little clearer.

Experimentation Results

I've found that if I have the stimulus set to 'Pointer Pats me' and significance set to some number (say 50), Sensory neurone set to 'I've been patted' and intensity set to 100 when I pat the norn cell number 1 in brain lobe 5 (general sense) increases by 100.

This is as I would expect as cell 1 relates to 'I've been patted'. Cell number 36 in brain lobe 2 (stimulus/source) increases by 50 (the amount of significance). Cell 36 is that relating to the object class of 'Norn'. This results in the Attention lobe being fired and usually the norn ends up looking at itself. From this I'm surmising that the 'Sensory Neuron' and 'Intensity' settings cause the given cell in brain lobe 5 to fire at the set intensity when the chosen stimulus is applied to the norn. This is pretty much obvious from the genetics kit dialog.

What is less obvious is what object class the significance amount is applied to in lobe 2. In the above example it was a norn. In a further test I set the stimulus to 'object comes into view', sensory neuron to none and intensity to zero. The significance was set to 200. Now whenever a new object appeared to the norn (like making the hand visible in the norns line of site) lobe 2 got activated for the class of object the norn is looking at by the value of 200.

I'm guessing that the result of all this means that a significance amount will cause a cell in lobe 2 to fire at the level of the given amount - the cell being fired will depend on the object causing the stimulus (although in the first example the norn didn't causes the stimulus - the hand did). This makes some sense as you can then set the stimulus genes to make an object more interesting to the norn (ie. more likely to capture/hold its attention) by increasing its stim/source value in lobe 2 via significance. I need to do some more research into this - does anyone have any knowledge of how this works?

If I leave 'object comes into view' selected and the other settings as above but this time check the 'modulate using sensory signal' box, now when a new object comes into view it doesn't fire the cell in lobe 2 by a value of 200 all the time. The cell does fire but by different amounts. I'd expect this from the name of the check box but I haven't yet worked out what it is being modulated by - the current value of the object causing the stimulus perhaps? Anyone got any ideas?

And finally (yes there is an end to this message!) I haven't been able to find any clues to what the 'add offset to neu' means. Still digging away at it but if anyone knows I'd love to hear from you :)

I did most of my testing with a norn with all stimulus genes deleted except for the ones I was testing. What I did notice was that even with no stimulus genes certain stimuli had an effect. Things like patting the norn caused the 'I was patted' cell in lobe 5 to be increased by 32. From this I'd guess that there are certain hard coded stimuli that can be overridden by genetic stimuli if desired - perhaps these relate to the STM# macro commands? I'd be interested to hear from anyone who has played around with this gene who may be able to shed some light on the grey areas. I hope some of the above was useful to those who are doing genetic engineering.