FY Map Creation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(18 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[http://kasumikawaii.byethost13.com/articles/kx/ kx 650] [http://fnor.22web.net/text/nude-centerfold/ nude centerfold] [http://oktagudent.totalh.com/view/alternative-construction/ alternative construction method] [http://arguas.pluto.ro/lib/free-adult.html free adult video chat] [http://copperwise.byethost13.com/html/computer-armoire.html computer armoire] [http://theeblog.22web.net/data/mba-admission/ mba admission essay sample] [http://radicaeamerr.xhost.ro/content/scooter/ scooter] [http://theeblog.22web.net/data/accommodation-beach/ accommodation beach palm west] [http://copperwise.byethost13.com/html/airfare.html airfare] [http://robotqueen.uv.ro/library/adalat/ adalat] [http://cykeout.byethost13.com/resources/th-airlift.html 446th airlift wing] [http://shadowfallen.totalh.com/data/legal-issues/ legal issues 2006] [http://nymphatacita.talk4fun.net/educational-opportunities/ educational opportunities in india] [http://cykeout.byethost13.com/resources/walker-smith.html walker smith way] [http://kristmasu.xhost.ro/tiffany-lamp/ tiffany lamp] [http://shadowfallen.totalh.com/data/east-central/ east central oklahoma football] [http://antimil.uv.ro/small/game-downloads.html game downloads] [http://oktagudent.totalh.com/view/d-text/ 3d text plugins] [http://astw56.uv.ro/styles/klm-airline/ klm airline] [http://oktagudent.totalh.com/view/palm-coast/ palm coast resort florida] [http://copperwise.byethost13.com/html/wireless-broadband.html wireless broadband] [http://kristmasu.xhost.ro/resume-service/ resume service] [http://radicaldreamerr.byethost13.com/new/purchase-plant.html purchase plant online] [http://kinkyjedi.byethost13.com/blog/replica-rolex.html replica rolex] [http://ariavaswen.22web.net/description/amazoncouk-promotional/ amazoncouk promotional code] [http://cykeout.byethost13.com/resources/suzuki-automobile.html suzuki automobile dealer] [http://fnor.22web.net/text/account-executive/ account executive positions] [http://kinkyjedi.uv.ro/web/free-cell/ free cell phone search] [http://nymphatacita.talk4fun.net/payday-advance/ payday advance loan texas] [http://copperwise.byethost13.com/html/list-of.html list of military high schools] [http://chuchundramc.marte.ro/view/tom-tom.html tom tom maps] [http://shadowfallen.totalh.com/data/ill-get/ ill get over you] [http://jazzyjoe.byethost13.com/content/server-unreachable.html server unreachable] [http://kinkyjedi.byethost13.com/blog/download-disney.html download disney ringtones] [http://urockworld.marte.ro/www-pokemon.html www pokemon games com] [http://kasumikawaii.byethost13.com/articles/north-east/ north east insurance company] [http://radicaeamerr.xhost.ro/content/canadian-immigration/ canadian immigration] [http://kinkyjedi.byethost13.com/blog/celebrex.html celebrex] [http://robotqueen.uv.ro/library/baking-cookies/ baking cookies] [http://cykeout.byethost13.com/resources/medical-employment.html medical employment agency atlanta] [http://urockworld.marte.ro/free-cell.html free cell phone directory] [http://kinkyjedi.byethost13.com/blog/sauna-infrared.html sauna infrared] [http://shadowfallen.totalh.com/data/kim-miller/ kim miller photography] [http://oktagudent.totalh.com/view/king-power/ king power tools canada] [http://ariavaswen.22web.net/description/pakistani-brides/ pakistani brides] [http://kinkyjedi.uv.ro/web/upholstery-fabrics/ upholstery fabrics] [http://radicaeamerr.xhost.ro/content/air-tickets/ air tickets] [http://thedrea.uv.ro/text/guitar-lessons/ guitar lessons] [http://cykeout.byethost13.com/resources/nz-art.html nz art gallerys] [http://chuchundramc.marte.ro/view/adult-gallery.html adult gallery] [http://uncloudedwindow.sapte.ro/data/dating-sims.html dating sims] [http://robotqueen.uv.ro/library/avon-products/ avon products] [http://thedrea.uv.ro/text/armstrong-flooring/ armstrong flooring] [http://kinkyjedi.byethost13.com/blog/spyware.html spyware] [http://robotqueen.uv.ro/library/new-michael/ new michael jordan shoes] [http://antimil.uv.ro/small/motorcycle-for.html motorcycle for sale] [http://bervera.talk4fun.net/description/ew-cox/ ew cox] [http://fnor.22web.net/text/sunday-times/ sunday times property south africa] [http://kasumikawaii.byethost13.com/articles/australian-medals/ australian medals] [http://kristmasu.xhost.ro/extra-income/ extra income] [http://cykeout.byethost13.com/resources/nyc-traffic.html nyc traffic cam] [http://robotqueen.uv.ro/library/emirates-airlines/ emirates airlines] [http://antimil.uv.ro/small/free-metro.html free metro ringtone] [http://astw56.uv.ro/styles/meridia-online/ meridia online] [http://nymphatacita.talk4fun.net/oven-designs/ oven designs] [http://oktagudent.totalh.com/view/episodes-guides/ episodes guides] [http://chuchundramc.marte.ro/view/free-mobile.html free mobile ringtones virgin] [http://aussiejesus.uv.ro/web/football-gambling/ football gambling] [http://ariavaswen.22web.net/description/official-rules/ official rules of poker] [http://radicaeamerr.xhost.ro/content/office-ergonomics/ office ergonomics] [http://bervera.talk4fun.net/description/wmv-file/ wmv file conversion] [http://bervera.talk4fun.net/description/para-sailing/ para sailing] [http://uncloudedwindow.sapte.ro/data/this-love.html this love song] [http://fnor.22web.net/text/article-on/ article on music teacher] [http://radicaldreamerr.byethost13.com/new/exam-preparations.html exam preparations] [http://shadowfallen.totalh.com/data/amazon-books/ amazon books coupon codes] [http://arguas.pluto.ro/lib/asian-sex.html asian sex video] [http://jazzyjoe.byethost13.com/content/newsgroup-providers.html newsgroup providers uk] [http://uncloudedwindow.sapte.ro/data/white-big.html white big cocks] [http://oktagudent.totalh.com/view/audio-powered/ audio powered speaker] [http://shadowfallen.totalh.com/data/water-exhibitions/ water exhibitions] [http://uncloudedwindow.sapte.ro/data/tila.html tila] [http://uncloudedwindow.sapte.ro/data/lactating-tit.html lactating tit] [http://aussiejesus.uv.ro/web/bottled-spring/ bottled spring water] [http://thedrea.uv.ro/text/dining-room/ dining room furniture] [http://nymphatacita.talk4fun.net/marriage-compatibility/ marriage compatibility questions] [http://bervera.talk4fun.net/description/i-love/ i love you i hate you] [http://astw56.uv.ro/styles/dsl-modem/ dsl modem sale] [http://shadowfallen.totalh.com/data/andres-bello/ andres bello universidad] [http://copperwise.byethost13.com/html/bank-cd.html bank cd rate] [http://astw56.uv.ro/styles/stocking-legs/ stocking legs] [http://fnor.22web.net/text/jazz-clearwater/ jazz clearwater] [http://fnor.22web.net/text/sap-license/ sap license agreement] [http://shadowfallen.totalh.com/data/sing-sing/ sing sing prison location] [http://uncloudedwindow.sapte.ro/data/samsung-sgh.html samsung sgh z710] [http://arguas.pluto.ro/lib/tent-instructions.html tent instructions] [http://jazzyjoe.byethost13.com/content/online-translation.html online translation german english] [http://chuchundramc.marte.ro/view/single-wide.html single wide mobile home] [http://urockworld.marte.ro/charmed.html charmed] [http://astw56.uv.ro/styles/fog-lights/ fog lights]
This non-standard [[Counter-Strike: Source]] gameplay style involves a cache of weapons in the level. See [[Counter-Strike: Source Level Creation]] for basic instructions on creating levels for CS:S.
== 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]]:
Line 22: Line 19:


== List of ammo and weapon entities ==
== List of ammo and weapon entities ==
{|
{| class=standard-table
! Weapon Entity || Ammo Description || Ammo Entity || Amount to Fill
! Weapon Entity || Ammo Description || Ammo Entity || Amount to Fill
|-
|-
Line 31: Line 28:
| [[weapon_mac10]] || 45acp || [[ammo_45acp]] || 4
| [[weapon_mac10]] || 45acp || [[ammo_45acp]] || 4
|-
|-
| [[weapon_ump45]] || ↑ || ↑ || 4
| [[weapon_ump45]] || || || 4
|-
|-
| [[weapon_usp]] || ↑ || ↑ || 5
| [[weapon_usp]] || || || 5
|-
|-
| [[weapon_deagle]] || 50ae || [[ammo_50ae]] || 5
| [[weapon_deagle]] || 50ae || [[ammo_50ae]] || 5
Line 39: Line 36:
| [[weapon_famas]] || 556mm || [[ammo_556mm]] || 3
| [[weapon_famas]] || 556mm || [[ammo_556mm]] || 3
|-
|-
| [[weapon_galil]] || ↑ || ↑ || 3
| [[weapon_galil]] || || || 3
|-
|-
| [[weapon_m4a1]] || ↑ || ↑ || 3
| [[weapon_m4a1]] || || || 3
|-
|-
| [[weapon_sg550]] || ↑ || ↑ || 3
| [[weapon_sg550]] || || || 3
|-
|-
| [[weapon_sg552]] || ↑ || ↑ || 3
| [[weapon_sg552]] || || || 3
|-
|-
| [[weapon_m249]] || 556mm_box || [[ammo_556mm_box]] || 7
| [[weapon_m249]] || 556mm_box || [[ammo_556mm_box]] || 7
Line 51: Line 48:
| [[weapon_fiveseven]] || 57mm || [[ammo_57mm]] || 2
| [[weapon_fiveseven]] || 57mm || [[ammo_57mm]] || 2
|-
|-
| [[weapon_p90]] || ↑ || ↑ || 2
| [[weapon_p90]] || || || 2
|-
|-
| [[weapon_ak47]] || 762mm || [[ammo_762mm]] || 3
| [[weapon_ak47]] || 762mm || [[ammo_762mm]] || 3
|-
|-
| [[weapon_aug]] || ↑ || ↑ || 3
| [[weapon_aug]] || || || 3
|-
|-
| [[weapon_g3sg1]] || ↑ || ↑ || 3
| [[weapon_g3sg1]] || || || 3
|-
|-
| [[weapon_scout]] || ↑ || ↑ || 3
| [[weapon_scout]] || || || 3
|-
|-
| [[weapon_elite]] || 9mm || [[ammo_9mm]] || 4
| [[weapon_elite]] || 9mm || [[ammo_9mm]] || 4
|-
|-
| [[weapon_glock]] || ↑ || ↑ || 4
| [[weapon_glock]] || || || 4
|-
|-
| [[weapon_mp5navy]] || ↑ || ↑ || 4
| [[weapon_mp5navy]] || || || 4
|-
|-
| [[weapon_tmp]] || ↑ || ↑ || 4
| [[weapon_tmp]] || || || 4
|-
|-
| [[weapon_m3]] || buckshot || [[ammo_buckshot]] || 4
| [[weapon_m3]] || buckshot || [[ammo_buckshot]] || 4
|-
|-
| [[weapon_xm1014]] || ↑ || ↑ || 4
| [[weapon_xm1014]] || || || 4
|}
|}



Latest revision as of 09:27, 8 January 2024

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