Raised This Month: $51 Target: $400
 12% 

What's the message for blinking dot on the radar?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 05-27-2012 , 08:41   What's the message for blinking dot on the radar?
Reply With Quote #1

I was searching for a message like this - the blinking dot that shows on the radar when a teammate uses the radio.
I found "Radar", but it doesn't seem to be the blinking one... only the normal dot that is shown at the position of your teammates, but that message doesn't have arguments for blinking.

So, can somebody tell me what to use to show that blinking dot?
__________________
<VeCo> is offline
Leon M.
Senior Member
Join Date: Apr 2009
Location: Germany
Old 05-27-2012 , 09:02   Re: What's the message for blinking dot on the radar?
Reply With Quote #2

I can create following dots! Not looked for the radio dot before but may this will help you too.

For CT:
Blue dot, shows the hostage position!
Red fast blinking dot, shows where a hostage dies!

For T:
Red slow blinking dot, shows where the bomb is dropped


At the moment I'm not sure if the bomb carrier has a seperate dot on the radar.
__________________
  • ZapTic - Paintball (Version 7.1.3 b1303)
  • Your #1 CS Paintball Server since 2008
  • 85.131.163.101:27015

Last edited by Leon M.; 05-27-2012 at 09:03.
Leon M. is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 05-27-2012 , 09:04   Re: What's the message for blinking dot on the radar?
Reply With Quote #3

The dot that blinks in yellow when a team-mate uses the radio. (it's more like a square)

I need it, because it works for both teams (not only T or CT).
__________________

Last edited by <VeCo>; 05-27-2012 at 09:27.
<VeCo> is offline
Leon M.
Senior Member
Join Date: Apr 2009
Location: Germany
Old 05-27-2012 , 09:27   Re: What's the message for blinking dot on the radar?
Reply With Quote #4

I think it is an internal thing like the voice icon above the players head, not sure.

You can use the red blinking dot from a dying hostage.

Take following code as a hint. I'll be back soon for questions.

PHP Code:

                
// This will create the blue dot, for CT ONLY
                
message_begin(MSG_ONE_UNRELIABLEgMsgHostagePos, { 000}, id)
                
write_byte(id)   // I don't know it really. Just logged the msg and it seems to be the id. So I tried it too and it works since 2 years :)
                
write_byte(16)   // This is the Hostage ID, I just set it to 16. Important is that you use another ID for another dot :)
                
write_coord(vOrigin[TEAM_CT][0])   // x coordinate
                
write_coord(vOrigin[TEAM_CT][1])   // y coordinate
                
write_coord(vOrigin[TEAM_CT][2])   // z coordinate
                
message_end()

                
// This will create the red dot, for ALL
                
message_begin(MSG_ONE_UNRELIABLEgMsgHostageK, { 000}, id)
                
write_byte(16)   // Hostage ID from above
                
message_end() 
__________________
  • ZapTic - Paintball (Version 7.1.3 b1303)
  • Your #1 CS Paintball Server since 2008
  • 85.131.163.101:27015

Last edited by Leon M.; 05-27-2012 at 12:41.
Leon M. is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 05-27-2012 , 09:45   Re: What's the message for blinking dot on the radar?
Reply With Quote #5

Yes, that works too, thanks.

I have tried this, but I wasn't sure about the first 2 arguments and that's why it didn't work good, but I understand now.
__________________

Last edited by <VeCo>; 05-27-2012 at 09:45.
<VeCo> is offline
Leon M.
Senior Member
Join Date: Apr 2009
Location: Germany
Old 05-27-2012 , 12:42   Re: What's the message for blinking dot on the radar?
Reply With Quote #6

I've added some descriptions. I hope you know how to get the msg ids.
__________________
  • ZapTic - Paintball (Version 7.1.3 b1303)
  • Your #1 CS Paintball Server since 2008
  • 85.131.163.101:27015
Leon M. is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-27-2012 , 12:47   Re: What's the message for blinking dot on the radar?
Reply With Quote #7

Send_SendAudio(receiver, sender)

will blink on receiver radar with sender origin, both have to be on the same team, else, receiver has to think sender is in his team (can do that with TeamInfo message.

PHP Code:
Send_SendAudio(idiSender 0szAudioCode[] = "%"iPitch 100)
{
    
message_begin(MSG_ONEg_iMsgSendAudio, .player=id)
    {
        
write_byte(iSender)
        
write_string(szAudioCode)
        
write_short(iPitch)
    }
    
message_end()

Credit : http://forums.alliedmods.net/showthread.php?t=53362
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 05-27-2012 at 13:03.
ConnorMcLeod is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 05-27-2012 , 14:17   Re: What's the message for blinking dot on the radar?
Reply With Quote #8

Hehe, thanks!
That's exactly what I needed.
__________________
<VeCo> is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:00.


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