Zombie Master

Find a randomly spawn item

Find a randomly spawn item

Find a randomly spawn item Tutorial screenshot
  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.

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
    436 points Ranked 8051st
    Member Joined 6 years ago
    Report post
    6 years ago:
    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
    Mantra
    Hammerheart
  • zeiser12 avatar
    zeiser12 Offline
    Member Joined 7 years ago
    Report post
    6 years ago:

    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

    7.7/10

    Mess with the best, die like t

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Screenshots

Credits

About this module
This module lists all those involved in the creation of this Tutorial.
Key Authors
LordJeckyll
Writer

Submitter

Bellota avatar
Bellota Offline
436 points Ranked 8051st
Member Joined 6 years ago

Bellota
Creator

Category

About this module
This module displays this Tutorial's category.
Mapping

Game

About this module
This module displays what game this Tutorial is for.
Zombie Master
Zombie Master

Details

Genre
Mapping
Difficulty Level
Intermediate

Stats

Posts
2
Views
2,267
Date Added
6 years ago
Jan 25 2010 @ 6:39pm UTC
Date Modified
3 years ago
Jan 5 2013 @ 1:11am UTC

Rating

About this module
This module shows the average user rating of this Tutorial.
7.7

Ratings Breakdown

About this module
This module shows how the ratings are dispersed among the criteria.
CriterionAvg.VotesRange
Overall 7.7 1 -

More Tutorials from Bellota

WiPs by Bellota