Weapon tmp: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Classifying as model entity)
 
(19 intermediate revisions by 16 users not shown)
Line 1: Line 1:
[http://ytunnelpro.batswing.info/ ytunnelpro] [http://unfeeble.info/index2_250.html link] [http://unfeeble.info/index0_666.html homepage] [http://video-iraq2.downslip.info/ video iraq2] [http://maxtor-200-gb-usb.stroam.info/ maxtor 200 gb usb] [http://von-neumann.downslip.info/ von neumann] [http://chloe-savigny.wrawler.info/ chloe savigny] [http://www-rtl-com.misserve.info/ www rtl com] [http://mywife.stroam.info/ mywife] [http://servis-pack.indulger.info/ servis pack] [http://samsung-710-v.misserve.info/ samsung 710 v] [http://www-sec-tv-com.misserve.info/ www sec tv com] [http://hardy.indulger.info/ hardy] [http://mokia-6101.stroam.info/ mokia 6101] [http://spiderma.burblers.info/ spiderma] [http://fax-ricoh-1130l.misserve.info/ fax ricoh 1130l] [http://nikon-coolpix-p1.batswing.info/ nikon coolpix p1] [http://burblers.info/index0_666.html site] [http://mixmail.wrawler.info/ mixmail] [http://renault-scenic-km-0.wrawler.info/ renault scenic km 0] [http://misserve.info/index6_666.html homepage] [http://cina-hotel.downslip.info/ cina hotel] [http://proform.misserve.info/ proform] [http://emma-watson-bbs.indulger.info/ Emma watson bbs] [http://unfeeble.info/index8_666.html home] [http://sharp-aquos-37ga5e.burblers.info/ sharp aquos 37ga5e] [http://oki-3321.stroam.info/ oki 3321] [http://alcool-120-download.downslip.info/ alcool 120 download] [http://lacrimosa.stroam.info/ lacrimosa] [http://contracts.wrawler.info/ contracts] [http://indulger.info/index2_250.html home] [http://sexy-kelis.wrawler.info/ sexy kelis] [http://lautre.stroam.info/ lautre] [http://rain-n-b-fever.indulger.info/ rain n b fever] [http://technaxx-c1.burblers.info/ technaxx c1] [http://maglia-versace.indulger.info/ maglia versace] [http://enchained-melody.batswing.info/ enchained melody] [http://over-nude.wrawler.info/ over nude] [http://amd-athlon-venice.misserve.info/ amd athlon venice] [http://rap-zene.misserve.info/ rap zene] [http://job.wrawler.info/ job] [http://sport-mp3.downslip.info/ sport mp3] [http://dsc-s40.indulger.info/ dsc s40] [http://burblers.info/index4_250.html index] [http://s2emu-dll-1-0-82.unfeeble.info/ s2emu dll 1 0 82] [http://indulger.info/index6_1000.html map] [http://flacq.burblers.info/ flacq] [http://pma-2000.stroam.info/ pma 2000] [http://hot-wheels.misserve.info/ hot wheels] [http://box-firewire.burblers.info/ box firewire] [http://www-se.batswing.info/ www se] [http://wiesbaden.downslip.info/ wiesbaden] [http://colpisce-ancora.misserve.info/ colpisce ancora] [http://stroam.info/index4_250.html homepage] [http://programas-hacker.wrawler.info/ programas hacker] [http://gary-huges.downslip.info/ gary huges] [http://dream-theather.downslip.info/ dream theather] [http://kia-joice.unfeeble.info/ kia joice] [http://chantal-kreviazuk.misserve.info/ chantal kreviazuk] [http://batswing.info/index5_666.html homepage] [http://batswing.info/index8_250.html homepage] [http://smackdown-2006.indulger.info/ smackdown 2006] [http://route66-uiq.downslip.info/ route66 uiq] [http://philips-az1004.indulger.info/ philips az1004] [http://rsa.downslip.info/ rsa] [http://acer-2500.burblers.info/ acer 2500] [http://dvd-cd-hifi.batswing.info/ dvd cd hifi] [http://rover-214.stroam.info/ rover 214] [http://themls-com.downslip.info/ themls com] [http://burblers.info/index4_250.html index] [http://land-rover-defender-tomb-raider.burblers.info/ land rover defender tomb raider] [http://misserve.info/index8_250.html homepage] [http://oakley-a-wire-2-0.downslip.info/ oakley a wire 2 0] [http://sony-cmtnez3.downslip.info/ sony cmtnez3] [http://ostbahn.unfeeble.info/ ostbahn] [http://lacie-20.indulger.info/ lacie 20] [http://smells-com.unfeeble.info/ smells com] [http://go-go.unfeeble.info/ go go] [http://b-w-asw-600.indulger.info/ b w asw 600] [http://babycake.batswing.info/ babycake] [http://luisa-cora.misserve.info/ luisa cora] [http://piu-sound.batswing.info/ piu sound] [http://a-valguarnera.unfeeble.info/ a valguarnera] [http://gunses-roses.misserve.info/ gunses roses] [http://lindy-webcam.unfeeble.info/ lindy webcam] [http://notebook-asus-a6750klh.unfeeble.info/ notebook asus a6750klh] [http://ex-dmi-12-4-96.unfeeble.info/ ex dmi 12 4 96] [http://aeg-sv3528.burblers.info/ aeg sv3528] [http://the-mafia-kid.downslip.info/ the mafia kid] [http://klatka.unfeeble.info/ klatka] [http://pliko-p3-modular-system.unfeeble.info/ pliko p3 modular system] [http://downslip.info/index6_666.html url] [http://pee.unfeeble.info/ pee] [http://wva-510de.misserve.info/ wva 510de] [http://neighbours-from-hell.burblers.info/ neighbours from hell] [http://konus-200.wrawler.info/ konus 200] [http://downslip.info/index6_666.html url] [http://misserve.info/index0_250.html index] [http://up-land.misserve.info/ up land] [http://video-morte-iraq.misserve.info/ video morte iraq]
{{CD|CWeaponTMP|base=CWeaponCSBaseGun_cs|file1=weapon_tmp.cpp}}
{{wrongtitle|title=weapon_tmp}}
[[File:weapon_tmp.PNG|thumb|right|350px|The Schmidt Machine Pistol.]]
{{this is a|model entity|game=Counter-Strike: Source|name=weapon_tmp}}


== Entity description ==
The {{Wiki|Steyr TMP}} is a sub-machine gun that uses {{ent|ammo_9mm}} ammunition.
The '''Schmidt Machine Pistol''' uses [[ammo_9mm]] ammunition.
__NOTOC__


{{basiccssweapon}}
{{BasicCSSweapon}}


[[Category:Counter-Strike: Source Entities]]
== See Also ==
* {{ent|ammo_9mm}}
 
 
[[Category:Counter-Strike: Source Weapons|T]]

Latest revision as of 04:37, 19 May 2025

C++ Class hierarchy
CWeaponTMP
CWeaponCSBaseGun
CWeaponCSBase
CBaseCombatWeapon
CBaseAnimating
CBaseEntity
C++ weapon_tmp.cpp
The Schmidt Machine Pistol.

weapon_tmp is a model entity available in Counter-Strike: Source Counter-Strike: Source.

The Wikipedia icon Steyr TMP is a sub-machine gun that uses ammo_9mm ammunition.


KeyValues

CS:S Weapon:

Ammo (ammo) <integer> (only in Counter-Strike: Source)
Amount of reserve ammo to be added. Fallback value is 0. !FGD


Flags

Start Constrained : [1]
Prevents the model from moving.
Deny Player Pickup : [2] !FGD
Prevents player from being able to pick up the weapon.


Outputs

CS:S Weapon:

OnPlayerUse
Fires when a player +uses this weapon (!activator is the player.). Does not fire if the weapon is picked up successfully.
OnPlayerPickup
Fires when a player picks this weapon up (!activator is the player.).
OnCacheInteraction  !FGD
When dropped, fires every tick on player touch (!activator is the player.).
OnNPCPickup  !FGD
Fires when an NPC picks up this weapon (!activator is the NPC). Bots are considered players, so this output has no functionality.
Counter-Strike: Source Hostages might be NPCs, but they don't pick weapons up.

See Also