Difference between revisions of "Half-Life 1 Engine Messages"
Line 60: | Line 60: | ||
SVC_SENDCVARVALUE 57 | SVC_SENDCVARVALUE 57 | ||
SVC_SENDCVARVALUE2 58 | SVC_SENDCVARVALUE2 58 | ||
+ | |||
+ | = SVC_CUTSCENE = | ||
+ | Shows the intermission camera view, and writes-out text passed in first parameter. | ||
+ | |||
+ | {{qnotice|Intermission mode 3. }}<br> | ||
+ | {{qnotice|This text will keep showing on clients in future intermissions. }}<br> | ||
+ | |||
+ | {{begin-hl1msg|SVC_CUTSCENE}} | ||
+ | {{hl1msg|string|text}} | ||
+ | {{end-hl1msg}} | ||
+ | |||
+ | = SVC_DAMAGE = | ||
+ | |||
+ | {{qnotice|Deprecated. }}<br> | ||
+ | |||
+ | {{begin-hl1msg|SVC_DAMAGE}} | ||
+ | {{end-hl1msg}} | ||
+ | |||
+ | = SVC_INTERMISSION = | ||
+ | Shows the intermission camera view | ||
+ | |||
+ | {{qnotice|Intermission mode 1. }}<br> | ||
+ | |||
+ | {{begin-hl1msg|SVC_INTERMISSION}} | ||
+ | {{end-hl1msg}} | ||
= SVC_FINALE = | = SVC_FINALE = | ||
− | Shows the | + | Shows the intermission camera view, and writes-out text passed in first parameter. |
+ | |||
+ | {{qnotice|Intermission mode 2. }}<br> | ||
+ | {{qnotice|This text will keep showing on clients in future intermissions. }}<br> | ||
{{begin-hl1msg|SVC_FINALE}} | {{begin-hl1msg|SVC_FINALE}} | ||
Line 69: | Line 97: | ||
= SVC_KILLEDMONSTER = | = SVC_KILLEDMONSTER = | ||
− | |||
− | |||
− | |||
− | {{qnotice| | + | {{qnotice|Deprecated. }}<br> |
{{begin-hl1msg|SVC_KILLEDMONSTER}} | {{begin-hl1msg|SVC_KILLEDMONSTER}} | ||
Line 79: | Line 104: | ||
= SVC_FOUNDSECRET = | = SVC_FOUNDSECRET = | ||
− | |||
− | |||
− | |||
− | {{qnotice| | + | {{qnotice|Deprecated. }}<br> |
{{begin-hl1msg|SVC_FOUNDSECRET}} | {{begin-hl1msg|SVC_FOUNDSECRET}} | ||
Line 100: | Line 122: | ||
{{hl1msg|byte|mode}} | {{hl1msg|byte|mode}} | ||
{{end-hl1msg}} | {{end-hl1msg}} | ||
− | |||
= SVC_RESOURCELOCATION = | = SVC_RESOURCELOCATION = | ||
− | This message sends sv_downloadurl to client | + | This message sends sv_downloadurl to client. |
{{begin-hl1msg|SVC_RESOURCELOCATION}} | {{begin-hl1msg|SVC_RESOURCELOCATION}} | ||
{{hl1msg|string|sv_downloadurl}} | {{hl1msg|string|sv_downloadurl}} | ||
+ | {{end-hl1msg}} | ||
+ | |||
+ | = SVC_ROOMTYPE = | ||
+ | Set client room_type cvar to provided value. | ||
+ | |||
+ | {{begin-hl1msg|SVC_ROOMTYPE}} | ||
+ | {{hl1msg|short|value}} | ||
{{end-hl1msg}} | {{end-hl1msg}} |
Revision as of 17:35, 5 February 2011
//SVC_BAD 0 SVC_NOP 1 SVC_DISCONNECT 2 SVC_EVENT 3 SVC_VERSION 4 SVC_SETVIEW 5 SVC_SOUND 6 SVC_TIME 7 SVC_PRINT 8 SVC_STUFFTEXT 9 SVC_SETANGLE 10 SVC_SERVERINFO 11 SVC_LIGHTSTYLE 12 SVC_UPDATEUSERINFO 13 SVC_DELTADESCRIPTION 14 SVC_CLIENTDATA 15 SVC_STOPSOUND 16 SVC_PINGS 17 SVC_PARTICLE 18 SVC_DAMAGE 19 SVC_SPAWNSTATIC 20 SVC_EVENT_RELIABLE 21 SVC_SPAWNBASELINE 22 SVC_TEMPENTITY 23 SVC_SETPAUSE 24 SVC_SIGNONNUM 25 SVC_CENTERPRINT 26 SVC_KILLEDMONSTER 27 SVC_FOUNDSECRET 28 SVC_SPAWNSTATICSOUND 29 SVC_INTERMISSION 30 SVC_FINALE 31 SVC_CDTRACK 32 SVC_RESTORE 33 SVC_CUTSCENE 34 SVC_WEAPONANIM 35 SVC_DECALNAME 36 SVC_ROOMTYPE 37 SVC_ADDANGLE 38 SVC_NEWUSERMSG 39 SVC_PACKETENTITIES 40 SVC_DELTAPACKETENTITIES 41 SVC_CHOKE 42 SVC_RESOURCELIST 43 SVC_NEWMOVEVARS 44 SVC_RESOURCEREQUEST 45 SVC_CUSTOMIZATION 46 SVC_CROSSHAIRANGLE 47 SVC_SOUNDFADE 48 SVC_FILETXFERFAILED 49 SVC_HLTV 50 SVC_DIRECTOR 51 SVC_VOICEINIT 52 SVC_VOICEDATA 53 SVC_SENDEXTRAINFO 54 SVC_TIMESCALE 55 SVC_RESOURCELOCATION 56 SVC_SENDCVARVALUE 57 SVC_SENDCVARVALUE2 58
Contents
SVC_CUTSCENE
Shows the intermission camera view, and writes-out text passed in first parameter.
Note: Intermission mode 3.
Note: This text will keep showing on clients in future intermissions.
Name: | SVC_CUTSCENE | ||
Structure: |
|
SVC_DAMAGE
Note: Deprecated.
Name: | SVC_DAMAGE | |
Structure: |
|
SVC_INTERMISSION
Shows the intermission camera view
Note: Intermission mode 1.
Name: | SVC_INTERMISSION | |
Structure: |
|
SVC_FINALE
Shows the intermission camera view, and writes-out text passed in first parameter.
Note: Intermission mode 2.
Note: This text will keep showing on clients in future intermissions.
Name: | SVC_FINALE | ||
Structure: |
|
SVC_KILLEDMONSTER
Note: Deprecated.
Name: | SVC_KILLEDMONSTER | |
Structure: |
|
SVC_FOUNDSECRET
Note: Deprecated.
Name: | SVC_FOUNDSECRET | |
Structure: |
|
SVC_HLTV
Tells client about current spectator mode.
As found in hltv.h: #define HLTV_ACTIVE 0 // tells client that he's an spectator and will get director commands #define HLTV_STATUS 1 // send status infos about proxy #define HLTV_LISTEN 2 // tell client to listen to a multicast stream
Name: | SVC_HLTV | ||
Structure: |
|
SVC_RESOURCELOCATION
This message sends sv_downloadurl to client.
Name: | SVC_RESOURCELOCATION | ||
Structure: |
|
SVC_ROOMTYPE
Set client room_type cvar to provided value.
Name: | SVC_ROOMTYPE | ||
Structure: |
|