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

[Tutorial][CSS] Radar spot edit!


Post New Thread Reply   
 
Thread Tools Display Modes
javalia
Senior Member
Join Date: May 2009
Location: korea, republic of
Old 12-09-2010 , 01:34   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #21

Quote:
Originally Posted by MoshMage View Post
anyway, would anyone make a "plugin" for those of us who aren't that familiar with coding and whatsoever?

or hasn't anyone come to any conclusion?

I read somewhere that BAIL set the radar to scramble IF cssdm and ffa = 1 on server start?
well, i am not thinking to make some other plugins that using this code,
but if u ask about some conclusion, i will show u my tacticalgunmod,
when sensor detects other enemy in the map, it will let u see them in minimap,
and if enemy is cloacked and is not detected by sensor, they will not even exist in minimap. this is what i made for my plugin. so, i believe other guys can use this way, and it is perfectly working
__________________
javalia is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 12-09-2010 , 19:47   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #22

Quote:
Originally Posted by javalia View Post
as i said on top of thread, u should hook postthink of player manage entity like this on map start

public OnMapStart(){

new PMIndex = FindEntityByClassname(0, "cs_player_manager");
SDKHook(PMIndex, SDKHook_ThinkPost, OnThinkPost);

}

cuz css will send radar data after it`s think(not sure but in other kind of think hook, it was not work correctly)
Using this method and setting the bPlayerSpotted offsets all to 0 still shows all players on radar. I also noticed a difference in hiding bots and real players.

I already tried blocking the UpdateRadar message, but i'm unable to do it in sourcepawn itself. The message get's through anyways. Maybe one need some kind of extension?
__________________
Peace-Maker is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 12-31-2010 , 10:53   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #23

You should hook player PreThink, otherwise you'll get many visual glitches on the radar.
Seta00 is offline
Wiskyjim
Junior Member
Join Date: Mar 2010
Old 05-15-2011 , 19:32   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #24

How hide the position of teammates?
Make a example for the gametype DM-FFA.
__________________

Wiskyjim is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 05-16-2011 , 07:58   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #25

Quote:
Originally Posted by Wiskyjim View Post
How hide the position of teammates?
Make a example for the gametype DM-FFA.
You can try this plugin I made when testing this a while ago. If it works then I'll post it in the plugin section. Requires SDKHooks.

Edit: Plugin Posted

Last edited by GoD-Tony; 05-18-2011 at 08:32.
GoD-Tony is offline
Wiskyjim
Junior Member
Join Date: Mar 2010
Old 05-16-2011 , 17:03   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #26

The value 0 and 2 works fine, but the value 1 shows me still teammates.
__________________

Wiskyjim is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 05-16-2011 , 17:27   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #27

Ok, maybe I'll play around with it later to see if I can get it working.
GoD-Tony is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 05-16-2011 , 17:48   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #28

You can't hide teammates from the radar using the m_bPlayerSpotted property. Since they are in the same team as you, they're shown anyway. You may try to set everyones m_iTeam to 1 or similar in PostThink. Don't know if that will change anything though;)
__________________
Peace-Maker is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 05-18-2011 , 08:36   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #29

I noticed that the radar is hidden while a player is flashed and he can still change his weapons. I also noticed that the client's m_iHideHUD property isn't changed whether he is flashed or not, so it must be something else triggering it.

To hide radar: Simulate a long flashbang with 0 alpha (no whitescreen).

Example: http://forums.alliedmods.net/showthread.php?p=1471473
GoD-Tony is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 05-18-2011 , 12:41   Re: [Tutorial][CSS] Radar spot edit!
Reply With Quote #30

Nice find!
__________________
Peace-Maker 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 09:21.


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