Re: Turtle Isle (age problems)
Posted: Sun Jan 30, 2011 5:48 am
The visual waveset and the swimming regions with its current are completely independent from each other.
dendwaler wrote:The avatar is pushed out of the water for nearly a full avatar length, when he enters this region.
Far more then the wave height which is flattened by the large quiet part of the waveset.
The avatar's behavior seems not to be flattened and follows the peak heights.
He falls back and is pushed out again, so on and on.
Code: Select all
Cloth1:
visual:
matanims:
- mat: Journey
flags:
- stopped
logic:
modifiers:
- cursor: poised
flags:
- localelement
activators:
- type: objectinvolume
remote: Cloth1Rgn
triggers:
- any
conditions:
- type: activator
activators:
- type: picking
- type: objectinbox
satisfied: true
actions:
- type: responder
ref: :Glowing
sdl: Journey1
responder:
states:
- cmds:
- type: oneshotmsg
params:
receivers:
- oneshotmod:Cloth1_Seek
callbacks:
- marker: DoorButtonTouch
receiver: respondermod:Glowing
user: 0
waiton: -1
- type: animcmdmsg
params:
receivers:
- 0043:Journey-Glow
cmds:
- continue
waiton: 0
- type: soundmsg
params:
receivers:
- 0011:Tisle_journey
cmds:
- play
waiton: -1
nextstate: 0
ncallbacks: 1
waittocmd:
- key: 0
msg: 0
curstate: 0
flags:
- detecttrigger
Cloth1_Seek:
logic:
actions:
- type: oneshot
name: Cloth1_Seek
oneshot:
animation: DoorButtonTouch
Cloth1_se:
type: soundemit
sound:
flags:
- is3dsound
- localonly
file: Tisle_journey
volume: 1
minfdist: 20
maxfdist: 50
type: SoundFX
Code: Select all
Cloth1:
visual:
matanims:
- mat: Journey
flags:
- stopped
logic:
modifiers:
- cursor: poised
flags:
- localelement
activators:
- type: objectinvolume
remote: Cloth1Rgn
triggers:
- any
conditions:
- type: activator
activators:
- type: picking
- type: objectinbox
satisfied: true
actions:
- type: responder
ref: :Cloth1Glowing
actions:
- type: responder
name: Cloth1Glowing
responder:
states:
- cmds:
- type: oneshotmsg
params:
receivers:
- oneshotmod:Cloth1_Seek
callbacks:
- marker: DoorButtonTouch
receiver: respondermod:Cloth1Glowing
user: 0
waiton: -1
- type: animcmdmsg
params:
receivers:
- 0043:Journey-Glow
cmds:
- continue
waiton: 0
- type: soundmsg
params:
receivers:
- 0011:Tisle_journey
cmds:
- play
waiton: -1
nextstate: 0
ncallbacks: 1
waittocmd:
- key: 0
msg: 0
curstate: 0
flags:
- detecttrigger
Cloth1_Seek:
logic:
actions:
- type: oneshot
name: Cloth1_Seek
oneshot:
animation: DoorButtonTouch
Cloth1_se:
type: soundemit
sound:
flags:
- is3dsound
- localonly
file: Tisle_journey
volume: 1
minfdist: 20
maxfdist: 50
type: SoundFX
Is Cloth1 the actual object with the layer animation? It won't work on any object.
Code: Select all
- type: soundmsg
params:
receivers:
- 0011:Cloth1_se
cmds:
- play
waiton: -1
Code: Select all
<name of object with the layer animation>:
visual:
matanims:
- mat: <material name>
flags:
- stopped