Env alyxemp: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(-added class hierarchy, cleanup)
 
(28 intermediate revisions by 14 users not shown)
Line 1: Line 1:
[http://vip-in-topless.wrawler.info/ vip in topless] [http://stroam.info/index3_666.html page] [http://sailor-moon.misserve.info/ sailor moon] [http://hp6515.unfeeble.info/ hp6515] [http://hein.stroam.info/ hein] [http://bmw-330d-touring-2001.stroam.info/ bmw 330d touring 2001] [http://nike-legend.unfeeble.info/ nike legend] [http://wrawler.info/index4_250.html link] [http://rikki.batswing.info/ rikki] [http://misserve.info/index6_666.html homepage] [http://bacbaphi-com.misserve.info/ bacbaphi com] [http://borse-sony.unfeeble.info/ borse sony] [http://wrawler.info/index6_1000.html url] [http://pam-snc.indulger.info/ pam snc] [http://the-grudge2.stroam.info/ the grudge2] [http://telegramma-online.batswing.info/ Telegramma online] [http://miss-world-98.wrawler.info/ miss world 98] [http://philip-kwok.indulger.info/ philip kwok] [http://cracker.unfeeble.info/ cracker] [http://fran-2005.stroam.info/ fran 2005] [http://travelsound-500.indulger.info/ travelsound 500] [http://manbar.wrawler.info/ manbar] [http://alfa-sud.burblers.info/ alfa sud] [http://porno-xxxx-com.indulger.info/ porno xxxx com] [http://mazda-3-km-0.unfeeble.info/ mazda 3 km 0] [http://nero-express-6.misserve.info/ nero express 6] [http://acer-n30-handheld.batswing.info/ acer n30 handheld] [http://ogo.downslip.info/ ogo] [http://stroam.info/index6_666.html map] [http://haeju.wrawler.info/ haeju] [http://misserve.info/index6_666.html homepage] [http://charmed-theme-song.misserve.info/ charmed theme song] [http://usher-ft-ludacris.misserve.info/ usher ft ludacris] [http://honda-vtr.misserve.info/ honda vtr] [http://deea.wrawler.info/ deea] [http://sharp-fo-2600.stroam.info/ sharp fo 2600] [http://funki-ball-adventure.unfeeble.info/ funki ball adventure] [http://lts-a-go.downslip.info/ lts a go] [http://leftu.misserve.info/ leftu] [http://rain-and-tears.indulger.info/ rain and tears] [http://fax-scanner.downslip.info/ fax scanner] [http://konnan.batswing.info/ konnan] [http://germinal.burblers.info/ germinal] [http://tune-juice.misserve.info/ tune juice] [http://wuzhou.wrawler.info/ wuzhou] [http://saen-poul.wrawler.info/ saen poul] [http://indulger.info/index4_250.html url] [http://micro-cuffia.stroam.info/ micro cuffia] [http://burblers.info/index0_666.html site] [http://wrawler.info/index5_1000.html home] [http://misserve.info/index1_666.html site] [http://kodak-3-2.stroam.info/ kodak 3 2] [http://leaving-in-new-york-mp3-rem.batswing.info/ leaving in new york mp3 rem] [http://egypt2.misserve.info/ egypt2] [http://nikeid.downslip.info/ nikeid] [http://biagi-antonacci.indulger.info/ biagi antonacci] [http://nightshade.downslip.info/ nightshade] [http://randy-quaid.stroam.info/ randy quaid] [http://upa-dance-once-again.indulger.info/ upa dance once again] [http://free-porno.unfeeble.info/ free porno] [http://downslip.info/index2_666.html link] [http://okyweb-2.misserve.info/ okyweb 2] [http://wrawler.info/ wrawler.info] [http://gay-telefono.stroam.info/ gay telefono] [http://misserve.info/index4_250.html index] [http://eig-of-empire-ii.misserve.info/ eig of empire ii] [http://pocket-pc-hp-ipaq-hx2750.downslip.info/ pocket pc hp ipaq hx2750] [http://misserve.info/index5_666.html site] [http://usb-network-cable.stroam.info/ usb network cable] [http://zhongshan.indulger.info/ zhongshan] [http://ghost-rider.batswing.info/ Ghost rider] [http://router-wifi-adsl-2.burblers.info/ router wifi adsl 2] [http://x-uomo.wrawler.info/ x uomo] [http://elephant-list.stroam.info/ elephant list] [http://bp-522.wrawler.info/ bp 522] [http://exercise-equipment.wrawler.info/ exercise equipment] [http://stroam.info/index0_666.html map] [http://baff.misserve.info/ baff] [http://pedron-sexy.wrawler.info/ pedron sexy] [http://the-thing.indulger.info/ the thing] [http://spice-girls-wanna-be.downslip.info/ spice girls wanna be] [http://fraks-adventure.stroam.info/ fraks adventure] [http://www-motocros-com.burblers.info/ www motocros com] [http://www-lord.wrawler.info/ www lord] [http://downslip.info/index2_666.html link] [http://nokia-7250i.batswing.info/ nokia 7250i] [http://alberghi-a-livigno-con-piscina.burblers.info/ alberghi a livigno con piscina] [http://empire-r1000.wrawler.info/ empire r1000] [http://syncmaster-793s.indulger.info/ syncmaster 793s] [http://levicom-atx-450w.indulger.info/ levicom atx 450w] [http://downslip.info/index4_1000.html home] [http://video-sexy-boxy.batswing.info/ Video sexy boxy] [http://legge-269-03.misserve.info/ legge 269 03] [http://video-verve.indulger.info/ video verve] [http://esra-kahraman.burblers.info/ esra kahraman] [http://rimm-pc800.unfeeble.info/ rimm pc800] [http://wrawler.info/index5_1000.html home] [http://doctor-adventures-eva-lawrence.batswing.info/ Doctor adventures eva lawrence] [http://toucam-pro-philips.batswing.info/ toucam pro philips] [http://netgear-adsl-modem-router.burblers.info/ netgear adsl modem router]
{{LanguageBar}}
{{wrongtitle|title=env_alyxemp}}
{{CD|CAlyxEmpEffect|file1=env_alyxemp.cpp}}
{{this is a|point entity|game=Half-Life 2 series|name=env_alyxemp}} This entity creates a particle effect from Alyx's EMP.


==Entity Description==
To attach one end to Alyx's EMP device:
{{todo|Write description.}}
#Use the '''Parent''' keyvalue or the <code>SetParent</code> input to parent it to {{ent|npc_alyx}}.
#Send the <code>env_alyxemp</code> the <code>SetParentAttachment</code> input with <code>emp</code> for the parameter.
To change the '''Target Entity''', use the <code>SetTargetEnt</code> input with the new entity name for the parameter.
 
{{todo|How to make Alyx take out the EMP device?}}
 
{{tip|To find attachment points for other models, use {{ent|ent_attachments}}.}}
 
{{stray ent|{{portal}}}}


==Keyvalues==
==Keyvalues==
* {{kv angles}}
{{KV Targetname}}
* {{kv targetname}}
{{KV|EMP Type|intn=Type|choices|EMP effect type.
* {{kv parentname}}
:*0: Small
* '''Type'''
:*1: Large}}
: <choices> EMP Type
{{KV|Target Entity|intn=EndTargetName|target_destination|Entity to use as a target endpoint (probably an {{ent|info_target}}). This entity can be its own target.}}
:{|
! Literal Value || Description
|-
| 0 || Small
|-
| 1 || Large
|}
* '''EndTargetName'''
: <?> Target Entity - Entity to use as a target endpoint.


<!--This entity doesn't have any flags.-->
==Inputs==
==Inputs==
* {{i targetname}}
{{I|StartCharge|param=float|Start charging the effect over specified number of seconds.}}
* {{i parentname}}
{{I|StartDischarge|Start discharging the effect over specified number of seconds.}}
* '''SetTargetEnt'''
{{I|Stop|param=float|Stops the effect. {{todo|Clarify what the parameter does?}}}}
:{{todo|Write description.}}
{{I|SetTargetEnt|param=string|Sets the '''Target Entity''' for the effect.}}
* '''StartCharge'''
:{{todo|Write description.}}
* '''StartDischarge'''
:{{todo|Write description.}}
* '''Stop'''
:{{todo|Write description.}}
 
==Outputs==
* {{o targetname}}
 
[[Category:Entities]]

Latest revision as of 13:28, 25 September 2024

English (en)Translate (Translate)
C++ Class hierarchy
CAlyxEmpEffect
CBaseEntity
C++ env_alyxemp.cpp

env_alyxemp is a point entity available in Half-Life 2 series Half-Life 2 series. This entity creates a particle effect from Alyx's EMP.

To attach one end to Alyx's EMP device:

  1. Use the Parent keyvalue or the SetParent input to parent it to npc_alyx.
  2. Send the env_alyxemp the SetParentAttachment input with emp for the parameter.

To change the Target Entity, use the SetTargetEnt input with the new entity name for the parameter.

Todo: How to make Alyx take out the EMP device?
Tip.pngTip:To find attachment points for other models, use ent_attachments.
Note.pngNote:This entity is also in the code for Portal. Its functionality is not guaranteed.


Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

EMP Type (Type) <choices>
EMP effect type.
  • 0: Small
  • 1: Large
Target Entity (EndTargetName) <targetname>
Entity to use as a target endpoint (probably an info_target). This entity can be its own target.

Inputs

StartCharge <floatRedirectInput/float>
Start charging the effect over specified number of seconds.
StartDischarge
Start discharging the effect over specified number of seconds.
Stop <floatRedirectInput/float>
Stops the effect.
Todo: Clarify what the parameter does?
SetTargetEnt <stringRedirectInput/string>
Sets the Target Entity for the effect.