Without giving too much away about what I'm doing, let me describe the situation:
Let's say I have an Age I'm working on, and it's like Gahreesen. Meaning, I've got this really big looking building that you can see from the outside. To make things simple, the building is not rotating, or anything like the Training Center in Gahreesen is.
Okay, now as was talked about on another thread: you want your avie to be able to enter this building, BUT, you don't want to have the inside the the building in the same scene as the outside (makes the PRP file too big, or hampers performance, whatever your reasons are) scene.
So you've got the outside all done, nice a pretty, you're ready to work on the inside.
You know that you'd like to do something like Cyan did do with Gahreesen, which is have an animation of the avie entering the door, and then the animation cuts to your inside scene. The discussion on the other thread partially showed how to do that with some ALCscripting.
Wondering what Cyan did about that, you take a look at their python files, specifically grsnTrnCtrDoorExit.py and grsnTrnCtrDoorEnter.py and you'll see some very interesting things in the python script. All sorts of nifty things like:
- Code: Select all
door2CloseResponder = ptAttribResponder(7, 'door 2 close responder', netForce=1)
behaviorWalkIn = ptAttribBehavior(8, 'walk in behavior', netForce=1)
behaviorWalkOut = ptAttribBehavior(9, 'walk out behavior', netForce=1)
subWorld = ptAttribSceneobject(10, 'subworld')
startCamera = ptAttribSceneobject(11, 'enter door camera')
endCamera = ptAttribSceneobject(12, 'exit door camera')
and things like:
- Code: Select all
if (id == door1CloseResponder.id):
if (avatarEntering != PtGetLocalAvatar()):
return
print 'door closed, teleport and open other door'
endCamera.value.pushCameraCut(PtGetLocalAvatar().getKey())
PtGetLocalAvatar().avatar.enterSubWorld(subWorld.value)
PtGetLocalAvatar().physics.warpObj(arrivePt.value.getKey())
door2OpenResponder.run(self.key, avatar=PtGetLocalAvatar())
return
All sorts of goodies, like PtGetLocalAvatar().physics.warpObj(arrivePt.value.getKey()) and then you realize....."Woah, jeez, it kinda looks like I'm over my head here......let me look at the prp files...."
So you go and import one single PRP file into Blender...like lets say Garrison_District_grsnTrainingCenterHalls.prp, only there was nothing in Blender to see...

Okay, okay, I know, each PRP file will be a seperate page in the book!........only, how do I look at it? I have to import the entire Age? What the hell is the "Import Single PRP" good for then? Der.........

All right, then....uhm, trying to see if I get this right:
You want your inside building to be on a seperate PRP, okay, that means adding a page, and making sure each and everything you add has a logic property that indicates that page number, right? But you'll be building it right there in the same Scene as everything else on the outside? Right? But because you've added a page, and made sure that everything inside the building has a Page_num 2 property, etc, when you export the Age, the guts of the building will have it's own PRP file? Correct? Or not?
"What we have here, is a failure to communicate." that line from the Movie 'Cool Hand Luke' just popped in my mind. There are tutorials for how to add a page to your book. But nothing very clear on how you're doing that to have those objects in a different PRP file.