Jump to content
Tankbuster

create an alternative to tactical ping

Recommended Posts

I'm fed up with troubleshooting this. It's invaluable when it works and frustrating when, for no apparent reason, it doesn't. I suspect some problems are caused by 3rd party launchers and who knows what else.

 

So I want to craft a scripted alternative. I've done some brainstorming but written no code yet and wanted to get more input before pressing on.

 

For the player sending the TP, they should be using a rangefinder in optics mode and the laser be turned on. Pressing a key then activates the TP system.

It resolves where the player is looking and if they aren't looking into the sky, it works out where on the terrain they are looking (by getting their laserTarget object).

 

It then renders an icon both on their game UI and their map at that position. Players that are in their squad have an icon drawn on their map if they have one and on their UI if they have tactical glasses.

 

I'm expecting to use screentoWorld and its family of commands. It must be MP compatible, TP makes the most sense there.

 

Any thoughts?

Share this post


Link to post
Share on other sites

The tactical ping seems to me OK if you allow some HUD settings in difficulties.

See this page showHUD

 

Anyway, I did something similar in my mods: marker on map where player is looking at in gunner view (optic/laser designator, turret).

It's easy with MEH "map" but you can trigger it pressing a key as well and draw3D an helper like Sign_Arrow_Large_F  (See also drawIcon3D)

I'm using lineIntersectsSurfaces and positionCameraToWorld.... for positioning.

 

 

 

 

Share this post


Link to post
Share on other sites

All my shownhud returns are true - my theory is that it's more related to server difficulty.

 

Yes, positioncameratoworld and lineintersects are going to do the heavy lifting, I'm sure. I'd want it to work on both map and world GUI, so a TP on the map will also render on the world GUI, and vice versa. Not sure if that's practical yet.. still working through it in my mind.

Share this post


Link to post
Share on other sites

Whats wrong with using the point mechanic from ACE? Not a huge fan of tactical ping either.

Share this post


Link to post
Share on other sites

I don't use ACE.

Anyway, I've created a scripted alternative which I'm going to test with my players soon.

  • Like 2

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×