Jump to content

Untested [Client] [Development Branch] Minimap Plugin


Cheshire

Recommended Posts

Minimap Plugin

 

WARNING: This is currently NOT supported on the prerelease branch due to changes to the plugin API made that allow this to work!

Once this becomes available for the prerelease branch I will update this topic with the required version of Intersect!

You will need to be using the Development branch and potentially compile your own binaries for the time being!

 

 

aae56691d6aac5a2d29d79e79ab8bc04.gif

 

 

Description:

 

This plugin adds a very basic minimap to the client, allowing your players an overview of the surrounding area and entities.

Currently there's not a whole lot of customization available for the minimap, but I do intend to eventually return to it to add some more changes. :)

 

Features:

 

  • Add a minimap to your games!
  • Renders the lowest layers of your map by colour approximation to the minimap.
  • Renders entities such as players, events, npcs and resources to the minimap with configurable colours.
  • A configurable GUI element with its own json file and graphics files. (including an overlay graphic!)
  • Configuration options to decide which map layers get drawn to the minimap! (v1.0.2+)
  • Configurable images per entity type (v1.1.0+)
  • Configurable images per resource tool type (v1.1.1+)
  • Zooming in and out as well as configurable zoom levels (v1.1.0+)

 

Demo Configuration:

 

  Reveal hidden contents

 

Downloads:

 

Version 1.1.1    [Download]     

Or view the Github repository over [Here]

 

Changelog:

  Reveal hidden contents

 

Installation:

 

  1. Download the above file.
  2. Extract the folder into your Intersect Client\resources\plugins directory.
  3. Modify the config.json file as desired!
  4. Modify the included resources as desired!
  5. Run the client and witness your newly added minimap.
Link to comment
Share on other sites

  • 2 weeks later...


I have this error, which seems to happen randomly, and also when I'm logged into the player and try to go back to the character selection menu

 

2021-08-16 01:39:55.833 [Error] 
  Message: ReferΓͺncia de objeto nΓ£o definida para uma instΓ’ncia de um objeto.
    Stack:    em Intersect.Client.General.Globals.OnGameUpdate(TimeSpan deltaTime)
   em Intersect.Client.Core.Main.Update(TimeSpan deltaTime)
   em Intersect.Client.MonoGame.IntersectGame.Update(GameTime gameTime)
   em Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
   em Microsoft.Xna.Framework.Game.Tick()
   em Microsoft.Xna.Framework.SdlGamePlatform.RunLoop()
   em Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   em Intersect.Client.MonoGame.IntersectGame.MonoGameRunner.Start(IClientContext context, Action postStartupAction)
   em Intersect.Client.Core.ClientContext.InternalStart()
   em Intersect.Core.ApplicationContext`2.Start(Boolean lockUntilShutdown) na E:\Greem\Intersect-Engine-development\Intersect (Core)\Core\ApplicationContext`2.cs:linha 221

 

Link to comment
Share on other sites

  On 8/16/2021 at 1:43 AM, HelenaToDev said:


I have this error, which seems to happen randomly, and also when I'm logged into the player and try to go back to the character selection menu

 

2021-08-16 01:39:55.833 [Error] 
  Message: ReferΓͺncia de objeto nΓ£o definida para uma instΓ’ncia de um objeto.
    Stack:    em Intersect.Client.General.Globals.OnGameUpdate(TimeSpan deltaTime)
   em Intersect.Client.Core.Main.Update(TimeSpan deltaTime)
   em Intersect.Client.MonoGame.IntersectGame.Update(GameTime gameTime)
   em Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
   em Microsoft.Xna.Framework.Game.Tick()
   em Microsoft.Xna.Framework.SdlGamePlatform.RunLoop()
   em Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   em Intersect.Client.MonoGame.IntersectGame.MonoGameRunner.Start(IClientContext context, Action postStartupAction)
   em Intersect.Client.Core.ClientContext.InternalStart()
   em Intersect.Core.ApplicationContext`2.Start(Boolean lockUntilShutdown) na E:\Greem\Intersect-Engine-development\Intersect (Core)\Core\ApplicationContext`2.cs:linha 221

 

Expand  


i can confirm this issue, logging out / going back to character select menu does crashes the client. happens with this plugin, also happens with some tests i've done by following @gooby guide.

Link to comment
Share on other sites

  On 8/19/2021 at 2:03 PM, Cheshire said:

Found the issue, although not related to this particular plugin..

Submitted a PR to fix the issue at the Engine level: https://github.com/AscensionGameDev/Intersect-Engine/pull/918

Expand  

Yeah you are right, tried last night again, without a single plugin on, and the crash still happened in the same scenario. Thanks for this !

Link to comment
Share on other sites

aae56691d6aac5a2d29d79e79ab8bc04.gif

 

 

Version 1.1.0:

[Download]

  • Added a zoom in and out button.
  • Added configurable options regarding zooming, so minimum and maximum zoom as well as the zoom steps and default zoom level.
  • Added configurable options to display images for entities instead of coloured squares.
  • Added the ability to distinguish between players and party members.
  • Changed some default configuration options to better allow for rendering images. (ie minimap tile size)
Link to comment
Share on other sites

261a75a99aa1cc08c679e253174473a8.png

 

Version 1.1.1:

[Download]

  • Added options to set colors and textures independently for resource types based on tool type.
  • Added an option to configure a timer for updating entity locations, rather than doing so every single update.
  • Fixed an issue that would not allow custom sized minimap windows.

Note: this version requires an (currently) unmerged pull request!

 

Link to comment
Share on other sites

  • 3 months later...
  • 5 weeks later...

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...