make her fly!...er..sway.

Discussion in 'Mapping Questions & Discussion' started by Twist.vmf, Dec 6, 2016.

  1. Twist.vmf

    Twist.vmf L6: Sharp Member

    Messages:
    362
    Positive Ratings:
    133
    anybody know how to make an object sway side to side, and make it so players can safely interact with it?
    211377-full.png
    like this?
     
  2. Vel0city

    aa Vel0city personal pick-pocketing parrot

    Messages:
    1,883
    Positive Ratings:
    1,488
    This is Source.

    Which basically means forget it. If you've played on the balloon race servers you know how much of a bitch Source is with moving platforms and players on top of said moving platforms.

    You can make an airship model, animate it so it sways gently and put it on a pre-set course like a payload cart, but if players were to stand on top of that you'd basically enable godmode for them. You have side to side movement plus up and down movement and Source just doesn't like that.
     
    • Thanks Thanks x 1
  3. Twist.vmf

    Twist.vmf L6: Sharp Member

    Messages:
    362
    Positive Ratings:
    133
    okay, so no moving things you can interact with, so how do i make it move without compensating for players
     
  4. Phil25

    Phil25 L1: Registered

    Messages:
    49
    Positive Ratings:
    8
    Model + animation is your best choice.
     
  5. Twist.vmf

    Twist.vmf L6: Sharp Member

    Messages:
    362
    Positive Ratings:
    133
    how do i do that?
     
  6. Phil25

    Phil25 L1: Registered

    Messages:
    49
    Positive Ratings:
    8
    Make a model with a swaying animation, set it to a prop_dynamic and move it around.
     
  7. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,372
    Positive Ratings:
    4,167
    Players will also get stuck inside animated props if said prop's animation moves through them.

    Your best bet is to just have other, inaccessible islands moving around, while the playable space stays still

    Also bear in mind that having the entire playerspace be moving will also make it impossible to optimise since everything will be entites (which don't block visibility)
     
    • Agree Agree x 1
  8. MaccyF

    aa MaccyF Notoriously Unreliable

    Messages:
    900
    Positive Ratings:
    1,443
    if this is in order to make the play-space appear to float in a map for your sky fortress project, you're better off making the other islands move, as it will imply that the one you're fighting on is moving too.

    If you made all the non-playspace islands/ objects move in their own way, then parented all of the entities causing the motion to a different moving entity, it would give the illusion of your island moving/ swaying.
     
    • Agree Agree x 1
  9. Twist.vmf

    Twist.vmf L6: Sharp Member

    Messages:
    362
    Positive Ratings:
    133
    thank you all, BUT my question was more on how do you make something, anything, move!?
     
  10. Vel0city

    aa Vel0city personal pick-pocketing parrot

    Messages:
    1,883
    Positive Ratings:
    1,488
    Move what? Be specific please.
     
  11. Tuaam

    Tuaam L6: Sharp Member

    Messages:
    326
    Positive Ratings:
    185
    If you're making a skyfortress, why not make the sky / cloud layer move slightly up and down?
     
    • Like Like x 1
  12. Asd417

    aa Asd417 L1: Registered

    Messages:
    697
    Positive Ratings:
    482
    But if you have animated prop with collision disabled and somehow tie it to a brush or sort, it can be done
     
    • Like Like x 2
  13. Twist.vmf

    Twist.vmf L6: Sharp Member

    Messages:
    362
    Positive Ratings:
    133
    like on a path in the sky, so i can have stuff circle the play area, or move as points are captured

    stuff a player can't touch
     
  14. Cytosolic

    Cytosolic L4: Comfortable Member

    Messages:
    184
    Positive Ratings:
    148
    Parent the entities you want to move to a func_tracktrain and place path_tracks where you want the train to move to. There's probably a better way that I don't know.
     
    • Thanks Thanks x 1
    • Like Like x 1