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!
Post Reply
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 »

Image

a little change
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
ZURI
Posts: 366
Joined: Mon Nov 16, 2009 8:34 pm
MOULa KI#: 0
Location: Cincinnati
Contact:

Re: Turtle Isle (age problems)

Post by ZURI »

Looks great dendwaler. The sunflowers are a nice touch!
MOULagain KI: 45001
User avatar
nathan2055
Posts: 440
Joined: Sat Oct 16, 2010 9:10 pm
MOULa KI#: 1307567

Re: Turtle Isle (age problems)

Post by nathan2055 »

Very nice! I like it! I can't wait to see the finished Age!!!
Image
Currently an official representative of the Guild of Writers.
Nathan2055 (01307567) on MO:ULagain - NAL2055 (00071382) on The Deep Island Shard
Community Nexus Project
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 Zuri and Nathan.

I am afraid it will never be really finished, but i will release it not to far away anyway.
Before Eastern is my goal.
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
ZURI
Posts: 366
Joined: Mon Nov 16, 2009 8:34 pm
MOULa KI#: 0
Location: Cincinnati
Contact:

Re: Turtle Isle (age problems)

Post by ZURI »

Just keep chugging along den. You have some great texturing skills. I have no doubt that you'll have a finished product eventually. That day may be years away, but I'm sure it will come. :D
MOULagain KI: 45001
D'Lanor
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Turtle Isle (age problems)

Post by D'Lanor »

Do we get an Easter egg then? ;)
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
nathan2055
Posts: 440
Joined: Sat Oct 16, 2010 9:10 pm
MOULa KI#: 1307567

Re: Turtle Isle (age problems)

Post by nathan2055 »

dendwaler wrote:Thx Zuri and Nathan.

I am afraid it will never be really finished, but i will release it not to far away anyway.
Before Eastern is my goal.

Don't worry, a good Age is never finished! What do you mean by "Before Eastern"?
ZURI wrote:Just keep chugging along den. You have some great texturing skills. I have no doubt that you'll have a finished product eventually. That day may be years away, but I'm sure it will come. :D

I agree!
Image
Currently an official representative of the Guild of Writers.
Nathan2055 (01307567) on MO:ULagain - NAL2055 (00071382) on The Deep Island Shard
Community Nexus Project
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 »

I have really a hard time to understand Alcscripting to trigger animations.
I think it is the recursive structure of it, which i can't follow.
Unfortunately there is not one example with a line by line command of what it does.
Please help me with the next problem.

I have a door (gate) with an Ipo animation.
(the animation works when looping , but i want a triggered one shot )
The animation is a complete one, no need to remenber the state.)
the door opens, stays open for 10 seconds and closes again.
On both sides of the gate is a button.
Both buttons must be able to start the animation sequence.
I added a pict of the used Blender Objects

and use the following script.

Code: Select all

DoorButton:
   logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: DoorButtonRgn
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: responder
                ref: :DoorOpen

   
DoorButton.001:
   logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: DoorButtonRgn.001
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: responder
                ref: :DoorOpen

               
DoorButtonOneshot.001:
   logic:
      actions:
         - type: oneshot
           name: DoorButtonOneshot.001
           oneshot:
             animation: DoorButtonTouch
               
DoorButtonOneshot:
   logic:
      actions:
         - type: oneshot
           name: DoorButtonOneshot
           oneshot:
             animation: DoorButtonTouch

Door1:
    animations:
        - name: DoorOpen1
          autostart: 0
          loop: 0
    logic:
        actions:
          - type: responder
            name: DoorOpen
            responder:
               states:
                - cmds:
               - type: oneshotmsg
                params:
                  receivers:
                   - oneshotmod:DoorButtonOneshot.001
                   callbacks:
                     - marker: "DoorButtonTouch"
                     receiver: respondermod:DoorOpen                   
                   - type: animcmdmsg
                     params:
                        receivers:
                         - 006D:Door1
                        animname: DoorOpen1   
         



Image

Please for some advise to be able to continue.
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
tachzusamm
Posts: 575
Joined: Thu May 29, 2008 2:03 am
MOULa KI#: 0
Location: Germany

Re: Turtle Isle (age problems)

Post by tachzusamm »

nathan2055 wrote:What do you mean by "Before Eastern"?

Hehe. Funny how a single n can change the meaning of a word.
I'm sure he meant "Easter". (In Germany we would say "Vor Ostern", by the way. With an n at the end as well).
D'Lanor
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Turtle Isle (age problems)

Post by D'Lanor »

This should do the trick.

Code: Select all

DoorButton:
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: DoorButtonRgn
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: responder
                ref: :DoorOpen

DoorButton.001:
    logic:
        modifiers:
          - cursor: poised
            flags:
              - localelement
            activators:
              - type: objectinvolume
                remote: DoorButtonRgn.001
                triggers:
                  - any
            conditions:
              - type: activator
                activators:
                  - type: picking
              - type: objectinbox
                satisfied: true
            actions:
              - type: responder
                ref: :DoorOpen.001

DoorButtonOneshot.001:
   logic:
      actions:
         - type: oneshot
           name: DoorButtonOneshot.001
           oneshot:
               animation: DoorButtonTouch

DoorButtonOneshot:
   logic:
      actions:
         - type: oneshot
           name: DoorButtonOneshot
           oneshot:
               animation: DoorButtonTouch

Door1:
    animations:
      - name: DoorOpen1
        autostart: 0
        loop: 0
    logic:
        actions:
          - type: responder
            name: DoorOpen
            responder:
                states:
                  - cmds:
                      - type: oneshotmsg
                        params:
                            receivers:
                              - oneshotmod:DoorButtonOneshot
                            callbacks:
                              - marker: DoorButtonTouch
                                receiver: respondermod:DoorOpen                   
                                user: 0
                        waiton: -1
                      - type: animcmdmsg
                        params:
                            receivers:
                              - 006D:Door1
                            animname: DoorOpen1   
                            cmds:
                              - continue
                        waiton: 0
                    nextstate: 0
                    ncallbacks: 1
                    waittocmd:
                      - key: 0
                        msg: 0
                curstate: 0
                flags:
                  - detecttrigger
          - type: responder
            name: DoorOpen.001
            responder:
                states:
                  - cmds:
                      - type: oneshotmsg
                        params:
                            receivers:
                              - oneshotmod:DoorButtonOneshot.001
                            callbacks:
                              - marker: DoorButtonTouch
                                receiver: respondermod:DoorOpen.001
                                user: 0
                        waiton: -1
                      - type: animcmdmsg
                        params:
                            receivers:
                              - 006D:Door1
                            animname: DoorOpen1   
                            cmds:
                              - continue
                        waiton: 0
                    nextstate: 0
                    ncallbacks: 1
                    waittocmd:
                      - key: 0
                        msg: 0
                curstate: 0
                flags:
                  - detecttrigger


I added a second responder because you need different oneshots for each button, even though the door animation is the same.
"It is in self-limitation that a master first shows himself." - Goethe
Post Reply

Return to “Building”