cyhadam.3082 Posted September 27, 2018 Share Posted September 27, 2018 What would be the easiest way for me build a plugin that would present in-game lore text upon getting a point of interest or waypoint unlocked? Furthermore, is there any way to pull GW2 wiki information and make that presentable in-game upon walking over certain parts of a map. I think it would not break game immersion and help build game lore. Link to comment Share on other sites More sharing options...
Tiscan.8345 Posted October 16, 2018 Share Posted October 16, 2018 "On Unlock" is pretty much impossible as the API doesn't provide this information. Right now there is (AFAIK) no way to tell if a player has unlocked a certain POI/WP other than tracking if he ever got close to it. What you could do is displaying lore based upon proximity to a point. You could read the coordinates of the player using the Mumble API and display informations when you get close to a certain point in the world. I guess the best way would be by showing some kind of pop-up window in one corner of the window which auto-closes after a certain amount of times if you leave the area or when the player closes the window. And you can most likely pull most data from the wiki by using the name of a POI/area (at least when you're using english texts/names). For example the POI "Lair of the Beast" has a wiki page - https://wiki.guildwars2.com/wiki/Lair_of_the_Beast and MediaWiki also has an API you can use to pull data in multiple formats - for example: https://wiki.guildwars2.com/api.php?action=query&titles=Lair_of_the_Beast&prop=revisions&rvprop=content&format=jsonfm (as you can see, it uses the page-title to identify which page you wanna pull). Link to comment Share on other sites More sharing options...
wanya.1697 Posted October 17, 2018 Share Posted October 17, 2018 not sure how much text you want to display but you could try taco markers http://www.tekkitsworkshop.net/index.php/gw2-taco/guide-make-your-own-markers so far as I understand the guide it should be possible to type text into a png file with mspaint and let it be displayed via taco overlay when you reach certain points Link to comment Share on other sites More sharing options...
cyhadam.3082 Posted October 18, 2018 Author Share Posted October 18, 2018 Ok thank you for the info here. I will get to work! Any preferred programming languages that would work best? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now