I'm fairly new to modding, so I've only really been trying to splice together already working plugins.
But I'm wondering if anyone has any insight on how to best go about this.
I'd like to create a plugin that will allow players to fast-travel or teleport to and from already established areas.
In example, a player would come across a (indestructible) signpost (with a no build zone around it). While next to the signpost they can teleport to any other signpost they've come across. But they wouldn't have teleporation permissions outside the immediate area of the signposts.
I've been trying to mash together code from existing plugins (Zones Manager for Rust | Oxide , Teleportation System for Rust | Oxide , Warp System for Rust | Oxide , and Portals for Rust | Oxide) but I cant seem to get it right...
It logically seems simple, but on the code level its much different.
Any suggestions?
Need help with a fast travel plugin
Discussion in 'Rust Development' started by Witcher117, Feb 7, 2016.
-
Calytic Community Admin Community Mod
Something like this should really be exposed through a GUI. I'll do it with a map if you give me high quality icons with proper rights to use them.
Oh, and host the icons for me. On a CDN.Last edited: Feb 7, 2016 -
What sort of gui are you thinking of, like an overlap of the games map asset?
-
Calytic Community Admin Community Mod
Paper Map overlays would not work. You can draw overlay but that would be insufficient as you would need clickable buttons to interact with the fast travel locations.
You could ask Kayzor (LustyMap for Rust | Oxide) or modify LustyMap yourself.
Like I said, I'm willing to do the job as a custom plugin and all I ask is for a hosted high quality icon set for fast travel locations, to be used with said plugin. -
I have just added an update which automatically detects monuments and places them on the map.
I think it would be simple enough to rip the map code and inject your own locations into the monument list. Then when they are added to the map UI use a button instead of an icon and you have a way for players to click where to tp too. The permissions would be the hard part but i guess you could just do a simple range check and see if they are close enough to any of your predefined teleport locations.
