Event Indicators (Quest Markers)

Discussion in 'JS Plugins In Development' started by S_Rank_Crazy, Jan 4, 2016.

  1. S_Rank_Crazy

    S_Rank_Crazy Veteran Veteran

    Messages:
    78
    Likes Received:
    47
    Location:
    The Other Batcave, UK
    First Language:
    English
    Primarily Uses:
    RMMV
    Hey guys,

    A couple of days ago I stumbled across Galv's Action Indicators and I got inspired to write my first set of plugins, hope someone finds this useful. It's still a work in progress but it is functional and I'm open to any suggestions.

    Event Indicators

    Provides a simple way to add images above events, like displaying a "!" or "?" above quest related NPCs or items. The plugin has a bunch of parameters for controlling the general display of the indicators, but each event's indicator can be further customised using comment tags, overriding the plugin's default values.

    screenshot_map.png
    This is what it looks like in action

    screenshot_event.png
    This is how the events are set up

    Features


     


    v0.3.2 - 2016-09-16
     * Fixed issue with nopt being able to set visibility of indicators directly


     


    v0.3.1 - 2016-03-17
     * Fixed issue with <eventIndicator: false> tag not working


     


    v0.3 - 2016-01-19


    * Fixed issue where changing map wouldn't correctly update the indicators that should be visible


     



    v0.2 - 2016-01-05


    * Set scale and hue of icons


    * Tween options for position, scale, opacity and more!


    v.01 - 2016-01-04

    * Show icons above events using comments
    * Supports multiple icons per map
    * Supports using any image file in the Project as a source for icons
    * Indicators customisable on a per event basis using comment tags
    * Indicators are managed/updated based on the event's current page


    Terms Of Use

    Free for commercial and non-commercial use. No credit need be given, but always appreciated :D


    Planned
    * Maybe add support for animated icons


    * Any suggested features

    Disclaimer
    This requires my SRCrazy_Core plugin to work which is bundled in with the demo (obviously) and the plugin source file.

    Download
    Demo
    Source
     
    Last edited by a moderator: Sep 17, 2016
    #1
  2. Valentinez

    Valentinez Love and Peace! Member

    Messages:
    3
    Likes Received:
    0
    First Language:
    English
    I really like the Event Indicators, although I have run into 1 problem,
    When I first enter the area, everything is working, the event indicators
    are hovering, and following my events I have set them to.

    However, if I leave, and then come back, the event indicators are stuck
    at the last position they had when I left the area.

    I've also noticed sometimes they 'carry over' to another map,
    event indicators just floating over trees, and on a map I haven't set
    anything to have them.

    The comment I have on these Events is:


    <eventIndicator: true>


    <eventIndicatorIcon: 92>


    <eventIndicatorTweenPosY: true -50 -60 1 linear oscillate>


    Screenshot 2016-01-19 22.16.06.png


    Screenshot 2016-01-19 22.16.41.png
     
    Last edited by a moderator: Jan 20, 2016
    #2
  3. Valentinez

    Valentinez Love and Peace! Member

    Messages:
    3
    Likes Received:
    0
    First Language:
    English
    I was able to replicate it in the Demo, by making a blank map,
    and teleporting to that, all the event indicators carried over

    Screenshot 2016-01-19 22.30.37.png

    Screenshot 2016-01-19 22.30.43.png
     
    #3
  4. S_Rank_Crazy

    S_Rank_Crazy Veteran Veteran

    Messages:
    78
    Likes Received:
    47
    Location:
    The Other Batcave, UK
    First Language:
    English
    Primarily Uses:
    RMMV
    Hey, thanks for letting me know. I'll endeavour to get a fix out soon.


    Fixed
     
    Last edited by a moderator: Jan 21, 2016
    #4
    Valentinez likes this.
  5. Valentinez

    Valentinez Love and Peace! Member

    Messages:
    3
    Likes Received:
    0
    First Language:
    English
    Perfection! That was fast! lol
     
    #5
  6. Todeswalzer

    Todeswalzer Veteran Veteran

    Messages:
    64
    Likes Received:
    18
    Location:
    Carlisle, Cumbria, UK
    First Language:
    English
    Is there a way to make the icon go away once the action has been completed?
    I managed to make the icon appear at a specific time when a quest or part of the a quest was available from said person, but once the subject was finished with the icon remained there even though there was no further use or need for it. I tried all sorts of commands that you have in there, but it just lingers...
     
    #6
  7. S_Rank_Crazy

    S_Rank_Crazy Veteran Veteran

    Messages:
    78
    Likes Received:
    47
    Location:
    The Other Batcave, UK
    First Language:
    English
    Primarily Uses:
    RMMV
    Did you try SRCRAZY_EVENTINDICATORS false [eventId]? An event's ID is not to be confused with their name. Though this may not stay persistent between loads, need to test that actually.


    If you're changing the event's page (via a control variable) on the new page just use:


    <eventIndicator: false>


    Either method should work. If not, could you set me up a test project to debug?
     
    Last edited by a moderator: Feb 25, 2016
    #7
  8. S_Rank_Crazy

    S_Rank_Crazy Veteran Veteran

    Messages:
    78
    Likes Received:
    47
    Location:
    The Other Batcave, UK
    First Language:
    English
    Primarily Uses:
    RMMV
    Just as a follow up, the demo project has a use case for this. If you check out the chest's event you'll see it has the indicator on page one and it gets removed when the page is set to page 2.
     
    #8
  9. Tyrael79

    Tyrael79 Veteran Veteran

    Messages:
    90
    Likes Received:
    15
    Location:
    Australia, Sydney
    First Language:
    english
    Hey S-Rank_Crazy,


    I love your plugin, and I've been using it for all my quests! So first and foremost, thank you very much!


    I was wondering if you could help me. I'm running into an issue. For a set of event icons I need to have them 1 square higher than normal. I thought I'd be able to do this through using the "eventIndicatorOffsetY" command, but it doesn't seem to be working.

    1. Is this what it's for?
    2. If so, am I using it correctly (see below comments I put in the event)

    <eventIndicator: true>


    <eventIndicatorIcon: 109>


    <eventIndicatorTweenPosY: true -50 -60 1 linear oscillate>


    <eventIndicatorOffsetY: -76>


    Thanks a heap
     
    #9
  10. Nicke

    Nicke Fortune seeker Veteran

    Messages:
    529
    Likes Received:
    499
    Location:
    Sweden
    First Language:
    Swedish
    Primarily Uses:
    RMMV
    @Tyrael79: You are already using the TweenPosY to position the icon so just change the -50 -60 to where you want it.  :)  


    On a side note I've found out a bug in this plugin as you cannot remove any icon using the <eventIndicator: false> comment. I've managed to fixed the bug and if someone wants my version until a fix has arrived you can PM me or something. Cheers!
     
    #10
    Tyrael79 likes this.
  11. Tyrael79

    Tyrael79 Veteran Veteran

    Messages:
    90
    Likes Received:
    15
    Location:
    Australia, Sydney
    First Language:
    english
    @Nicke thanks!
     
    #11
  12. Tyrael79

    Tyrael79 Veteran Veteran

    Messages:
    90
    Likes Received:
    15
    Location:
    Australia, Sydney
    First Language:
    english


    I noticed that too, I just set up an indicator with icon 0, so the icon wouldn't show.
     
    #12
  13. S_Rank_Crazy

    S_Rank_Crazy Veteran Veteran

    Messages:
    78
    Likes Received:
    47
    Location:
    The Other Batcave, UK
    First Language:
    English
    Primarily Uses:
    RMMV
    @Nicke @Tyrael79


    Thanks for the heads up guys. I'm pretty sure I have an example of this usage in the demo and last I checked it worked fine. I'll look in to it. How are you guys finding it, any feedback/requests?


    EDIT: Fixed bug. Updated demo and source. Thanks again for reporting :)  Been away from this for a while but hoping to get back on top of it.
     
    Last edited by a moderator: Mar 17, 2016
    #13
    Tyrael79 likes this.
  14. Nicke

    Nicke Fortune seeker Veteran

    Messages:
    529
    Likes Received:
    499
    Location:
    Sweden
    First Language:
    Swedish
    Primarily Uses:
    RMMV
    @S_Rank_Crazy: No problems! Yeah, I was wondering if it is possible to change the linear value to something else? I know there are alot of more tweeting options for that so.
     
    #14
  15. S_Rank_Crazy

    S_Rank_Crazy Veteran Veteran

    Messages:
    78
    Likes Received:
    47
    Location:
    The Other Batcave, UK
    First Language:
    English
    Primarily Uses:
    RMMV
    Yea, I've been planning on looking for some open source easing function stoned to my library and/or develop my own but 2016 has had other plans for my life.


    It's on my to do list.


    EDIT: Just rolled off some quick ones:


    * linear
    * quadIn
    * quadOut
    * quadInOut
    * cubicIn
    * cubicOut
    * cubicInOut
    * sineIn
    * sineOut
    * sineInOut
    * elasticIn
    * elasticOut
    * elasticInOut


    If there's anything specific you want then just holla at me :)
     
    Last edited by a moderator: Mar 18, 2016
    #15
  16. Tyrael79

    Tyrael79 Veteran Veteran

    Messages:
    90
    Likes Received:
    15
    Location:
    Australia, Sydney
    First Language:
    english
    wow so quick to respond and make changes!
     
    #16
  17. S_Rank_Crazy

    S_Rank_Crazy Veteran Veteran

    Messages:
    78
    Likes Received:
    47
    Location:
    The Other Batcave, UK
    First Language:
    English
    Primarily Uses:
    RMMV
    I try not to keep people waiting around, I'm à programmer for my day - job so I guess it's just something I'm used to.
     
    #17
  18. MattyP1992

    MattyP1992 Villager Member

    Messages:
    14
    Likes Received:
    5
    First Language:
    English
    The fairy's icon and the toggle all icons in your demo and script do not work, they just stay on. Is there anyway to fix this?
     
    #18
  19. S_Rank_Crazy

    S_Rank_Crazy Veteran Veteran

    Messages:
    78
    Likes Received:
    47
    Location:
    The Other Batcave, UK
    First Language:
    English
    Primarily Uses:
    RMMV
    Hi, I'm at work at the moment but give me a couple of hours and I'll check this out for you.
     
    #19
  20. S_Rank_Crazy

    S_Rank_Crazy Veteran Veteran

    Messages:
    78
    Likes Received:
    47
    Location:
    The Other Batcave, UK
    First Language:
    English
    Primarily Uses:
    RMMV
    All icons appear to be working properly for me mate, however the toggle is definitely broken so I will get right on that. When you say "the fairy", which one do you mean?
     
    #20

Share This Page