Jump to content

Home

set a door to teleport you to a (xyz?)


randydg

Recommended Posts

Is there anyway to set a door to teleport you to a location (x,y,z)

even a zone like for example have a door in narshadar jump you to 601dan at (x,y,z)

thanks for any help. i need to see about this to complete a mod.

Link to comment
Share on other sites

You can use a script on the OnClick door event or place a trigger just behind the door that fires when the player passes through the door.

 

However, you must create a waypoint in 601DAN at the XYZ coords you want to jump to. Shouldn't be a problem for you since you're repacking the .git file into a .mod.

 

See this thread and this thread for more information.

Link to comment
Share on other sites

i'm still having problems, it could be i'm running on little sleep so im not thinking to clearly. Here is what i want to do. I want the locked door on 202tel to warp me to 950COR but i somehow need to pass all the characters talking and have it take me streight to x,y,z i have the cords im just having problems getting my door to skip the dialogs and go streight to the jedi academy by the door.

anyone that can help me fix this delima would be greatfull. but i guess im off to bed to clear my mind. be great by the time i wake up and have a solution here :p

Link to comment
Share on other sites

The first thing you should test is the script that will transport you. Once you get that, the rest is just window-dressing. Do you know the waypoint (not just the coords) you want to arrive at? If you don't know which waypoint to use, use Darth333's whereami armband near the vicinity you want to arrive at and write down the name of the nearest waypoint.

 

Having that you invoke the script that looks like

void main() {
StartNewModule("950COR","waypoint-name");
}

 

Maybe you've done these things already...? :)

Link to comment
Share on other sites

yea, i already have that script but its not working. i have that script on my door in 202tel but nuthing on my door yet in 950cor.

and all i get is blackness. i it has to do with the characters. there not realy there in that "zone" if you look under 950cor_s.rim under characters you won't see them or under 950cor.git.

if i can find out how they are talking (script or whatnot) and delete that then maybe it might work?

Link to comment
Share on other sites

Originally posted by randydg

i it has to do with the characters. there not realy there in that "zone" if you look under 950cor_s.rim under characters you won't see them or under 950cor.git.

if i can find out how they are talking (script or whatnot) and delete that then maybe it might work?

 

950COR (the stage for the meeting after leaving Telos Academy and the trial flashback) has an OnAreaEnter script called a_play_mov that sets up the cutscene and starts the conversation whenever the player enters the area. That script looks something like this:

 

// ST: a_play_mov.nss (a_play_mov.ncs in 950COR_s.rim)

#include "k_inc_glob_party"

void main() {
   if (GetLoadFromSaveGame())
       return;

   object oEnter = GetEnteringObject();

   if (oEnter == GetFirstPC()) {
       SetGlobalFadeOut();
       SetFadeUntilScript();

       SetNPCSelectability(NPC_BAO_DUR, TRUE);
       SetNPCSelectability(NPC_ATTON, TRUE);
       SetNPCSelectability(NPC_KREIA, TRUE);
       SetNPCSelectability(NPC_T3_M4, TRUE);

       ClearPlayerParty();
       SpawnAllAvailablePartyMembers();

       if (GetGender(oEnter) == GENDER_MALE) {
           CreateObject(OBJECT_TYPE_CREATURE, 
                        "p_handmaiden", 
                        GetLocation(GetObjectByTag("WP_gspawn_handmaiden")));
       }

       object oAtton = GetObjectByTag("Atton");
       AssignCommand(oAtton, ClearAllActions());
       AssignCommand(oEnter, ClearAllActions());

       AurPostString("ABOUT TO START HOLOREC", 5, 18, 10.0f);

       DelayCommand(1.0, AssignCommand(oAtton, 
                         ActionStartConversation(oEnter, 
                                                 "holorec", 
                                                 FALSE, 
                                                 CONVERSATION_TYPE_CINEMATIC, 
                                                 TRUE))
                    );
   }
}

Link to comment
Share on other sites

ROFL HAHA ok i'll make you a stargate. umm lets see. this is what i need..

 

1. a force field on both ends

2. a triger on the force field that when you click on it it takes you to the other side.

3. wala there ya go, now where is my award :p

Link to comment
Share on other sites

ROFL HAHA ok i'll make you a stargate. umm lets see. this is what i need..

 

1. a force field on both ends

2. a triger on the force field that when you click on it it takes you to the other side.

3. wala there ya go, now where is my award :p

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...