is this a sub world?

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!

is this a sub world?

Postby boblishman » Mon Aug 25, 2008 7:40 am

OK ... I have a question:

I have created a (continuously) rotating "platform" in my Age ... and it rotates perfectly :D
... however, if I jump onto the platform my Avatar stays still whist the platform under his feet continues to rotate... which looks wrong. Either the Avatar should rotate, or the Age around him should ...

Now, I was not surprised by this behaviour - as I was under the impression that if I want to make the avatar stay still, but the world AROUND the platform to rotate that I would need to make something (either the platform OR the rest of the whole Age) into a subworld ... thing is, I have read the Wiki on subworlds but it's not clear (to me anyway) how I would go about doing this ...

The "platform" is a simple, single mesh, ... rotating with an IPO curve (set to loop) ... could anyone please give me some pointers as to how I make this "platform" behave correctly ?
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: is this a sub world?

Postby Lontahv » Mon Aug 25, 2008 11:48 am

Yes, you need a subworld.

Here are some simple steps:

Make an Empty object and place it at the object center of your moving object (say a cart). Now... the point is to get the empty to move with the cart... there are two ways to do this: Make it so that you can move the subworld and move the cart together (parenting) or just animating the subworld with its own anim.

Now, I had horrible trouble with the latter option when I was trying out subworlds--it would keep sliding out from under me because it's hard to get anims to match perfectly (so it was like I had greased the deck on my ship "the Cube.001" :P ok, it was tramatic when you'd slip off).

So I suggest you parent your subworld empty to your cart (and delete the current anim for the cart and give that to the subworld). So, select the cart (or whatever you have) and then select the empty (subworld) and press CTRL+P in object mode.

I won't go into too much detail about the IPOs and unhooking them from the object because I assume you kinda know what I'm talking about.


Ok, now try grabbing your subworld... your cart should move as well. Now animate the subworld or switch the empty to use the cart's IPO and delete the link to the cart (what I was talking above).


Now that you have your cart following your empty you can start the fun stuff (err fun for me at least :P ).


Give your subworld the alcscript properties (just add this to your current alcscript stuff if you already have stuff set for this object):

Code: Select all
<object>:
    type: subworld


Ok, now make the entrance-region:

Add an object (say cylinder in this case for your spinning thing), place it where you want to be under the influence of your subworld and add this script:

Code: Select all
<object>:
    type: region
    regiontype: subworld
    region:
        subworld: <subworld-object name>


Ok, now make the objects you want to collide with when you are in the subworld have this script:

Code: Select all
<object>:
   physical:
       subworld: <subworld-object name>


Remember that the objects are not colliders in the regular world if you make them colliders for the subworld.

Now you need an exit region... try looking over the different ways you can do this in the wiki (that part's pretty clear).

Oh, and there are enter and exit regions... they're like doors in and out of the subworld (so exiting the entrance region won't help you after you've entered the region).

If you have questions just ask. :)
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: is this a sub world?

Postby boblishman » Mon Aug 25, 2008 1:09 pm

Cheers Lon ... works like a dream ... now I have my own "Gahraseen" ... :D
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: is this a sub world?

Postby Lontahv » Mon Aug 25, 2008 1:20 pm

:D
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: is this a sub world?

Postby Aloys » Mon Aug 25, 2008 4:27 pm

Semi-related questions while we're on the topic of subworlds (sorry to hijack your thread Bob, I promise it won't be long)
Is it possible to have multiple entry & exit regions? For an elevator that stops at various floors or something similar.
User avatar
Aloys
 
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
Location: France (GMT +1)

Re: is this a sub world?

Postby Lontahv » Mon Aug 25, 2008 5:48 pm

Aloys wrote:Semi-related questions while we're on the topic of subworlds (sorry to hijack your thread Bob, I promise it won't be long)
Is it possible to have multiple entry & exit regions? For an elevator that stops at various floors or something similar.


Yes.

Like Pahts and the boats would be. ;)
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: is this a sub world?

Postby boblishman » Wed Aug 27, 2008 9:05 am

ok... if you want to see the Sub-World "in action" ...download the latest version of Sonavio ... from HERE

It's not much to look at ... but it works! ... :D

you find it by the lake ...
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: is this a sub world?

Postby diafero » Thu Aug 28, 2008 12:08 pm

It works :)
However, it has some flaws...
a) it's very hard to jump on it... perhaps you could make the lower stone about half as high as it is now?
b) The sound is somewhat wired. When approaching the stone in 3rd person, my avatar can stand right next to the stone and I hear nothing. The reason is that the position of the camera is used for the sounds. Maybe you could make the sound region bigger and the fade slower so that it feels realistic in 3rd person as well?
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
diafero
Deep Island Admin
 
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
Location: Germany

Re: is this a sub world?

Postby boblishman » Thu Aug 28, 2008 1:19 pm

well ... to respond to the "flaws" ...

a) It's just a small rotating stone ... it is meant to be a surprise/reward for anyone who does manage to jump onto it ... It's not really anything "major" or "puzzle-connected" ... just a little "folly" ...

b) Again, as it's not anything "important" within the age, I didn't want to make the sound too intrusive to the gameplay ... so I deliberately kept the sound quite quiet when you are in 3rd person. (Although I do agree that the way Uru uses the camera as the players "ears" is not (IMHO) ideal ... it would make much more sense if the game used the avatars head to locate sound ... )
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: is this a sub world?

Postby Grogyan » Fri Aug 29, 2008 4:32 pm

My comment on that stone is that I was expecting it to do more, and found I couldn't actually jump on it, so I was wondering why you made it a sub world in the first place when a simple animation with an invisible collision around it would be fine.

I was wondering though whether it'd e part of a puzzle, like getting down into that hidden room, yes I did try all the buttons and levers.

I think personally that if the stone had a symbol at one point in its circumference, that its up to the player to best estimate when he/she can push the button to open the door at the right time.
Better to have loved and lost than never to have loved at all
User avatar
Grogyan
 
Posts: 1203
Joined: Thu Oct 11, 2007 1:27 am

Next

Return to Building

Who is online

Users browsing this forum: No registered users and 9 guests