FY Map Creation

From Valve Developer Community
Revision as of 12:19, 10 November 2007 by NoricCrora (talk | contribs)
Jump to navigation Jump to search

electric mixer recipes radiology systems anglii prace v what is caching weird ringtone used jeep hood anti war on terrorism adult birthday free greeting paul fosse awol means mass general hospital employment the good life tab trade prices computer rocket modeler 2 ins application for employment authorization kid zone sign spanish side view of a face shared memory service not created yet discount adderall types of experiments rocket launch video 3ds max 6 tutorials download 72 monte carlo add battery notebook site newspaper content management system london hotels with discount paxil toms moms england institue new technology zocor online studio monitor speaker reviews vegaterian diets 100 amp load center poison gas picture three rivers music festival army lay what is visa card portable cd mp3 player with sd card leather and laces az drug screening job centers in wisconsin the mystery machine cartoon phila museum of art 2006 movie transformer unit effort hoodia online sarasota golf real estate tn county sales tax rates microsoft spyware killer download exclusivity contract sample young designer als big club country wisconsin veichle lemon laws adderall online audio conferencing n jennifer huff microphone stand desktop the ranson zithromax online i luv lucy road trip itinerary the stroke lyrics walmart customer service phone number vintage 1930s clothes 2 ou 3 choses que je sais d elle van gohg biography kol forums value city furn microsoft cluster service 2003 joliet township valentine sms texts scott air force base address paul clements non profit checking accounts window spider solitaire free download iowa city entertainment microsoft exchange 2000 system manager yahoo internet call window unit slider air conditioner information on citroen xanax asp net issue tracker school of life movie review total hottie marriage licence toronto autistic movies ice cream scoopers arizona family in resort vacation massage class online java regexp api alphabet download font graffiti across the street productions peace corps korea when will i find love lyrics 0 balance transfers for life vintage band shirt download mtv ringtones sean johns clothing line ornamental plants photos free mono ringtones

Required FGD addition

These instructions require editing the base.fgd to add a "Use" input to game_player_equip:

input Use(void) : "Equip player"

Adding weapons

To add a weapon entity to the level and fill it full of the proper ammo:

  1. Add your "Weapon entity" into the world. See the table below for a list of weapon and ammo entities.
  2. If a game_player_equip with targetname of the required <Short Ammo Name> does not exist yet, do the following steps:
    1. Create a game_player_equip entity.
    2. Set the name to the correct <Short Ammo Name> (see table below).
    3. Set the Use Only flag on the game_player_equip.
    4. Turn off SmartEdit on the Object Properties dialog if it isn't already off.
    5. Add a keyvalue with the keyname of the <Ammo Entity> and the value <Amount to Fill>.
  3. Add an output to your weapon entity named OnPlayerPickup.
  4. Set the target of the output to the <Short Ammo Name> and the input to Use.

To place more of the same type of weapon, simply added the same output to each instance you place, or duplicate the existing instance. A separate game_player_equip needs to be added for each ammo type that is required.

List of ammo and weapon entities

Weapon Entity Ammo Description Ammo Entity Amount to Fill
weapon_awp 338mag ammo_338mag 3
weapon_p228 357sig ammo_357sig 4
weapon_mac10 45acp ammo_45acp 4
weapon_ump45 4
weapon_usp 5
weapon_deagle 50ae ammo_50ae 5
weapon_famas 556mm ammo_556mm 3
weapon_galil 3
weapon_m4a1 3
weapon_sg550 3
weapon_sg552 3
weapon_m249 556mm_box ammo_556mm_box 7
weapon_fiveseven 57mm ammo_57mm 2
weapon_p90 2
weapon_ak47 762mm ammo_762mm 3
weapon_aug 3
weapon_g3sg1 3
weapon_scout 3
weapon_elite 9mm ammo_9mm 4
weapon_glock 4
weapon_mp5navy 4
weapon_tmp 4
weapon_m3 buckshot ammo_buckshot 4
weapon_xm1014 4

See also