Is it possible to create a shooting tank

Discussion in 'Mapping Questions & Discussion' started by </J0N4F1R3>, Jul 23, 2016.

  1. </J0N4F1R3>

    </J0N4F1R3> L1: Registered

    Messages:
    9
    Positive Ratings:
    0
    I saw in the frontline demonstration that the tank was shotting.
    How can i do that?
     
  2. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    1,005
    Positive Ratings:
    1,157
    The pack download comes with a vmf called frontline_demo (in the mapsrc folder) that you can open in Hammer to see how all the entities are set up. If you look at the logic_relays near control points 1 and 4, you'll see that they contain a list of all the events (outputs) that happen during a "shot". To put it simply, each "shot" is made up of the tank model playing an animation, a separate explosion where it "shoots," and some other effects like particles and sounds.
     
  3. </J0N4F1R3>

    </J0N4F1R3> L1: Registered

    Messages:
    9
    Positive Ratings:
    0
    I think it just works for the payload tank
     
  4. Crowbar

    aa Crowbar perfektoberfest

    Messages:
    1,440
    Positive Ratings:
    1,191
    IIRC the regular tank model has a shooting animation too.
     
  5. </J0N4F1R3>

    </J0N4F1R3> L1: Registered

    Messages:
    9
    Positive Ratings:
    0
    I realy didn't want to do all that stuff to make the tank shoot.
    I'll just do something else.
     
    • Respectfully Disagree Respectfully Disagree x 1
  6. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    1,005
    Positive Ratings:
    1,157
    You don't have to do it all yourself - feel free to copy the entities you need from the demo, and then edit them so that they do what you want in your own map.