Turtle Isle (age problems)

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!
diafero
Deep Island Admin
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
MOULa KI#: 0
Location: Germany

Re: Turtle Isle (age problems)

Post by diafero »

The visual waveset and the swimming regions with its current are completely independent from each other.
I prefer e-mails to "diafero arcor de" (after adding the at and the dot) over PMs.

"Many people's horizon is a circle with a radius of zero. They call it their point of view."

Deep Island Shard | Offline KI
User avatar
tachzusamm
Posts: 575
Joined: Thu May 29, 2008 2:03 am
MOULa KI#: 0
Location: Germany

Re: Turtle Isle (age problems)

Post by tachzusamm »

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.

My assumtion is that you did not align the Y vector of the direction empty absolutely horizontal.
Because the Y vector determines the direction, it will throw the avatar up when the direction has a Z component.
User avatar
dendwaler
Posts: 936
Joined: Mon Jun 22, 2009 10:49 am
MOULa KI#: 0
Location: Nederland

Re: Turtle Isle (age problems)

Post by dendwaler »

And again you where right!
You could hardly see it but it did have a slight rotation.
A new empty put in from top view, solved this.
It acts more naturely now.
Thx!
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one.



Watch my latest Video Or even better..... watch the Cathedral's Complete Walkthrough made by Suleika!
User avatar
dendwaler
Posts: 936
Joined: Mon Jun 22, 2009 10:49 am
MOULa KI#: 0
Location: Nederland

Re: Turtle Isle (age problems)

Post by dendwaler »

Does Quickscripting have an expressing for triggering Material_animation ?
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one.



Watch my latest Video Or even better..... watch the Cathedral's Complete Walkthrough made by Suleika!
D'Lanor
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Turtle Isle (age problems)

Post by D'Lanor »

If you really mean QuickScript (= shorthand for a few common AlcScripts) then the answer is no.

AlcScript does have options for controlling layer animations.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
dendwaler
Posts: 936
Joined: Mon Jun 22, 2009 10:49 am
MOULa KI#: 0
Location: Nederland

Re: Turtle Isle (age problems)

Post by dendwaler »

Thx D'Lanor.

Unfortely I don't succeed in getting working code.

I have A Journeycloth with animated texture (glowing )
a region , a seekpoint and a soundemitter.

I cooked up this code for it:

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


the cloth animation never stops
does not react on a touch
no avatar animation.
and no sound.

Can you correct this ?

i need an sdl in it for remembering all the cloth touches.
I think i need one for every cloth, or can i use a string with flags?
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one.



Watch my latest Video Or even better..... watch the Cathedral's Complete Walkthrough made by Suleika!
D'Lanor
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Turtle Isle (age problems)

Post by D'Lanor »

Is Cloth1 the actual object with the layer animation? It won't work on any object.

You did not name your responder so the click had no effect. Edit: I have now named it Cloth1Glowing.

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


I will post something about the sdl later.
"It is in self-limitation that a master first shows himself." - Goethe
Jojon
Posts: 1116
Joined: Sun Sep 30, 2007 5:49 am

Re: Turtle Isle (age problems)

Post by Jojon »

I too eagerly await the answer on how to prevent material animations from looping. :)
( In Rell-Too there is a handful of matanims, that triggers in sequence. I wound up resorting to including each three times, in the responder that controls them: Once to stop them and go to frame one, before their coming into view, once to start them in turn and once to stop and reset them again, following a timer callback each. :P )
User avatar
dendwaler
Posts: 936
Joined: Mon Jun 22, 2009 10:49 am
MOULa KI#: 0
Location: Nederland

Re: Turtle Isle (age problems)

Post by dendwaler »

Is Cloth1 the actual object with the layer animation? It won't work on any object.


I don't understand . I thought a material is always applied to an object.

The Journeycloth (object Plane) has two layers.
The second layer opacity goes from 0 to 1 by the col slider in "map to" with an Ipo curve.
This ipo should be triggered by touching the cloth as a oneshot.

I used your edited code.
result:
touch animation is working.
Layer animationg is looping before and after the touch.
No Sound


{Edit}
If what I initially wanted is not possible then i have found the next solution.
i place two clothes behind each other.
1 with a not animated texture and 1 with the looping animated texture.
With another ipo curve i bring the looping animation in front of the first one and back again.
What do you think of this?
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one.



Watch my latest Video Or even better..... watch the Cathedral's Complete Walkthrough made by Suleika!
D'Lanor
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Turtle Isle (age problems)

Post by D'Lanor »

Correction for sound emitter:

Code: Select all

                      - type: soundmsg
                        params:
                            receivers:
                              - 0011:Cloth1_se
                            cmds:
                              - play
                        waiton: -1


I suspect naming errors elsewhere too.

Is Cloth1 the name of the object with the layer animation? Or is the object called Plane? And is Journey the name of your material? This code works if you get your naming references right. I have used it on many occasions.

Code: Select all

<name of object with the layer animation>:
    visual:
        matanims:
          - mat: <material name>
            flags:
              - stopped


And be sure not to use this same material on multiple objects.
"It is in self-limitation that a master first shows himself." - Goethe
Post Reply

Return to “Building”