Interact Question?

Discussion in 'PC Editor Discussion' started by raptorengineer, Feb 15, 2025.

  1. raptorengineer

    raptorengineer Active Member

    Joined:
    Jan 16, 2018
    Messages:
    524
    Likes Received:
    154
    hi
    i made a few objects and wanted to try adding a animated up and down door. i saw this video and followed along in the tsw pc editor untill i got to the 12:20 mark(interact with the button).you have to add interact part to the player. well when you load in to your route there no player character. now before the update while ago there was starting player but they remove that. i am stuck.
    has anyone else made interact project for tsw?
     
  2. maxine#2143(BlackPulsar)

    maxine#2143(BlackPulsar) Member

    Joined:
    Aug 11, 2024
    Messages:
    46
    Likes Received:
    70
    I don't think you can add anything to the player controller because it's a cooked asset. Also, others won't have the same player controller. You can only make interactable things in the TSW that work like standing in a trigger right in front of the door and pressing E, based on the interact function that's already in the player controller.
     
  3. raptorengineer

    raptorengineer Active Member

    Joined:
    Jan 16, 2018
    Messages:
    524
    Likes Received:
    154
    ah ok maybe one of the dev can tell us how to make interact object.
     
  4. greggryan2

    greggryan2 Active Member

    Joined:
    Dec 21, 2018
    Messages:
    419
    Likes Received:
    179
    So you add to your actor the vhid, interaction comp there should be one under view model category.

    You then have to add a model comp like a push button, lever, etc whichever makes more sense and link the interaction comp to it.

    You can then use the delegates from push button or lever etc you add to run logic.

    I would say look at how dtg make things intractable and that should give you more of an idea
     
  5. raptorengineer

    raptorengineer Active Member

    Joined:
    Jan 16, 2018
    Messages:
    524
    Likes Received:
    154
    there is this other video witch seem simpler way to link object but i think this is unreal 5 feature. maybe DTG could fine a way to incorporate it in to unreal 4 or something.

    at the 6:00 mark seems you can drag a sampler tool over a door and you can link it to the button that way. that be awesome for unreal 4.
     
  6. greggryan2

    greggryan2 Active Member

    Joined:
    Dec 21, 2018
    Messages:
    419
    Likes Received:
    179
    so DTG have implemented their own method but there's nothing stopping you implementing something that's unique. What are you trying to do though, what are you making.
     
  7. raptorengineer

    raptorengineer Active Member

    Joined:
    Jan 16, 2018
    Messages:
    524
    Likes Received:
    154
    i wanted to make animated door for mount MacDonald portal i made and wanted to use a button to open and close the door.
     

    Attached Files:

  8. DrewK

    DrewK Member

    Joined:
    Feb 29, 2024
    Messages:
    34
    Likes Received:
    70
    I will record a video for you on how to do that tomorrow. I made a usable door using the implemented features by DTG.


    Do you want the "door" to go up?
     
  9. raptorengineer

    raptorengineer Active Member

    Joined:
    Jan 16, 2018
    Messages:
    524
    Likes Received:
    154
  10. greggryan2

    greggryan2 Active Member

    Joined:
    Dec 21, 2018
    Messages:
    419
    Likes Received:
    179
    So within you BP that you have for your door, you would add a interaction environment and then some sort of model interact, so could be a Push button, Simple lever, Irregular Lever. you then link the Interaction environment to the Model interact you've added and then on the Ouput value change delegate of the Model interact you would do your logic what ever that is you would design that
     
  11. greggryan2

    greggryan2 Active Member

    Joined:
    Dec 21, 2018
    Messages:
    419
    Likes Received:
    179
    Also, you can look at trains RVVs and RVms tbf and you'll see how its setup. the logic of what happens is literally your side
     

Share This Page