Spawning items from dead monsters
Note: This tutorial assumes you already have the basics of a level, ie. a hollowed box and a player start inside it. =]  

For this tutorial we'll be creating a monster that when killed, drops and item. 

Step 1: 

Add a monster to your map. The type doesn't matter, I used an Infantry for my example.

Step 2: 

Select the monster and goto it's property panel. Click on (new field) and add an item field. For it's value, put the string of the item that you want to have the monster spawn when it dies. Below is a chart of strings that you'll probably want to use.
 
Items
item_armor_body
item_armor_combat
item_armor_jacket
item_armo_shard
item_power_screen
item_power_shield
item_quad
item_invulnderability
item_silencer
item_breather
item_enviro
item_ancient_head
item_adrenaline
item_bandolier
item_pack
item_health
item_health_small
item_health_large
item_health_mega
Weapons
weapon_shotgun
weapon_supershotgun
weapon_machinegun
weapon_chaingun
weapon_grenadelauncher
weapon_rocketlauncher
weapon_hyperblaster
weapon_railgun
weapon_bfg
Ammo
ammo_shells
ammo_bullets
ammo_cells
ammo_grenades
ammo_rockets
ammo_slugs
Keys
key_data_cd
key_power_cube
key_pyramid
key_data_spinner
key_pass
key_blue_key
key_red_key
key_commander_head
key_airstrike_target
    note
    dropped weapons contain no ammo and you can only
    have a monster drop one item. 

That's it! Go loot some monsters!

Back to index | Download the map and bsp

Copyright ©1998 Bryan Beretta and Lithium Software. All rights reserved. Permission required for
use of any and all material found on or downloaded off this site for purposes other than learning.