Negative ShooterPoints

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
steeffeen
Translator
Translator
Posts: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

Negative ShooterPoints

Post by steeffeen »

Hey there,

i noticed that if you set negative ShooterPoints of an Event it will show up "+ -1".. That's looking pretty ugly and it would be great if the + sign would only be displayed when setting positive ShooterPoints.

Screenshots:
http://dl.dropbox.com/u/58886549/ManiaP ... Shot02.jpg
http://dl.dropbox.com/u/58886549/ManiaP ... Shot03.jpg

Greetings
Steff
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    w1lla
    Posts: 2396
    Joined: 15 Jun 2010, 11:09
    Location: Netherlands
    Contact:

    Re: Negative ShooterPoints

    Post by w1lla »

    Hi,

    did you try to alter the Score.Script.txt script...

    It has a function RemovePoints which uses the Add points.

    If you alter that script it might work...

    untested actually but the basics might be the same...
    TM² Info
    SM Info
    QM Info

    OS: Windows 10 x64 Professional
    MB: MSI 970A-G46
    Processor: AMD FX-6300 3500 mHz
    RAM Memory: 16 GB DDR3
    Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
    KB: Logitech G510s
    Mouse: Logitech G300s
    Mode Creation
    ManiaScript Docs
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2472
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: Negative ShooterPoints

    Post by steeffeen »

    i think you didn't get the point.. It's not about decreasing the players score (that's no problem at all).

    Imagine:
    there is an OnHit event.
    you set

    Code: Select all

    Event.ShooterPoints = 1;
    and after PassOn(Event); the game itself (no script) displays the +1 for the shooter. but if you set

    Code: Select all

    Event.ShooterPoints = -1;
    and PassOn the event the game doesn't display "-1" but "+ -1"..
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      Post Reply

      Return to “ManiaScript”

      Who is online

      Users browsing this forum: No registered users and 1 guest