AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Code Snippets/Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=83)
-   -   List of CS/CZ/DOD Events/Messages with their arguments (https://forums.alliedmods.net/showthread.php?t=9260)

Geesu 01-11-2005 14:47

List of CS/CZ/DOD Events/Messages with their arguments
 
OK guys I'm trying to compile a complete list of the messages in CS/CZ/DOD and what they do.

I'm creating them in excel, so far I have the CS/CZ done to the extent of my knowledge (I think). I'll create a DOD version shortly. If you notice any errors or know what some of the messages do, please post here and I'll change it. Please realize that the CZ document will only have messages listed that are DIFFERENT than those in CS, so if you don't see the message in the CZ document, then download the CS document and use that data.

Excel Documents:
Counter-Strike
Condition Zero
Day of Defeat

HTML Files:
Counter-Strike
Condition Zero
Day of Defeat

Brainbread Partial list - By Avalanche

Useful for creating StatusIcon Messages:
CS/CZ hud.txt
DODhud.txt

**Updated 06-24-2005**
Mentioned that the HideWeapon information may be outdated

**Updated 01-12-2005**
The next 2 posts are included in the above excel documents
DOD Messages added

To dos:
Add the # of arguments for quick reference and the msd IDs

DS 01-11-2005 23:26

Great job on this list here. I have a few things that you might like to add.

First, a note on what you said about TextMsg. The first byte can be 1 through 4. It's not a player's entity index or anything like that. It's basically the same as client_print in AMX/X. It is actually the destination of the text.
1: Notify
2: Console
3: Chat area
4: Center

New message information now...

BombDrop
coord, coord, coord, byte
1: X, 2: Y, 3: Z, 4: Bomb planted?
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.

BombPickup
NO ARGUMENTS
This message just tells the game that the bomb has been picked up. It will cause the dropped bomb to disappear from the Terrorist team's radar.

ShowTimer
NO ARGUMENTS
Shows the round timer again if it has been hidden.

WeaponList
string, byte, byte, byte, byte, byte, byte, byte, byte
1: Weapon name, 2: Ammo1 ID, 3: Ammo1 Max, 4: Ammo2 ID, 5: Ammo2 Max, 6: Bucket, 7: Bucket Position, 8: Weapon ID, 9: Flags
This message is sent before the map is fully loaded to determine the location of weapons on the player's HUD. This can potentially be used to change the positions of weapons and put them in different slots. The knife seems to have most problems with this however. Arguments 2 and 3 are -1 if the weapon is the knife. Arguments 4 and 5 are -1 in CS and CZ, but normally they would not be if a weapon had some sort of secondary ammo. Argument 6 can be 0-4 which correspond to the 1-5 horizontal weapon slots on the HUD. Argument 7 is the vertical weapon slot which is only noticable when a player has multiple weapons in a horizontal slot. These numbers start at 1 instead of 0, unlike argument 6. Argument 8 corresponds to a weapon's CSW_ constant.

Johnny got his gun 01-12-2005 06:06

1 Attachment(s)
I have a similar excel document for CS. I don't know if this is the one you have. You can take a look at it here and maybe merge its contents into yours. I know I made a few unpublished edits to it.

Geesu 01-12-2005 09:27

Thanks guys, I updated it.

Cronck 05-02-2005 08:27

Omg... Can you please export it to a html or something?
I dont have excel :(

BioHazardousWaste 05-02-2005 12:33

www.openoffice.org

v3x 05-02-2005 13:41

Quote:

Originally Posted by Cronck
Omg... Can you please export it to a html or something?
I dont have excel :(

If you're talking about the CS events, twisted exported them for me, I will upload them to the web when I get home.

Cronck 05-02-2005 17:18

Yes, i am talking about CS Events :)

v3x 05-02-2005 17:25

HTML Version of Counterstrike events

<WEBSITE NON-EXISTANT>

:)

Johnny got his gun 05-02-2005 17:45

BTW I think that maybe the HideWeapon chart could be outdated because I tried that awhile ago and nothing really worked as supposed :-\

Mind 08-11-2005 13:12

I would be really interested in finding out some more info about getting hold of who you currently are spectating and how to intercept the text that prints out when you aim at someone. I think it is related to some of these events, but Im not sure. Maybe worth checking up, I cant seem to find info on it somewhere else.

Geesu 11-03-2005 13:02

Quote:

Originally Posted by Mind
I would be really interested in finding out some more info about getting hold of who you currently are spectating and how to intercept the text that prints out when you aim at someone. I think it is related to some of these events, but Im not sure. Maybe worth checking up, I cant seem to find info on it somewhere else.

This is possible, look at war3ft code, function on_Spectate

v3x 11-03-2005 13:32

Oh, this reminds me... Updated the HTML version of the Counterstrike events URL I posted above :)

cTn 11-03-2005 13:55

great ^^

KWo 05-14-2006 04:45

About these CS event messages - can somone add also the column into that excel with the info - who might be a receiver of the message - if it's the message sent to all players, to one user, to one team or something like that.
Also more examples (at least for TextMsg's) would be appreciated. :)

Geesu 05-15-2006 09:33

like example of how to write the messages? Check the HL SDK

ModoZaur 11-04-2006 22:11

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
Wow :shock: it's break my head off :)

zenix 04-03-2007 11:44

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
Bringing back a dead topic, huh? Shame on me! :roll:
Anyways, Geesu, I've already sent you an email, but here it is for everyone to enjoy.
Quote:

I do belivie that the 2nd value passed, the "Unknown" one, is actually how much battery life is left within the flashlight. If you can wrap some event handler and use the flashlight for about 10 secs, then quickly turn on/off so your handle would re-activate, you'll see that #2 is lower than 100. Again, I belivie this to be power left in the flashlight. Wether or not this is a percentage is unknown to me.
(this is in the CS 1.6 events listing, may apply in others but I havent looked)


*pssst* Official ppl: Sticky this!

VEN 04-10-2007 02:20

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
This one is more completed: http://wiki.amxmodx.org/index.php/Ha..._1_Game_Events (doesn't include dod messages)

pRED* 04-13-2007 02:43

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
Does anyone know where I can get a list of impulse messages? (for cs)

I can't find them anywhere..

VEN 04-13-2007 03:42

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
Impulse commands isn't related to messages/events. They are listed in HLSDK.

pRED* 04-13-2007 04:31

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
Ok sorry I thought it was kinda related..

Where in the SDK is it? I can't find anything...

VEN 04-13-2007 05:05

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
CBasePlayer::ImpulseCommands and CBasePlayer::CheatImpulseCommands

Rolnaaba 07-05-2007 22:01

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
1 Attachment(s)
yo this would be really helpful, but I dont have Excel, and the html version is messed up...
I use wiki for the events, but I would like a list of messages too :(
notice:

VEN 07-06-2007 12:27

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
Why not use freeware soft that is support *.xls?

Rolnaaba 07-06-2007 13:05

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
um...because I am stupid, thanks. TO YAHOO SEARCH!!!

Greenberet 07-11-2007 01:53

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
Rolnaaba i suggest OpenOffice

SonicSonedit 03-17-2009 10:13

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
Some questions:
Does anyone know what is this message? It's item_battery in hammer editor (gives 15 armor).
http://xmages.net/out.php/t146733_1.jpg
I'll really appreciate if someone will tell how to make player see this icon!


about Radar - what does ID means?
is it player ID or is it number of mark on radar?
What is x-y-z? World coords or some sort of radar local values?

How can i add new marks on radar?

I Tried
PHP Code:

/* Plugin generated by AMXX-Studio */

#include <amxmodx>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Sonic Son'edit"

new msgtoshow;
new 
itemtoshow;

public 
plugin_init()
 {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("amx_msgidtest""clcmd_msgidtest");
    
msgtoshow=112;
    
itemtoshow=0;
}


public 
clcmd_msgidtest(id)
{
    
message_begin(MSG_ONE_UNRELIABLEmsgtoshow_id)
    
write_byte(itemtoshow);
    
write_coord(0.0)
    
write_coord(0.0)
    
write_coord(0.0)
    
message_end();
    
itemtoshow++;


But the only thing happened is client got crashed after i called function for several times.

will this be updated? http://www.war3ft.com/downloads/misc/events_CS.htm
because it doesn't even say that BlinkAcct makes your money bar blink like when you don't have enough money to buy something (byte is probably duration)

ConnorMcLeod 03-17-2009 12:16

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
Quote:

Originally Posted by SonicSonedit (Post 782683)
I'll really appreciate if someone will tell how to make player see this icon!

http://forums.alliedmods.net/showthr...ght=icons+list

SonicSonedit 03-17-2009 12:29

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
ConnorMcLeod
Thank you very much!

Now the only unknown thing is radar)

maoxianxie 08-29-2011 23:57

Re: List of CS/CZ/DOD Events/Messages with their arguments
 
I have been looking for it for 3 days, thanks.


All times are GMT -4. The time now is 16:36.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.