Welcome to the Creatures Wiki! Log in and join the community.

Substitute Doll (teardown)

From Creatures Wiki
Jump to navigation Jump to search
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.

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

elas 10

accg 3

fric 100

aero 5

perm 100

mira rand 0 1

Substitute Doll in Inventory

seta va00 targ

enum 1 2 11

spas targ va00

doif ov00 = 0 and clac = 0

mesg writ targ 0

endi

next

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