Creating crate that when broken, explodes random weapon entities (to be used by players)

Discussion in 'Mapping Questions & Discussion' started by EmBox, Jun 1, 2017.

  1. EmBox

    EmBox L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    Basically what the title says.
    I want to make a fun little game element for my map where at set locations in the map, random floating giant crates will spawn. When players break them open, they drop random weapons that can be picked up and used.

    I'm thinking it could be fun for newer players who haven't had a chance to try out new weapons yet - and this could be their opportunity.

    Any ideas on how I could go about making this?

    Edit: Just to clarify, I'm mostly looking towards spawning equippable weapons. I have an idea in that they could just be physics props, but I'm not entirely sure.
     
  2. Fragancia

    Fragancia L2: Junior Member

    Messages:
    82
    Positive Ratings:
    29
    You could do it with Sourcemod plugins but with the limited tools tf2 mappers are given, I'm pretty sure you can't.
    I looked up the entity tf_dropped_weapon for anything mappers could use but there's nothing so yeah, you are SOL unless you make a Sourcemod plugin.
     
    • Thanks Thanks x 1
  3. Asd417

    aa Asd417 L1: Registered

    Messages:
    697
    Positive Ratings:
    482
    • Thanks Thanks x 1