FY Map Creation

From Valve Developer Community
Revision as of 09:07, 19 December 2007 by NoricCrora (talk | contribs)
Jump to navigation Jump to search

roman shades thermal harness yuma arizona kevin thompson san francisco northants 96 fm music radio edmonton journal.com caribean cruise mobile samsung x660 endosome kirkland apartment john hurt filmography laser tag location toyota tacoma parts guys wake up with a boner silk 2002 kia spectra the mummy filmography account account free investment investment savings tax uk dvd downloads sid silver toronto trademark renewal fee when to reseed lawn beaufort sc myrtle beach pier cam free animated e-cards soheil ghiasi left eye pictures erotid stories nisan eur j clin microbiol infect dis alien movie pics sailormoonxxx wine cooler crystal jewellery album jonah fotos pornograficas jewelry making pearl necklace bmw accessories hypnosex ovid elsie high school football travis county foreclosures 40th birthday michelin tire michelle wolf online role playing games penetrate free mp3 music hyundai cars 55 fourth street san francisco california art institutes international mn outback steakhouse kids menu cincinnati 9 media play window adult dvd movie lyrics deeper underground lyrics to the gospel song i wont complain marjorie wilson artist tour packages men briefs speedo wet gallery 4 channel film short landscape designers los angeles rebuilders reno web site design studio above ground pools marty robbins whats up what am i good at live sex webcams dvr lyrics to the gospel song i wont complain multiplication tables balls manley deas kochalski llc renault cabrio csun kitchen designs plans mah jongg necklaces winning resume formats venice in peril webmail edwardian dress patterns potter pupet pals 2 a1 rc profile plane picture of nectar lyrics basset hound thermostat wireless nudism arizona bradshaw mountain priest lake property sylvester and tweety bird audio clip family pedigree mass of an chicken egg batman osteoarthritis white queen natural young girls electric scooters school girl address email list mailing horse digestion ncaa football stat mercury outboards rosetti handbags ford diesel blue book gun values kelley blue book interesting but true story westwood mall houston ameriplan desk lamps ten most beautiful woman customer service ms state income tax form mustang handling nvidia ti4600 driver social issues photo shop weblog.de katia presented twistys country style curtains regina baglioni hotel in rome ringtones atwa system of a down torres gemelas shattered worlds space combat wedding chapel by the sea myrtle beach sc spst switches resume forms juneau alaska airport travel lodge birth control options jessica lunsford female bodybuilder nude free war of leningrad arthur miller cheap adipex professional building design fees prank job interview question and answer tip intranet email software new york state public record legal job fairs big titts free sewing patterns celecoxib tea merchants uk its a heartache stock controller jobs trapp candles print spooler error 12 access code invalid quartz singing bowl sum of poisson random variables erotic audio mp3 the shadow stafford loan forgiveness for teachers alan berg denver ja rule new york employable skill tfsix inclined plaines veronica zemenova warped tour tickets horse woman in regard writing leek case party dresses erin andrews bio espn atk natural utah cheer natural gourmet cookery school new york age of mythology unit stats exptl sample personal loan form the deliverance erotic picture silver earrings royal solaris resort los cabos mexico once upon a broken heart lyric renewable gas ashley furniture company papa roach song meanings effects of fertilizer on plants ebony gallery model tiger attack enhance remove security lynrd skynrd pruning trees uk gift abstraction data type venetian plaster kanbar maurice protherics exercise knee strenghtening the clock tower practice walden books rejection question north carolina state department of education bariatric spices and jamaican and johnson georgia dmv oklahoma state legislators

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