Update README.md
This commit is contained in:
parent
4e13c041ed
commit
5e41cf6df4
|
@ -1,4 +1,5 @@
|
|||
<h2>Custom Prefab a door in rust edit that you want to be a teleport door</h2>
|
||||
<p style="padding-left: 40px;">Give it the name in this layout TELEPORT=X,Y,Z=LoadingMessage<br />For Example give a door the prefab name TELEPORT=100,50.55,-100<br />Players will be teleported to that location when they try open the door<br />If you set a LoadingMessage that will be shown as players are teleported<br />Such as if you wanted it to say Loading Dark Tower<br />You would use the prefab name TELEPORT=100,50.55,-100=Loading Dark Tower</p>
|
||||
<h2>Custom Prefab a door/button in rust edit that will teleport players</h2>
|
||||
<p><strong>Required Permission:</strong> TeleportDoors.use (Door wont work for users without this perm)<br /><br /><span style="text-decoration: underline;"><strong>How To Use:</strong></span></p>
|
||||
<p>Place a door or button down in rustedit.<br />Create a custom prefab of it on its own<br />Give it the name in this layout TELEPORT=X,Y,Z=LoadingMessage=SfxID=ConsoleCMD<br /><br />For Example give a door the prefab name TELEPORT=100,50.55,-100<br />Players will be teleported to that location when they try open the door and have the required permission.<br />This is the minimum settings needed to use this plugin. The Rest are optional.<br /><br />You can set a LoadingMessage that will be shown as players are teleported<br />Such as if you wanted it to say Loading Dark Tower<br />You would use the prefab name TELEPORT=100,50.55,-100=Loading Dark Tower</p>
|
||||
<p><br /><img src="https://github.com/bmgjet/TeleportDoors/raw/main/TeleportDoorScreenShot.jpg" alt="" width="1024" height="620" /></p>
|
||||
<p><strong>Make sure to tick Convert Selection To Group</strong></p>
|
||||
<p><strong>Make sure to tick Convert Selection To Group<br /><br /></strong><span style="text-decoration: underline;">Further advanced settings can be provided.</span><br />Such as if you wanted it to play the team invite soundfx on teleport.<br />assets/bundled/prefabs/fx/invite_notice.prefab<br />Set it as the SfxID setting.<br />TELEPORT=100,50.55,-100=Loading Dark Tower=2453653601<br />You can get the SfxID from the stringpool.txt file found where rustedit is installed.<br /><br />Lastly if you wanted a command to be ran on the player when they arriave at there teleport location you can setup the ConsoleCMD setting.<br />For example you wanted to give a player a torch since you teleported them in somewhere dark.<br />TELEPORT=100,50.55,-100=Loading Dark Tower=inventory.giveto $player torch 1<br /><br />$player its replaced with there game name, <br />$steamid is replaced with there steam id.</p>
|
||||
|
|
Loading…
Reference in New Issue