I know I made a community resource on custom proximity prompts before. However, the prior one had everything be done by code whereas this new one is based on the graphical UI tools in studio hence the v2.
Differences: Roblox default vs custom v2 (although feel free to completely make it your own)
New hold
Default hold
New press
Default press
Instructions:
(Optional) Modify the CustomPrompt script and NewPrompt BillboardGui
1) move the “NewPrompt” BillboardGui to Game → ReplicatedStorage
2) move the “CustomPrompt” localscript to Game → StarterPlayer → StarterPlayerScripts
3) Set all the proximity prompts that you want to be the custom one’s style property to Custom
Update 1/1/2022: Made the prompt change input icons based on user input device changing while the prompt is shown (such as keyboard to controller). Change the default icons for controllers (this can be changed if you want, however default Roblox controller icons are bad). Added audio effects that can be toggled for when a prompt is shown and triggered.
Update 1/14/2023: Fixed the proximity prompt not following the prompt UIOffset property, and as such renamed the version to 2.1
This is not an issue, instead it is a proximity prompt property. These follow all the same properties as the default proximity prompt, so what I’m going to say applies to both.
The property in question is the Exclusivity property. This has 3 different “states” it can be in: AlwaysShow, OnePerButton, and OneGlobaly. Keep in mind that all theses states still follow the MaxActivationDistance and RequiersLineOfSight properties.
for the following images, the blue parts have ther proximity prompts set for the letter n, and the red parts q. Also, all prompts have the same "Exclusivity " property state.
AlwaysShow will show the proximity prompt regardless of other proximity prompts even if it is the same key.
(note that n and q are diffrent keys, and the blue part futher away is not showing it)
OneGlobaly will show the prompt that the camera is looking at with the same state, however if another prompt has a diffrent state, that prompt will show the state it is set to.
Hey, I apologize for reviving an old post, but I can’t seem to get the model to work.
I customized the NewPrompt a bit, but then it stopped working. I didn’t change the scripts at all and I think the problem occurred because I added too much stuff
Above is the picture of everything inside the NewPrompt that I customized, I didn’t do anything to the ProgressFrame. Which one of these is the problem? Is there a way to fix this without removing any of them?
Nevermind, I found the problem. Turns out, a part of the CustomPrompt script attempted to set the custom UI’s size offset by dividing my customized UI’s size offset which I set to 0. All I need to do is to just delete that part of the script and it’s all fixed.