Announcement

Collapse
No announcement yet.

Portal that sends player to another MAP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Portal that sends player to another MAP

    Hi all,

    I want to know how to make a portal that when activated, will send the player to another map that I have created.

    I thought it was as simple as adding a trigger, connecting that to Console Command, inputting the command "open MyMap" and attaching All Players variable to Console Command's Target node.

    But that didn't work.

    Does anyone know how I can achieve this?

    Thanks

    #2
    When you were testing your Kismet solution, did you only test it in the editor or did you actually test it by running the actual game? Map transitions do not work when playing in the editor.

    Also, the description of the URL property of a Teleporter states:

    Code:
    //-----------------------------------------------------------------------------
    // Teleporter URL can be one of the following forms:
    //
    // TeleporterName
    //		Teleports to a named teleporter in this level.
    //		if none, acts only as a teleporter destination
    //
    // LevelName/TeleporterName
    //     Teleports to a different level on this server.
    //
    // Unreal://Server.domain.com/LevelName/TeleporterName
    //     Teleports to a different server on the net.
    //
    var() string URL;
    So that is one definite way to achieve this if you are open to using a teleporter actor.

    Comment


      #3
      *face palm*

      I was testing it in Editor

      It works when I actually play the map.

      Thought during the loading screen it went "Not Responding" before it eventually opened the desired map.

      Thanks though ^^

      Comment


        #4
        In my case, Portal that sends player to another MAP on the net (on Dedicated Server type).

        I create two maps with Teleporter Actor Classes (Tel1.udk & Tel2.udk).
        In each of them I named Tags and fill URL addresses, acording to Teleporter URL definition.

        Tel1.udk map has
        Tag=T1,
        URL=Unreal:127.0.0.1/Tel2.udk/T2

        Tel2.udk map has
        Tag=T2,
        URL=Unreal:127.0.0.1/Tel1.udk/T1

        (where 127.0.0.1 is localhost )

        In Editor I do Build All (without errors or warnings) and in Unreal Frontend I cooked both maps.
        Next I run Dedicated Server Tel1 map, and Dedicated Server Tel2 map (Both are runing).
        Then I run Client Tel1 (I selected Tel1 and in Server I choose Add Client).
        After I did that, in the console title of dedicated server Tel1 show "(1 Player)". So far so good

        After Spawn on the map Tel1, I enter to Teleporter T1, with supposed to load second map Tel2, and Spawn me in T2 Teleporter (or at least in PlayerStart, placed in Tel2 map). Unfortunately it load Tel1 map, and again I can spawn on Tel1 map (it show me that I have left the map).

        I also tried to change URL address in both maps, without results (e.g. Tel1):
        URL=localhost/Tel2.udk/T2
        URL=localhost/Tel2/T2
        URL=Unreal:127.0.0.1/Tel2.udk/T2
        URL=Unreal://127.0.0.1/Tel2.udk/T2
        URL=127.0.0.1/Tel2.udk/T2
        URL=127.0.0.1/Tel2/T2
        URL=127.0.0.1/Tel2?Name=Player?Team=255?game=UTGame.UTGame#T2
        URL=127.0.0.1/Tel2.udk?Name=Player?Team=255?game=UTGame.UTGame#T 2
        URL=127.0.0.1/Tel2#T2
        URL=127.0.0.1/Tel2.udk#T2
        URL=127.0.0.1/Tel2#T2?peer
        URL=127.0.0.1/Tel2.udk#T2?peer

        Is that what I try to do even possible ?
        Where I made a mistake? Is anyone able to help ?

        I add console logs from Client and Server Tel1 (I would put the log form Tel2 Server, but nothing has happened there).
        Teleporter.zip

        Comment


          #5
          Translocator...

          Comment


            #6
            What ?

            I thought that there was no Translocator in UDK ...

            Comment

            Working...
            X