Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

ATM Machine and dynamic generation demo


Revolving DCON
 Share

Recommended Posts

What is it?
Hi, today I'd like to show off one of our in-development plugins. Over the past few weeks we've developed an ATM machine and generation algorithm that procedurally generates random seeds and places ATMs in monuments at runtime / request, based on a set of spawn points manually placed.

Example Video (ATM only)
In this video we cover just the alpha UI and basic transaction.

WIP Interface:
In this example the interface is still in it's alpha state however we intend to add:

  • Multiple bank accounts
  • Wire transfers
  • Full transaction log
  • Better handled input (basically a low-level full reimplementation of the uMod CUI Input)

uUwNJEa.jpg

ATM Placement & Algorithm
The ATMs are placed all over the island by randomly targeting monuments via a seed and then randomly selecting (n) possible spawn positions within each monument and cross referenced to check if the selected points fall within specified parameters. If the criteria is met, the ATMs are generated.

wuFPd3N.jpg

Spawn points
The possible spawn points for each ATM are manually placed in every monument. All ATMs on the map at the time of saving will be saved and positioned relative to the selected monument, this is so monument size does not matter or if monuments overlap. The ATM will always spawn relative to the center of the selected monument regardless of distance.

iIaudmC.jpg

A more extreme example of possible spawn locations. Over 500 possible ATM spawn locations were manually placed at the launchsite. Yet in reality, only 1 or 2 at max will ever be generated at the same time (assuming the seed criteria is met).

z39ihik.jpg
If you're curious, it looks like this on the map.

ATMs are placed via an in-game command. We generate the position and the quaternion by always having the ATM 'look at' the admin spawning them.
An exemption is made to this rule when not in noclip to assure the ATM is perfectly upright with no pitch or yaw offsets.

4Voh8cJ.jpg

Seed
Seeds are generated based on a simple System.Random call, nothing fancy. From this we extract various information such as:

  • Min Amount
  • Max Amount
  • Min Distance
  • Max Distance
  • Min Elevation
  • Max Elevation
  • Max per monument
  • Can be out of order

And various other things by comparing different positions of the seed against each other.

Putting all above into practice we get something like this. The ATM locations are selected and then spawned.
Seed ID: 520847043

kddTWKz.jpg

Seed ID: 864521137

IHJCCyL.jpg

Seed ID: 991622208
This seed is a pretty heavy one, generating quite a lot of ATMs. The Max Amount and Min Distance numbers are quite obvious here.

61rw2Ag.jpg

Until next time
I hope you've enjoyed this quick overview of what we have in the pipeline for our server. If you're interested in more or getting involved in the project you can Join our Discord here or add me on Discord: Revolving DCON#1337

This will be an absolutely free plugin with everything I've displayed and much more.

Link to comment
Share on other sites

The amount of time, effort, and care @Revolving DCONhas put into this plugin is amazing. While playing on his server, I’ve watched him develop and test these ATM’s and I can’t wait to see the finished product. The best part is, is that he truly just wants to make high quality plugins and release them for free for the betterment of the Rust community.

Link to comment
Share on other sites

3 minutes ago, Sovereign_Skies said:

The amount of time, effort, and care @Revolving DCONhas put into this plugin is amazing. While playing on his server, I’ve watched him develop and test these ATM’s and I can’t wait to see the finished product. The best part is, is that he truly just wants to make high quality plugins and release them for free for the betterment of the Rust community.

Oh lol hey sov, that was fast, thanks for the kind words, I'm glad to get to show this off publically 🙂

  • Love 1
Link to comment
Share on other sites

  • 4 weeks later...

If I make one day roleplay server or something more modded might be cool but for now I am not into this money shit that you gain from nowhere and use to buy items for free because you just get money and buy some weapons when you are in need instead of crafting them... just /shop and done idk, my opinion...

Anyways GREAT job! This plugin like fully working ATM shown on the video have great UI and features as I can see. Never seen plugin like  this before for ATM system, nice and keep the work, plugin have potential!

Edited by Flammable
Link to comment
Share on other sites

On 4/18/2021 at 1:03 AM, Flammable said:

If I make one day roleplay server or something more modded might be cool but for now I am not into this money shit that you gain from nowhere and use to buy items for free because you just get money and buy some weapons when you are in need instead of crafting them... just /shop and done idk, my opinion...

Anyways GREAT job! This plugin like fully working ATM shown on the video have great UI and features as I can see. Never seen plugin like  this before for ATM system, nice and keep the work, plugin have potential!

Thanks! Yeah this system is mainly a proof of concept, It's far more expansive than this now. Currently you can create multiple bank accounts and see a full historical log of all your ingame finances 🙂

Link to comment
Share on other sites

  • 4 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

7,125 files sold to 635 customers and $103,306 of payments processed this year!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.