Game Development Community

Turn off Ghosting

by CdnGater · in Torque Game Engine · 07/27/2004 (1:21 pm) · 4 replies

Is there a way not to ghost interiors until required?

Think of a mission that has 10 interiors that are appartments, I just want to send the appartment that the player is in, not all the others in the mission. The player will never see the other 9 ever. Other players would access the other appartments. I'm trying use one server for this, not 10 seperate ones.


humm, I see ghost_always as a flag in interior, but no way to turn it off. If I turned them all off somehow, and then only turn on the one for the players appartment, would that do what I am looking for?

Thanks

#1
07/28/2004 (3:48 am)
Look at the trigger code, by default they are NOT ghosted unless editing, I don't have my code to give an example but I belive the ghosting is detrimned by a net flag, in the constructor. Also look in the onEditorEnabled() function and it's counter part to toggle the ghosting aspeck.

Anthony
#2
07/28/2004 (5:17 am)
Ah similiar to way FFXI online handles apartments. Each Client simply goes to thier private "apartment".

Tho everybody is stepping through the threshold. You warp to your house. and once you leave you appear back outside the common area.

I thought about something similiar simmon, but the way I layed it out on paper was a entire seperate mission. that contain all the apartments-similiar to Asheron call Apts. This "Mission Area" would be the place the clients get send to when they warp to thier apartments.

And like FFXI since everyone must request and acknowledge something from server. A Client just click on a object or step in the "Trigger" to be sent back to the area they last came from.

Anyway I hope to hear how you got yours working. I want to use the send to server trigger resource but it needs to be refined to send clients to specific places on the new server. A hybrid of the teleportation and the mission trigger resource could do it.

John H.
#3
07/28/2004 (5:48 am)
Johnny,

Thats close to what I want to do. Except I want to take it one step further yet. Instead of having all the apartments already in the mission, I want to dynamicaly add them and their contents.

I am forseeing code and script changes for this, it would have to be it's own dedicated server.

But will keep you informed, this is top priority for me at the moment.
#4
07/28/2004 (9:24 pm)
I see what your saying Simon but when you say Dedicated server you mean just the information about each Client Apt and the details about them. A database server link to the torque mission.

or a dedicated torque server is just waiting for clients to connect to it?

John H.