Spawn a prop

Discussion in 'Mapping Questions & Discussion' started by Stickeyjam, Sep 21, 2010.

  1. Stickeyjam

    Stickeyjam L2: Junior Member

    Messages:
    52
    Positive Ratings:
    1
    I had a look around Google on how to spawn objects in game, but most kept showing me tutorials on spawn rooms x.x

    I basically want a prop to be spawned in my map when a button is triggered, but I don't know what I need to use to spawn the object. I'm trying to make it spawn a football.

    Anyone got any ideas on how to do this?
     
  2. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
  3. Stickeyjam

    Stickeyjam L2: Junior Member

    Messages:
    52
    Positive Ratings:
    1
    Ah, point templates, thanks very much.
     
  4. Stickeyjam

    Stickeyjam L2: Junior Member

    Messages:
    52
    Positive Ratings:
    1
    Is there anyway to make this spawn a physics prop? I want it to spawn one of those TF2 birthday balls when triggered, but I can only get it to spawn items, like item_ammopack_full.
     
  5. HellJumper

    aa HellJumper

    Messages:
    812
    Positive Ratings:
    373
  6. Stickeyjam

    Stickeyjam L2: Junior Member

    Messages:
    52
    Positive Ratings:
    1
    Cheers, turns out it was working but it won't spawn this model models/props_gameplay/ball001.mdl. Anyone know why? It shows up in Hammer but when I get in game it doesn't show.
     
  7. HellJumper

    aa HellJumper

    Messages:
    812
    Positive Ratings:
    373
    Have you tried prop_physics_override?
     
    • Thanks Thanks x 1
  8. Stickeyjam

    Stickeyjam L2: Junior Member

    Messages:
    52
    Positive Ratings:
    1
    Brilliant, I just read up on what prop_physics_override is and it's very handy. Thanks for all your help HellJumper777 and Terr.
     
    • Thanks Thanks x 1
  9. HellJumper

    aa HellJumper

    Messages:
    812
    Positive Ratings:
    373
    No problem!