Substitute Doll (teardown)
Substitute Doll | ||
---|---|---|
This article is a teardown of an existing CAOS script. | ||
Game Version | Docking Station | |
Filename(s) | ||
Classifier | 2 21 57151 | |
Dependencies | ||
Images | substitute_img.c16 | |
Sounds | vpkd.wav, vpk2.wav | |
Catalogue Tags | none | |
Agents | substitute.agent | |
Other | none |
This is a teardown page explaining the details and inner workings of this agent. For general information, see Substitute Doll
The Substitute Doll is a simple toy agent created by Voidirium and available for download at Creatures Caves.
Contents
Model from Pokemon ORAS, rendered for Creatures[edit]
install script[edit]
new: simp 2 21 57151 "substitute_img" 3 0 1000
- ======== ATTR properties: Carryable, Mouseable, Activateable, Suffer Collisions, Suffer Physics
attr 198
- ======== behaviors: push, pull, hit, pick up ========
bhvr 43
- ======== physics ========
elas 10
accg 3
fric 100
aero 5
perm 100
mira rand 0 1
- ======== injection into Inventory========
enum 1 2 11
spas targ va00
mesg writ targ 0
push[edit]
scrp 2 21 57151 1
stim writ from 97 1
sndc "vpkd"
velo 0 rand -5 -10
doif carr eq null
anim [1 1 2 2 1 1 0]
over
endi
targ from
chem 190 -0.5
driv 12 -0.5
chem 160 -0.5
chem 143 -0.5
endm
pull[edit]
scrp 2 21 57151 2
stim writ from 97 1
sndc "vpkd"
velo 0 rand -5 -10
doif carr eq null
anim [1 1 2 2 1 1 0]
over
endi
targ from
chem 190 -0.5
driv 12 -0.5
chem 160 -0.5
chem 143 -0.5
endm
hit[edit]
scrp 2 21 57151 3
stim writ from 97 1
sndc "vpkd"
velo 0 rand -5 -10
doif carr eq null
anim [1 1 2 2 1 1 0]
over
endi
targ from
chem 190 -0.5
driv 12 -0.5
chem 160 -0.5
chem 143 -0.5
endm
pickup[edit]
scrp 2 21 57151 4
stim writ from 18 1
anim [2]
over
endm
drop[edit]
scrp 2 21 57151 5
stim writ from 19 1
anim [1]
over
endm
collide[edit]
scrp 2 21 57151 6
snde "vpk2"
anim [0]
over
endm
remove[edit]
rscr
enum 2 21 57151
kill targ
next
scrx 2 21 57151 1
scrx 2 21 57151 2
scrx 2 21 57151 3
scrx 2 21 57151 4
scrx 2 21 57151 5
scrx 2 21 57151 6