item_dynamic_resupply

Half-Life 2 HL2
item_dynamic_resupply by BJ
Posted 18 years ago2006-05-17 13:47:50 UTC • Examples • Half-Life 2
Loading...
Screenshot Thumbnail
Name
item_dynamic_resupply
By
BJ BJ
Type
Map
Engine
Source
Game
Half-Life 2
Category
Examples
Included
BSP, RMF/VMF
Created
18 years ago2006-05-17 13:47:50 UTC
Updated
18 years ago2006-05-17 13:47:50 UTC
Views
4728
Downloads
945
Comments
0
Download

Run the bsp. Go through one doorway to make the crates yield pistol ammo. Go through the other doorway to make the crates yield 357 ammo.

Each doorway trigger sets a different master item_dynamic_resupply. When a crate is broken, it yields the type of ammo determined by the current master.

You can break a crate or two, go through the other doorway and break more crates to get different ammo.

In-game, you can force item_crates to yield the type of ammo which the player most likely needs. E.g., at the beginning of a level, a player with only a pistol will need pistol ammo, not AR ammo. Later on, after obtaining an AR, AR ammo will be more useful.

Set triggers at appropriate places in your map to set an appropriate item_dynamic_resupply to be master.

Comments

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