Sakeri.6803 Posted November 8, 2019 Share Posted November 8, 2019 Before I get into the actual coding I wanted to pick everyone's brain and see if what I want to design is even feasible with the currently-available API. I want to design and code a plugin that alters the transparency of "/say" text in a player's chat box based the distance between the player's character and the "/say"-er. For example, people at or near the edge of the "/say" radius would see the subsequent "/say" text at 40% transparency whereas people at the center of the "/say" radius would see "/say" text at 100%. From what I gathered from GW2's API Wiki page I don't see a method to make this work but if anyone has any thoughts regarding this please share. Link to comment Share on other sites More sharing options...
Leo.3428 Posted November 19, 2019 Share Posted November 19, 2019 Mumble uses data from a special (local) API to tweak the stereophony and volume of spoken chat. This API gives the in-game position and orientation of the players connected to its server, and you can calculate the distance between two players out of the data. See https://wiki.guildwars2.com/wiki/API:MumbleLink 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