FY Map Creation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Spam revert)
Line 1: Line 1:
[http://shrewd.servemp3.com/web/princess-cut-diamond.htm princess cut diamond engagement ring] [http://incite.servemp3.com/q/free-english-to.html free english to spanish dictionary] [http://capdv.servemp3.com/wage-garnishment.html wage garnishment] [http://weigh.servemp3.com/library/retractable-awnings.html retractable awnings] [http://weigh.servemp3.com/library/air-fare-cheap.html air fare cheap] [http://jeshu.servemp3.com/davids-bridal.htm davids bridal] [http://rumour.servemp3.com/blog/new-car-dealer.html new car dealer cost] [http://bigger.servemp3.com/web/motorola-phones.html motorola phones] [http://rumour.servemp3.com/blog/lipitor-side-effects.html lipitor side effects] [http://baffle.servemp3.com/blog/erd-comander.html erd comander] [http://rumour.servemp3.com/blog/nudist-photographs.html nudist photographs] [http://capdv.servemp3.com/celebrity.html celebrity] [http://jeshu.servemp3.com/free-amateur-sex.htm free amateur sex video] [http://while.servemp3.com/resources/androgen.html androgen] [http://capdv.servemp3.com/theater-tickets.html theater tickets] [http://capdv.servemp3.com/treehouse-tv.html treehouse tv] [http://weigh.servemp3.com/library/fluticasone.html fluticasone] [http://incite.servemp3.com/q/seven-jeans.html seven jeans] [http://incite.servemp3.com/q/chlorhexidine.html chlorhexidine] [http://jeshu.servemp3.com/psp-movies.htm psp movies] [http://incite.servemp3.com/q/boot-camp.html boot camp] [http://jeshu.servemp3.com/baptism-gifts.htm baptism gifts] [http://weigh.servemp3.com/library/audi-a3.html audi a3] [http://shrewd.servemp3.com/web/aol-chat-room.htm aol chat room] [http://weigh.servemp3.com/library/printable-las-vegas.html printable las vegas coupons] [http://while.servemp3.com/resources/egg-recipes.html egg recipes] [http://jeshu.servemp3.com/bikini-g-strings.htm bikini g strings] [http://while.servemp3.com/resources/used-baby-crib.html used baby crib] [http://rumour.servemp3.com/blog/japanese-used-car.html japanese used car] [http://baffle.servemp3.com/blog/used-car-price.html used car price] [http://incite.servemp3.com/q/live-sex-webcams.html live sex webcams] [http://capdv.servemp3.com/bride.html bride] [http://jeshu.servemp3.com/sex-sounds.htm sex sounds] [http://jeshu.servemp3.com/carmen-hayes.htm carmen hayes] [http://bigger.servemp3.com/web/brother-intelifax.html brother intelifax 2800] [http://baffle.servemp3.com/blog/medical-insurance.html medical insurance] [http://bigger.servemp3.com/web/pro-flowers.html pro flowers] [http://bigger.servemp3.com/web/free-business-cards.html free business cards] [http://bigger.servemp3.com/web/go-airline.html go airline] [http://rumour.servemp3.com/blog/bridesmaid-gown.html bridesmaid gown] [http://incite.servemp3.com/q/credit-card-debt.html credit card debt] [http://capdv.servemp3.com/bodybulding-pictures.html bodybulding pictures] [http://while.servemp3.com/resources/cheap-perfume.html cheap perfume] [http://jeshu.servemp3.com/kubota-tractor.htm kubota tractor] [http://baffle.servemp3.com/blog/lesbian-sex-story.html lesbian sex story] [http://baffle.servemp3.com/blog/wickes-furniture.html wickes furniture store] [http://baffle.servemp3.com/blog/list-of-military.html list of military high schools] [http://baffle.servemp3.com/blog/football-games.html football games] [http://jeshu.servemp3.com/nextel-rintones.htm nextel rintones] [http://while.servemp3.com/resources/milo-manara.html milo manara] [http://rumour.servemp3.com/blog/buy-sell-canada.html buy sell canada car] [http://rumour.servemp3.com/blog/cheap-flat-london.html cheap flat london] [http://bigger.servemp3.com/web/porno-xxx.html porno xxx] [http://capdv.servemp3.com/used-audi-parts.html used audi parts] [http://baffle.servemp3.com/blog/nude.html nude] [http://rumour.servemp3.com/blog/wedding-supplies.html wedding supplies] [http://shrewd.servemp3.com/web/echinacea.htm echinacea] [http://jeshu.servemp3.com/teen.htm teen] [http://capdv.servemp3.com/eddie-lawson.html eddie lawson] [http://incite.servemp3.com/q/amateur-teen.html amateur teen sex] [http://while.servemp3.com/resources/national-weather.html national weather service in tulsa] [http://capdv.servemp3.com/mercury.html mercury] [http://jeshu.servemp3.com/white-pages.htm white pages] [http://capdv.servemp3.com/dolce-gabbana.html dolce gabbana perfume] [http://incite.servemp3.com/q/cheap-teen-girl.html cheap teen girl clothes] [http://jeshu.servemp3.com/leather-sofa.htm leather sofa] [http://bigger.servemp3.com/web/miami-international.html miami international airport] [http://while.servemp3.com/resources/my-space-background.html my space background] [http://weigh.servemp3.com/library/sex-love.html sex love] [http://capdv.servemp3.com/certified-pharmacy.html certified pharmacy technician salary] [http://incite.servemp3.com/q/sex-indian.html sex indian] [http://rumour.servemp3.com/blog/shaved-snatch.html shaved snatch] [http://rumour.servemp3.com/blog/people-finder.html people finder] [http://jeshu.servemp3.com/necklace.htm necklace] [http://capdv.servemp3.com/reality-sex.html reality sex] [http://baffle.servemp3.com/blog/horse-racing.html horse racing] [http://capdv.servemp3.com/business-plans.html business plans] [http://jeshu.servemp3.com/adult-sex-video.htm adult sex video] [http://bigger.servemp3.com/web/panda-antivirus.html panda antivirus download] [http://baffle.servemp3.com/blog/yorkville-bass.html yorkville bass amplifier traynor] [http://shrewd.servemp3.com/web/southwest-promotional.htm southwest promotional code] [http://while.servemp3.com/resources/acne.html acne] [http://incite.servemp3.com/q/kirkwood-community.html kirkwood community college] [http://capdv.servemp3.com/clone-dvd.html clone dvd] [http://shrewd.servemp3.com/web/free-music-real.htm free music real ringtones sprint] [http://jeshu.servemp3.com/girlsgonewild.htm girlsgonewild] [http://shrewd.servemp3.com/web/zenegra.htm zenegra] [http://bigger.servemp3.com/web/tahitian-noni.html tahitian noni juice] [http://while.servemp3.com/resources/bassett-furniture.html bassett furniture] [http://rumour.servemp3.com/blog/mre.html mre] [http://jeshu.servemp3.com/movies.htm movies] [http://rumour.servemp3.com/blog/commercial-properties.html commercial properties for sale] [http://jeshu.servemp3.com/nude-pic.htm nude pic] [http://weigh.servemp3.com/library/pictures-of.html pictures of pyramids] [http://incite.servemp3.com/q/spyware-doctor.html spyware doctor license code] [http://jeshu.servemp3.com/mesa-airline.htm mesa airline] [http://weigh.servemp3.com/library/3d-wallpaper.html 3d wallpaper] [http://rumour.servemp3.com/blog/blood-tests.html blood tests] [http://bigger.servemp3.com/web/hall-rental.html hall rental] [http://rumour.servemp3.com/blog/mp3-download-for.html mp3 download for free]
== Required FGD addition ==
== Required FGD addition ==
These instructions require editing the [[FGD|base.fgd]] to add a '''"Use"''' input to [[game_player_equip]]:
These instructions require editing the [[FGD|base.fgd]] to add a '''"Use"''' input to [[game_player_equip]]:

Revision as of 16:57, 11 December 2007

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