Jump to content
RenCorner Network

Dragonade Radio Commands put icon over enemy stealthed tanks


Recommended Posts

Posted (edited)

There are a bunch of radio commands which put an icon over enemy units you last damaged, like f10 (focus fire). There is a check Is_Stealth_Enabled() but this only checks if a soldier is stealth enabled, it doesn't check whether a Vehicle is stealth enabled(it will always be false). The code is in da_radio.cpp. Fix Is_Stealth_Enabled() (check the code, it needs an extra vehicle check) and replace all calls to Is_Stealth_Enabled in the da_radio.cpp file with the fixed version.


EDIT: This doesn't affect other Dragnade cost because that checks via the VehicleGameObj->Is_Stealth_Enabled()  membevr function directly instead of via the Is_Stealth_Unit() global function which is a pre-TT function that is only supposed to be used for soldiers.

Edited by Iran
  • Like 1
  • Thanks 1
Posted (edited)

Yeah, it's pretty stupid that if you shoot a stealth tank (even by accident), and just spam f10/f11, you can basically always see that stealth tank with the blue vehicle symbol on it, and it might as well not be a 'stealth' tank anymore. Pretty frustrating when MRLs auto-lock onto stealth tanks. I am glad that the radio commands don't do that for SBHs.

Additionally, if you use !bounty over a stealth unit, you can also see them with an icon (regardless if it's a stealth vehicle or a stealth infantry) for a few seconds.

EDIT: There's also a weird bug(?) where if you shoot a building e.g. the obelisk, and press f11, where you say 'Enemy Spotted!' (not f10, which makes you say 'Focus fire on the obelisk!'), the enemy team can see you spam that command for some reason.

Edited by Forithow
  • Like 1
Posted

i like being able to target stanks this way
wish it worked on sbhes actually it would be hella great

Posted
7 hours ago, Forithow said:

Yeah, it's pretty stupid that if you shoot a stealth tank (even by accident), and just spam f10/f11, you can basically always see that stealth tank with the blue vehicle symbol on it, and it might as well not be a 'stealth' tank anymore. Pretty frustrating when MRLs auto-lock onto stealth tanks. I am glad that the radio commands don't do that for SBHs.

Additionally, if you use !bounty over a stealth unit, you can also see them with an icon (regardless if it's a stealth vehicle or a stealth infantry) for a few seconds.

EDIT: There's also a weird bug(?) where if you shoot a building e.g. the obelisk, and press f11, where you say 'Enemy Spotted!' (not f10, which makes you say 'Focus fire on the obelisk!'), the enemy team can see you spam that command for some reason.

da_radio.cpp line 192 ANNOUNCE_PUBLIC is used instead of ANNOUNCE_TEAM

Posted

 

Yeah there is a few places that don't check for stealth when the icon function is used. Bounty being one of them.

Dug up my dollar icon I made for bounty if anyone wants to see how those are made.

 

 

emo_dollar.zip

Posted
12 hours ago, He4dSh0t said:

i like being able to target stanks this way
wish it worked on sbhes actually it would be hella great

What would happen if it worked on SBH is that, you mine all the entrances to GDI base, and you constantly press the END key to see your mine count (as you're walking around base), and as soon as it goes down, you spam f10 around your base, and instantly find the SBH lol

Posted

dblaney fixed it already

Posted
11 hours ago, Forithow said:

What would happen if it worked on SBH is that, you mine all the entrances to GDI base, and you constantly press the END key to see your mine count (as you're walking around base), and as soon as it goes down, you spam f10 around your base, and instantly find the SBH lol

yea id like that

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...