Weapon stunstick: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.)
 
(30 intermediate revisions by 22 users not shown)
Line 1: Line 1:
[http://courtneedraper.net/forums/images/avatars/pics/news-614-2008-07-29.html yapikredi] [http://klingon.org/smboard/attachments/files/text1562.htm elder care] [http://courtneedraper.net/forums/images/avatars/pics/news-1493-2008-07-28.html male jerk off video clip free] [http://ajax-search.com/sestmp/cache/resource-1097.html soffe shorts] [http://euphoriawifi.com/forum/Packages/install/comment194.htm sister my sister movie] [http://euphoriawifi.com/forum/Packages/install/comment1275.htm child magazine] [http://ianor.org/images/thumbs/varelt.html anal exam massage prostate video] [http://experiencingmusic.com/wp-content/uploads/2008/text-1792.html www.nbc.com] [http://aretesaddlery.com/tack/images/uploads/pics/news-2395-2008-07-25.html 3410 compose ringtone] [http://southbrowardrealtors.com/members/documents/docs/news-2497.html phil hendrie torrent] [http://ewgawaterlooregion.com/UPLDR/files/resource-1067.html janet sun bathing video] [http://xisu.net.cn/wp-content/uploads/2006/rolsitfi976.htm american pie the movie music] [http://confrontmagazine.com/list/attachments/files/index.html www] [http://prbristol.co.uk/blog/wp-content/uploads/2007/topic-1108.html animated frogs] [http://enasel.com/editor_files/Image/pic/article1202.htm ebony women naked] [http://ecologicalonline.co.uk/logos/data/index.htm top] [http://confrontmagazine.com/list/attachments/files/article42.html james bond videogames] [http://davefarrow.com/wp-content/uploads/2007/04/page-778.html sexy gay] [http://cakesbyrose.com/wp-content/uploads/2007/text269.htm national coming out day 2005] [http://2hottotrot.com/data/501/mini/pics/sitemap.html www] [http://doggiedelightsgourmettreats.com/store/images/uploads/files/relkono.htm hookah bar] [http://prbristol.co.uk/blog/wp-content/uploads/2007/topic-1883.html armed australian force] [http://arguswebhosting.com/oscommerce/images/pixels/sitemap.html web] [http://cakesbyrose.com/wp-content/uploads/2007/text1699.htm baskin robbins] [http://enasel.com/editor_files/Image/pic/article145.htm pandeiro video] [http://darkmoonfarm.com/gb/images/716.htm grasslands] [http://www.csara.net/shop/images/pixels/new2016.htm glamor models] [http://nwogames.co.uk/forums/images/smiles/pics/topic-1613.htm netobjects fusion 7 serial] [http://healingapproach.com/blog/wp-content/uploads/2007/sitemap.html www] [http://ecologicalonline.co.uk/logos/data/topic-788.htm kid] [http://doggiedelightsgourmettreats.com/store/images/uploads/files/fokc4teto.htm alloni buy buy link republika.pl vicodin vicodin.html] [http://xferum.com/sm/tpl_c/files/news-1546.html sun tea glass jar] [http://equinefriends.com/uploads/images/icons/topic-2088.htm rock show blink 182] [http://kenogamioutpost.com/shop/media/images/news1363.html 15 year old boys] [http://www.csara.net/shop/images/pixels/new2118.htm okc movie theatre] [http://www.csara.net/shop/images/pixels/new814.htm reach gloria estefan video] [http://bets-united.com/27b914017af42823cc1ec87d92ab50f2/cache/cadrono.html signs of attraction] [http://grazinganimalsproject.org.uk/!db_backups/dump/index.htm url] [http://horsefriendfinder.com/smartway/conf/files/getxnedem.html windows 2000 login scripts] [http://mutleygreenbankfestival.co.uk/uploadfiles/media/text-2158.htm school desk] [http://grenpc.com/dzimmo/images/resource424.htm pictures of water] [http://southbrowardrealtors.com/members/documents/docs/news-529.html photocard driving licence] [http://cakesbyrose.com/wp-content/uploads/2007/text769.htm and1 moves videos] [http://apoorv.info/wordpress/wp-content/uploads/2006/topic1493.htm editing video] [http://hr857.com/site/typo3_src/typo4/brdelda-1391.html richard mille watches price] [http://www.csara.net/shop/images/pixels/new1300.htm kobe bryant vanessa] [http://angelhess.com/chicks/dump/article1369.html ring mountings] [http://angelhess.com/chicks/dump/article618.html waterside inn on the beach] [http://2hottotrot.com/data/501/mini/pics/news708.html abu daily movie] [http://osatek.com/email/logs/data/article453.html police video kentucky public record] [http://angelhess.com/chicks/dump/sitemap.html domain] [http://habless.com/b/imagehosting/pics/news1486.html matlab cracks] [http://rachidapost.nl/uploads/original/pics/page1005.html river past video cleaner 5.3 serial number] [http://mutleygreenbankfestival.co.uk/uploadfiles/media/text-2627.htm shake ya tailfeather mp3] [http://equinefriends.com/uploads/images/icons/topic-121.htm gay teen twinks] [http://maureenflood.com/test/Logo/pics/page-822.html moon landing conspiracy video] [http://hollandaquariders.com/photogallery/albums/userpics/10003/resource-1192.html free mazes] [http://confrontmagazine.com/list/attachments/files/article72.html naruto gekito ninja taisen 3 video] [http://courtneedraper.net/forums/images/avatars/pics/news-155-2008-07-28.html rv rental florida] [http://kenogamioutpost.com/shop/media/images/news915.html online virus scanner] [http://grenpc.com/dzimmo/images/resource1619.htm movie favourites] [http://euphoriawifi.com/forum/Packages/install/comment1596.htm phoneplus crack serial] [http://cakesbyrose.com/wp-content/uploads/2007/text802.htm air bag defects] [http://aretesaddlery.com/tack/images/uploads/pics/news-1014-2008-07-27.html cu] [http://kenogamioutpost.com/shop/media/images/index.html link] [http://horsefriendfinder.com/smartway/conf/files/darrole.html tall teen girls] [http://grenpc.com/dzimmo/images/resource1138.htm sampras serve videos] [http://flashfilmmaker.com/forum/Packages/install/topic405.htm titty fuckers] [http://habless.com/b/imagehosting/pics/sitemap.html http] [http://enasel.com/editor_files/Image/pic/article429.htm online casino credit card friendly] [http://kenogamioutpost.com/shop/media/images/sitemap.html here] [http://grenpc.com/dzimmo/images/resource377.htm kaspersky 4.5 crack] [http://baddogtools.com/bdt_inv/templates/images/news-1997-20080725.html pontiac chieftain] [http://cash-assur.com/images/logo/thumbs/text1736.htm mark shimko] [http://grenpc.com/dzimmo/images/resource923.htm pay per view movie online] [http://klingon.org/smboard/attachments/files/text2689.htm online holdem inspector 2.15 crack] [http://baddogtools.com/bdt_inv/templates/images/news-997-20080724.html indian masala video adult] [http://confrontmagazine.com/list/attachments/files/sitemap.html http] [http://antifly.com/wp-content/uploads/2008/05/sitemap.html domain] [http://polarventure.co.uk/polarventure/wp-content/uploads/2006/text-980.html llc share solution time] [http://kissmedia.ro/project/_rss/scripts/news-73-2008-07-23.html a secret affair movie] [http://infrafer.com/fr/Buckup/dump/news-1362-2008-07-27.html movie sword for sale] [http://geoexchangezine.com/wp-content/uploads/2007/text657.htm sample sex teen video] [http://ewgawaterlooregion.com/UPLDR/files/resource-1694.html low key torrent] [http://courtneedraper.net/forums/images/avatars/pics/news-1626-2008-07-30.html alan moore interview] [http://equinefriends.com/uploads/images/icons/topic-924.htm surveyor job descriptions] [http://southbrowardrealtors.com/members/documents/docs/news-1680.html inuyasha the movie 2 pictures] [http://confrontmagazine.com/list/attachments/files/article942.html movie rating system good] [http://ajax-search.com/sestmp/cache/resource-1049.html mature boy] [http://doggiedelightsgourmettreats.com/store/images/uploads/files/negetlav.htm loan mortgage] [http://horsefriendfinder.com/smartway/conf/files/letoplrol.html enterprise rental.com] [http://nwogames.co.uk/forums/images/smiles/pics/topic-792.htm allure amateur free from movie] [http://darkmoonfarm.com/gb/images/912.htm bell wireless ringtones] [http://habless.com/b/imagehosting/pics/news22.html tg girls] [http://doggiedelightsgourmettreats.com/store/images/uploads/files/acqasracc.htm its on like donkey kong movie] [http://kissmedia.ro/project/_rss/scripts/news-611-2008-07-24.html 2004 ford f 150 stx] [http://grazinganimalsproject.org.uk/!db_backups/dump/delrob376.htm noclone 3.1 serial] [http://apoorv.info/wordpress/wp-content/uploads/2006/topic1237.htm expedition game hidden titanic] [http://equinefriends.com/uploads/images/icons/topic-1161.htm desperation pooping accidents] [http://ianor.org/images/thumbs/zarensed.html martin guitar forum]
<!-- When this page is updated to {{LanguageBarsp}} or {{LanguageBaruage subpage}} instead of {{LanguageBar}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{LanguageBar}}[[File:w_stunbaton.PNG|thumb|65px|right]]
{{wrongtitle|title=weapon_stunstick}}
{{CD|CWeaponStunStick|base=CBaseHLBludgeonWeapon|file1=1}}
{{this is a|model entity|name=weapon_stunstick|game=Half-Life 2 series}}
==Entity description==
A [[Combine]] beating stick with a zappy end. When picked up in singleplayer, it supplies power to the [[item_suit|HEV suit]] (much like a [[item_battery|battery]]). Combine players spawn with a stunstick in [[Half-Life 2 Deathmatch]] whereas Resistance players spawn with a [[weapon_crowbar|crowbar]], but both teams can use the other weapon if picked up. It can be used in the ''[[Entropy : Zero]]'' series as a melee weapon, and has a right-click charge attack.


== Entity description ==
Before it is picked up, the stunstick also follows all physics rules as if it were a [[prop_physics]].
[[Image:hammerstunstick.jpg|frame|right|Stunstick]]


The '''<code>weapon_stunstick</code>''' entity places a Combine stunstick in a map. This stunstick can be picked up and used as a weapon. The stunstick also follows all physics rules as if it were a [[prop_physics]].
{{note|The amount of suit power granted in HL2 is equal to [https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/mp/src/game/server/hl2/hl2_player.cpp#L2630 <code>sk_battery <int> / 2]</code>}}
* In [[Half-Life 2]], weapon functionality is disabled. Instead, a stunstick pickup supplies power to the [[item_suit|HEV suit]] (much like a [[item_battery|battery]]).
* In [[Half-Life 2: Deathmatch]], players who have chosen a Combine player model spawn with a stunstick, but not a [[weapon_crowbar|crowbar]].


{{basicweapon}}
Setting the <code>stunstick_pickupable</code> [[ConVar]] to 1 will replace this entity with an [[weapon_stunstick_player|equippable version]] when touched by the player.


[[Category:Entities]]
{{BasicWeapon}}
[[Category:Half-Life 2: Deathmatch Entities]]
 
[[Category:Weapons]]
==See also==
* {{ent|weapon_stunstick_player}}
 
[[Category:Half-Life 2 Entities]]
[[Category:Half-Life 2 Weapons|S]]

Latest revision as of 17:43, 18 July 2025

English (en)Translate (Translate)
W stunbaton.PNG
C++ Class hierarchy
CWeaponStunStick
CBaseHLBludgeonWeapon
CBaseHLCombatWeapon
CBaseCombatWeapon
CBaseAnimating
CBaseEntity
C++ weapon_stunstick.cpp

weapon_stunstick is a model entity available in Half-Life 2 series Half-Life 2 series.

Entity description

A Combine beating stick with a zappy end. When picked up in singleplayer, it supplies power to the HEV suit (much like a battery). Combine players spawn with a stunstick in Half-Life 2 Deathmatch whereas Resistance players spawn with a crowbar, but both teams can use the other weapon if picked up. It can be used in the Entropy : Zero series as a melee weapon, and has a right-click charge attack.

Before it is picked up, the stunstick also follows all physics rules as if it were a prop_physics.

Note.pngNote:The amount of suit power granted in HL2 is equal to sk_battery <int> / 2

Setting the stunstick_pickupable ConVar to 1 will replace this entity with an equippable version when touched by the player.

Flags

Start Constrained : [1]
Prevents the model from moving.
Deny player pickup (reserve for NPC) : [2]
Not puntable by Gravity Gun : [4]

Inputs

HideWeapon  !FGD
If this weapon is being held, hide the worldmodel and/or viewmodel via EF_NODRAW. Weapon will still be useable. The weapon will become visible again if the holder is to switch between weapons in their inventory.

Outputs

OnNPCPickup
Fires when an NPC picks up this weapon. (!activator is the NPC.)
OnPlayerUse
Fires when the player +uses this weapon. (!activator is the player.)
OnPlayerPickup
Fires when a player picks up this weapon. (!activator is the player.)
OnCacheInteraction
Fires when the player 'proves' they've found this weapon. Fires on: Player Touch, +USE pickup, Physcannon pickup, Physcannon punt.

See also