func movelinear question

Discussion in 'Mapping Questions & Discussion' started by timberghost_paintball, Apr 1, 2008.

  1. timberghost_paintball

    timberghost_paintball L2: Junior Member

    Messages:
    77
    Positive Ratings:
    106
    I'm toying with the idea of having some moving elements in my map particularly around on the the control points. My first idea was to have the 3rd cp on a gravelpit style map on top of a large piston like platform that slowly moved up and down and paused for a few seconds at the end of each stroke. from my preliminary investigation it does not appear that the cp prop elements can be parented to a moving object so this may not work but if anyone has an idea on how to do it I would appreciate some advice. The second idea was to build some brush objects that would move up and down and temporarily block access / view to the cp with the idea that a well timed attack may be able to use these brushes to block some sentry positions for a short while.

    While I figure I can use a onFullyClosed/Open and then close/open outputs on the move linear entity to control the platform I don't know how to get it to start in the firstplace (it needs to loop without direct user input). So if anyone has any advice in general on this topic I would greatly appreciate it.
     
  2. Narkissus

    Narkissus L5: Dapper Member

    Messages:
    228
    Positive Ratings:
    9
    Logic timer seems to be the best way to get something to loop without direct user input.
     
  3. timberghost_paintball

    timberghost_paintball L2: Junior Member

    Messages:
    77
    Positive Ratings:
    106
    thanks for the info I was able to get a logic relay to do the job of getting the piston moving, now I got to figure out if I can get the cap point entities to go with it
     
  4. Pseudo

    Pseudo L6: Sharp Member

    Messages:
    319
    Positive Ratings:
    149
    To parent the entities try sending them a SetParent input ingame using a logic_auto or something. It will show up as an error while in Hammer but it should be supported by the game.

    Edit: I just did some testing. The SetParent method does work. Another method that works is to manually add the "parentname" keyvalue by turning off SmartEdit.
     
    • Thanks Thanks x 1
    Last edited: Apr 1, 2008