Zombie Master

Find a randomly spawn item

  1. Randomly spawning items

You will need:

a. func_button (name: button)

b. prop_dynamic (name: keys)

c. logic_case (name: case)

d. info_beacon (you CAN use a func_brush w/redbox texture, but its more complicated) (name: hint)

e. point_teleport (one for each possible item spawn point) (name: T1, T2, T3, etc.) Set the "entity to teleport" in the "class info" tab to "keys" for each of these.

Place your keys somewhere within the map that is unreachable by players. Wrap the button brush around them, shaped to roughly the same size, but keep it rectangular/square in shape. Place the logic_case entity with these two entities just for easy access. Place the info beacon on top of the button (if you want people to find this item VERY easily). Place each of your teleport entities in the map where you would like the item to possibly spawn. Let's say your previous objective, a hold and hack, is what enables this objective. That logic timer would need an output which reads:

ontimer; case; pickrandom

Now fill out the outputs accordingly:

--logic_case:

onCase01; T1; teleport

onCase02; T2; teleport

onCase03; T3; teleport

etc.

--func_button:

onpressed; button; kill

onpressed; nextobjectivebutton; unlock

onpressed; nextobjectivehint; enable

onpressed; keys; kill

onpressed; hint; TurnOff

And that's really all there is to it. The prop_dynamic, the beacons/hints, and the teleports are all passive elements to these objectives. They are controlled by the aggressive entity's: func_button and logic_case. They function in response to an output, and don't need to fire any direct outputs, unless of course you want them to for your own purposes. Again, these are the nuts and bolts of basic objective system elements, and with creativity and thought can be integrated into more dynamic and complicated systems.

Share

Embed HTML:
Embed BB Code:
Embed Markdown:

More embeddable images

Bookmark and Share

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

  • Bellota avatar
    Bellota Offline
    425 points Ranked 7879th
    5 medals 2 rare
    • One month a member (bonus 1 point on daily login) Medal
    • 6 months a member  (bonus 1 point on daily login) Medal
    • 1 year a member (bonus 1 point on daily login) Medal
    • 2 years a member (bonus 2 points on daily login) Medal
    • 4 years a member (bonus 4 points on daily login) Medal
    Member Joined 6 years ago
    • Report icon
    Posted by zeiser12 Make a tutorial about like how to make someone needing to pick up a valve attach it, turn it and a door opens and locks it self when it is completely open, i think i can figure that out bu-t just something to make your next tutorial about :) but great tut anywayz ill approve

    Thanks you! ill make that tutorial ;)

    Hammerheart avatar
    User Title
    Hammerheart
  • zeiser12 avatar
    zeiser12 Offline
    6 medals 3 rare
    • One month a member (bonus 1 point on daily login) Medal
    • 6 months a member  (bonus 1 point on daily login) Medal
    • 1 year a member (bonus 1 point on daily login) Medal
    • 2 years a member (bonus 2 points on daily login) Medal
    • 4 years a member (bonus 4 points on daily login) Medal
    • 6 years a member (bonus 6 points on daily login) Medal
    Member Joined 7 years ago
    • Report icon

    Make a tutorial about like how to make someone needing to pick up a valve attach it, turn it and a door opens and locks it self when it is completely open, i think i can figure that out bu-t just something to make your next tutorial about :) but great tut anywayz ill approve

    Mess with the best, die like t

Credits

Key Authors
LordJeckyll
Writer

Submitter

Bellota avatar
Bellota Offline
425 points Ranked 7879th
5 medals 2 rare
  • One month a member (bonus 1 point on daily login) Medal
  • 6 months a member  (bonus 1 point on daily login) Medal
  • 1 year a member (bonus 1 point on daily login) Medal
  • 2 years a member (bonus 2 points on daily login) Medal
  • 4 years a member (bonus 4 points on daily login) Medal
Member Joined 6 years ago

Bellota
Creator

Category

Rating

7.7/10

Details

Genre
Mapping
Difficulty Level
Intermediate

Stats

Post Count
2
ViewCount
1,971
Date Added
5 years ago
Date Modified
3 years ago