"The Cathedral" another building project

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!

Re: "The Cathedral" another building project

Postby Sirius » Sat Mar 16, 2013 12:53 pm

Oh, then, sure, it's doable (and will be a lot less tricky :D ).

The link should be easy to trigger - just put in a region triggering a Python file, which re-links the player to the Age, but at a different spawnpoint.
The thing with the wheels will be a bit harder (because of all the animation stuff), but it's doable.

I just think it's a bit weird to link back to Relto when the link is wrong... IMHO it might be better to link to a great starfield (like the one in Riven or displayed on the Rime imager), and fall until you panic-link.
User avatar
Sirius
 
Posts: 1508
Joined: Mon Jul 26, 2010 4:46 am
Location: France

Re: "The Cathedral" another building project

Postby dendwaler » Sat Mar 16, 2013 1:13 pm

Thats a good suggestion , i did not much overthink it, but the panic as fro the bharo cave is perfect to me.

As a matter the whole idea came up yesterday., and i just started to blender it.
The texture of the stones comes from a corner o f my garden.
The result of all was much better then i expected. :lol:
Sometimes it goes realy fast, other things costs many month.
Besides the stargate there is no animation yet.

I will animate the top of the gate .
The part that looka like a lamp.
The four leaves around it will close and the gate will disapear the lamp turns off.
Make the right code the leaves open flowerlike and the gate apears.
Thats the idea.

In each golden knob on the side will be a hole with a Dni cipher in it.
And a button to increment the value by 1
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
Location: Nederland

Re: "The Cathedral" another building project

Postby janaba » Sat Mar 16, 2013 1:42 pm

dendwaler wrote:As a matter the whole idea came up yesterday., and i just started to blender it.
The texture of the stones comes from a corner o f my garden.
The result of all was much better then i expected. :lol:
Sometimes it goes realy fast, other things costs many month.

That's the fate and the path of the artists ... very nice ... :P
Image
User avatar
janaba
 
Posts: 918
Joined: Sun Feb 05, 2012 3:27 pm
Location: Berlin, Germany

Re: "The Cathedral" another building project

Postby dtierce » Sat Mar 16, 2013 4:12 pm

The aspect and mechanism of your portal catcher sounds like it would work very similarly to the pod portals except for the destination. Its a region that you simply walk into and get linked to another location. Maybe someone familiar with the scripting can point you to the file containing the pod portal code so you could adapt it to your purpose. As an option, you could put a return portal at the destination to make it a 2-way portal (like a door).

Apart from the obvious time delay during linking, this concept could be used to implement a Tardis doorway.
MOULa-KI: 15763576
GEHN-KI: 00022090
DI-KI: 00145074
User avatar
dtierce
 
Posts: 66
Joined: Tue Apr 29, 2008 10:45 pm
Location: Oklahoma City, Ok.

Re: "The Cathedral" another building project

Postby dendwaler » Sun Mar 17, 2013 12:51 am

I am aware of the time delay .
This one way link is part of a more complex puzzle. The visitor has to do several things on several places.
The position of the machine as shown in this scene will not be the place where it will be placed in game.
I cannot tell more about this yet.
I forget about the tuning option in this age, i will keep it simple as possible just a turn on/ off toggle.
Maybe in a next project i reuse it with that tuning to a link option, when the ideas about how to tune it are more matured.
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
Location: Nederland

Re: "The Cathedral" another building project

Postby Sirius » Sun Mar 17, 2013 2:53 am

dtierce wrote:The aspect and mechanism of your portal catcher sounds like it would work very similarly to the pod portals except for the destination. Its a region that you simply walk into and get linked to another location. Maybe someone familiar with the scripting can point you to the file containing the pod portal code so you could adapt it to your purpose. As an option, you could put a return portal at the destination to make it a 2-way portal (like a door).

Apart from the obvious time delay during linking, this concept could be used to implement a Tardis doorway.

The Pod Portals are a very simple box that triggers a linking responder when you walk through it. It's all in the PRP, the only coding is to check when the portal should be shown.
However in Fan-Ages, it is usually better to use a Python script in the Offline-KI, which avoids instancing errors (such as linking to a non-public Age, or having a wrong Age name displayed on the KI). So the link should rather be triggered in the Python script.

Linking could be used for a Tardis, but a portal-like effect would be more fun.
User avatar
Sirius
 
Posts: 1508
Joined: Mon Jul 26, 2010 4:46 am
Location: France

Re: "The Cathedral" another building project

Postby D'Lanor » Sun Mar 17, 2013 5:24 am

If you just want to link to a spawn point in the same age you do not have to do a full relink. This is why we have a fake link. You'll have to use a Python file but don't worry, it would be as short as this:

Code: Select all
from Plasma import *
from PlasmaTypes import *
actRegion = ptAttribActivator(1, 'Region activator')
class <PythonFileName>(ptModifier,):

    def __init__(self):
        ptModifier.__init__(self)



    def OnNotify(self, state, id, events):
        if ((id == actRegion.id) and state):
            TargetObj = PtFindSceneobject(<SpawnPointName>, PtGetAgeName())
            PtFakeLinkAvatarToObject(PtGetLocalAvatar().getKey(), TargetObj.getKey())



#glue section here

"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: "The Cathedral" another building project

Postby Sirius » Sun Mar 17, 2013 6:28 am

I forgot about this function !
I was thinking about warping the avatar to the spawn point, but it wouldn't play any sound or fade the avatar.
This function just misses a screen fade IMO.

However, it might be better to find the spawnpoint in OnServerInitComplete and put it in a global variable. Or pass the spawnpoint as an argument. PtFindSceneobject is quite slow, when turning on and off the force grid in Jalak with the Offline-KI, for instance the game freezes for a second (it might not happen on faster computer, though).
User avatar
Sirius
 
Posts: 1508
Joined: Mon Jul 26, 2010 4:46 am
Location: France

Re: "The Cathedral" another building project

Postby D'Lanor » Sun Mar 17, 2013 6:29 am

Oops, let's make that a little longer for multiplayer compatibility because we don't want to fake link every age player...

Code: Select all
from Plasma import *
from PlasmaTypes import *
actRegion = ptAttribActivator(1, 'Region activator')
class <PythonFileName>(ptModifier,):

    def __init__(self):
        ptModifier.__init__(self)



    def OnNotify(self, state, id, events):
        if ((id == actRegion.id) and state):
            if (not PtWasLocallyNotified(self.key)):
                return
            TargetObj = PtFindSceneobject(<SpawnPointName>, PtGetAgeName())
            PtFakeLinkAvatarToObject(PtGetLocalAvatar().getKey(), TargetObj.getKey())



#glue section here



Edit: I can make a prettified version which properly passes the scene object to Python. That is, if dendwaler wants to use this.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: "The Cathedral" another building project

Postby D'Lanor » Sun Mar 17, 2013 6:51 am

Oh well, here is the prettified version anyway. :)

Python code Show Spoiler

Alcscript Show Spoiler
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

PreviousNext

Return to Building

Who is online

Users browsing this forum: No registered users and 3 guests