Random events

Half-Life 2: Episode 2 EP2
Random events by Madcow
Posted 16 years ago2008-01-05 14:40:09 UTC • Examples • Half-Life 2: Episode 2
Loading...
Screenshot Thumbnail
Name
Random events
By
Madcow Madcow
Type
Map
Engine
Source
Game
Half-Life 2: Episode 2
Category
Examples
Included
BSP, RMF/VMF
Created
16 years ago2008-01-05 14:40:09 UTC
Updated
16 years ago2008-02-24 10:00:32 UTC
Views
2917
Downloads
884
Comments
0
Download

In the middle of my work on a whole other example map I figured out a way to make random events happen in a specific or random time interval (that would depend on how you setup the logic_timer)

"The random setup" will be in my other example as well, but it will not look the same and will probably be too messy for those who just want to know how to do that specific thing, so I am releasing this separate from the other map.

So basically what this setup does it that it displays a random number every 3rd second.
Not that much? No, but the entity setup can be used to launch any kinds of events!
Very easy to do.
Could for example be used to make combats play out differently each time.

Entities used: Logic_timer Logic_case and Logic_auto, which I am not sure if it is necessary but I put it in just to be sure that the timer would launch.

Oh well, enjoy.

HOW IT WORKS:
A logic_case is setup with 5 different outputs.
OnCase01, OnCase02 etc...

The logic_timer, which is set to recharge every time it fires the "OnTimer" output, which is every 3rd second.
The On Timer has a special output directed at the logic_case, which tells it to draw one of the 5 possible outputs.

Very, very useful IMO.

Other notes:

This map was made in the EPISODE TWO VERSION OF HAMMER and so the BSP will probably NOT WORK in Half-life 2 or EP1.
But the VMF should work fine.

The reason for the big room is.. well, as I said, that room is part of a whole other much more complex example.

Oh and about the screeny, well, there just wasn't much to show..

Comments

You must log in to post a comment. You can login or register a new account.