Looking for "ping" feature from Elite mode

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
zargono
Posts: 25
Joined: 16 Jun 2012, 20:34
Location: France
Contact:

Looking for "ping" feature from Elite mode

Post by zargono »

Hi all,

I'm looking for a feature from Elite in the scripts, but I don't understand where it is.

In Elite, when a defender is looking at the attacker, there is a marker on the attacker for all the other defenders so they can see him through walls.

I tried to play around with CUIConfig::OpposingTeamLabelsVisibility, but I can't seem to find where the feature is in Elite.Script.txt or ModeSport.Script.txt

Did someone ever find this?
Image
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: Looking for "ping" feature from Elite mode

Post by steeffeen »

CUIConfig::OpposingTeamLabelsVisibility should be exactly what you're searching for!
the name tags are handled automatically and there is nothing else to do than setting how this automatic handling should work (always, never and so on)

what exactly are you missing?
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    Kyb
    Posts: 383
    Joined: 18 Aug 2011, 20:50

    Re: Looking for "ping" feature from Elite mode

    Post by Kyb »

    If you want ping like Elite (that allows its allies to see the opponent) you have to use this command.

    Code: Select all

    UsePlayerTagging = True;
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2463
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: Looking for "ping" feature from Elite mode

    Post by steeffeen »

    isn't that just the old variant that you have to actually ping the opponent?
    zargono only wrote about looking
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      User avatar
      zargono
      Posts: 25
      Joined: 16 Jun 2012, 20:34
      Location: France
      Contact:

      Re: Looking for "ping" feature from Elite mode

      Post by zargono »

      Kyb wrote:

      Code: Select all

      UsePlayerTagging = True;
      Thank you so much! That's what I was looking for!

      @steefeen: It's the new variant. But it might mean that we can't use the old one anymore. I don't need it at the moment but it could be useful to have it as an option.

      @Nadeo: It would be nice to have more customisation over this tagging feature, for instance setting how long you see the marker after losing sight of the opponent, or being able to know if a player is being tagged.
      Image
      Post Reply

      Return to “ManiaScript”

      Who is online

      Users browsing this forum: No registered users and 1 guest