Friday, April 3, 2009

CAOS Notes: Mind control

I guess I initially started this blog to keep track of my norn populations, runs, etc., but since I like to dabble in CAOS so much, why not use it to keep track of my CAOS notes too?

I've never been particularly good at making agents; there's always some tiny technicality I can't figure out and there's not many CAOS experts left in the community that can help me out in those areas. But when it comes to one-shot lines that I can type in the CAOS command line, that's where I have fun.

So this is the "mind control" line I'm playing with:

targ norn urge writ targ 36 1 1 1

This line will essentially force your targeted norn to drop everything that it's doing, focus its attention on the nearest norn, and make its only priority in life to push that norn. It breaks down like this:

targ norn: Tells the script to target the creature you currently have selected. Alternetively, replace this with "enum 4 0 0" and and "next" to the end of the line to inflict your mind control powers on all creatures in your world.

urge writ: This is the key command here. This tells the script it's about to send evil mind control powers into something. The rest of the script gives the specifics:

targ: Sending the stimulus to the target creature, which we just defined in the first part as being the one you have selected (or if you went the alternate route, each creature in the world in turn).

36 1 1 1: This is the syntax: [noun id] [strength of noun suggestion] [verb id] [ strength of verb suggestion].

36 is the noun id for "norn." As this script forces the target to push norns, they first need to focus on the nearest norn. Other ids are 1, for hand, 11, for food, or 34, for portal. I'll post a list at the end of the noun ids as I know them.

The "1" following the 36 means, "force this creature to pay attention to this noun," but you can tone this down a bit if you like: use 0.5 instead of 1 if you just want to suggest that the norn pay attention to the noun, or 0.9 to strongly suggest it, 0.1 to barely whisper it, or any decimal you like depending on how strong you want your suggestion to be. It also works negatively: if you use a -1, it will force the norn to completely ignore the noun.

The second "1" is the verb id; this happens to be the verb id for "push." And just as explained above, the third is the strength of the verb suggestion; leave it at 1 to force the creature to perform the verb, or use a decimal or negative instead, depending on what your intention is.

I could see some interesting opportunities with this code. While it does interfere with a creature's natural thought process, it might be useful for getting an especially stubborn norn to start eating. Once it is forced to eat, and learns that eating reduces hunger, and that connection is reinforced, it should eat on its own from then on. Overusing the mind control though would likely result in the norn not doing anything for itself, ever, so it should be used with caution.

I could also see it being very useful in agents for people that like to actually play with their creatures with a bit of imagination. For those that enjoy raising norns to fight off grendels, for example, a "war drums" toy could reduce fear in nearby norns and encourage them to beat the snot out of any nearby grendels.

Or perhaps a "crowd scattering" agent that explodes and encourages all nearby creatures to retreat from it, or an "evacuation siren" that encourages norns to push doors, teleporters, and portals. There's a lot of fun possibilbilities there.

I could see a complex, connectable agent with a bunch of different travel options like, go right, pull lift, push door, etc., and if you set them up in a certain way you could hatch a bunch of norns on one side of the world and they would be forced to follow the instructions to end up where you wanted them to go.

You could create a mental forcefield with something like that: if a creature gets within range of the agent, it will force it to go back the way it came.

You could also get a bit cruel with it and create a madness agent that bombards the creature's brain with ridiculous whispered suggestions like, "eat elevator" and "hit hand." Or even worse, create some sort of corrupted dark artifact that heals the creature that holds it fully and gives it Life, but also fills it with anger and suggests it to beat every creature around it.

Ah, so many possibilities.

Now, if you're not already, click the link below to view the full post and the noun/verb id numbers.

As promised, these are the noun and verb ids according to my notes; if there's any errors or anything do let me know so I can fix them. I couldn't find lists like these anywhere else online, so I made some educated guesses based on what I've found from other classifiers and playing with the brain in the genetics kit. But to really know for sure you'll have to experiment with all of them.

Noun ids:

1. Hand
2. Door
3. Seed
4. Good plant
5. Bad plant
6. Leaf
7. Flower
8. Good Fruit
9. Bad Fruit
10. Detritus
11. Food
12. Button or Switch
13. Good Bug
14. Bad Bug
15. Good Critter
16. Bad Critter
17. Nest
18. Agent Egg
19. Weather
20. Bad
21. Toy
22. Incubator
23. Vendor
24. Tool
25. Potion
26. Lift
27. Teleporter
28. Machinery
29. Creature Egg
30. Norn Home
31. Grendel Home
32. Ettin Home
33. Gadget
34. Portal
35. (unclassified?)
36. Norn
37. Grendel
38. Ettin

Verb ids:

0. (look?)
1. Push
2. Pull
3. (deactivate?)
4. Approach
5. Retreat
6. Get
7. Drop
8. Express
9. Rest
10. Go east
11. Go west
12. Eat
13. Hit

Enjoy your newfound mind control power :D

1 comment:

  1. 35 is 'vehicle'
    and 39 is 'something' or 'geat'

    ReplyDelete