Demeter - Automated Logistic System

All discussions & material related to Command's Lua interface

Moderators: angster, RoryAndersonCDT, michaelm75au, MOD_Command

Post Reply
angster
Posts: 89
Joined: Mon Oct 12, 2015 10:25 am

Demeter - Automated Logistic System

Post by angster »

It's time to make logistics relevant again!

Demeter is an automated logistics system designed to move weapons between locations based on user requirements. Demeter automatically resupply airbases, SAM’s, and any units with a magazine.

The goal is allow seamless movement of weapons without user input. Weapons can freely move between locations, thus placing a greater emphasis on destroying your opponent's ammo depots and infrastructure.

Features include:

1.) User defined suppliers (givers) and clients (takers)
2.) User defined supply requirements EX: All F-15’s require 2 AIM-9X and 4 AIM-120 or all Patriots require 32 PAC 3’s
3.) Realistic order time fulfillment EX: 2 bases are 100 NM with reinforce rate of 50 NM/H will require 2 hours to fulfill the order
4.) User defined global reinforce rate and custom reinforce rates between 2 specific locations
5.) Modify reinforcement rates during game time EX: Destruction of bridges can trigger a reduction of reinforcement rates, any transfer of weapons will take longer
6.) Persistent save: user defined settings, weapon movements, etc will be saved and will not be lost between reloads

Demeter does require some scripting to setup the scenario. Please refer to the provided guide for more info. The download package contains 6 scenario examples:

Scenario 1
In this scenario, we demonstrate how Demeter will move ammunition between two airbases. In Base 1, there are 20 F-15CX with each F-15CX requiring 2 AIM-9X and 4 AIM-120D. Base 1 has 40 AIM-9X and 80 AIM-120D in its ammunition counter. When you ferry the 20 F-15’s to Base 2, Demeter will ship the required ammunition to Base 2. If you ferry them back to Base 1, Demeter will also move the ammunition accordingly.

Scenario 2
In this scenario, we demonstrate how Demeter can resupply SAM units. Here we have two Patriot batteries targeting drones. As the Patriots continue to engage, the nearby ammunition bunker will continue to resupply the batteries.

Scenario 3
In this scenario, we demonstrate that not all supply routes are equal. Here Patriot 1 is on a flat land, while Patriot 2 is on a nearby island. Demeter can customize reinforce rate between specific supplier and client. In this case, Patriot 2 takes twice as long as Patriot 1 to reinforce even though the distance to the ammunition bunker is the same.

Scenario 4
In this scenario, we demonstrate how infrastructure such as bridges, train stations, etc can affect ammunition reinforce rate. Here we have two Patriots, an Ammunition Bunker, and two bridges in between. Destroying the bridges will cut the reinforce rate between Patriot 1, 2 and Ammunition Bunker by half.

Scenario 5
In this scenario, we demonstrate a more complex scenario. Here we have Dock 1, Base 1, and two Patriot batteries. We also have 12 F-15CX on Base 1 Unfortunately, none of the units have ammunition. We can introduce new ammunition by docking a supply ship to Dock 1. Once the ship docks, all the necessary ammunition are transferred to Dock 1 (this is scripting not related to Demeter). Demeter will then recognize these new ammunition and distribute them accordingly to the base and batteries.

Scenario 6
In this scenario, we have a more complex scenario involving multiple bases and weapon requirements.
Attachments
Demeter.zip
(559.88 KiB) Downloaded 101 times
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

RE: Demeter - Automated Logistic System

Post by KnightHawk75 »

Dude (or dudette), still digesting but wow [X(] that's a slick idea.
That implementation too, eyeballing the doc and lua ... [&o].



Parel803
Posts: 891
Joined: Thu Oct 10, 2019 3:39 pm
Location: Netherlands

RE: Demeter - Automated Logistic System

Post by Parel803 »

I fully agree with KnightHawk. thx
angster
Posts: 89
Joined: Mon Oct 12, 2015 10:25 am

RE: Demeter - Automated Logistic System

Post by angster »

Glad you guys enjoyed it. Feel free to post any questions on this thread.

Addendum for Reinforcement Rates, when modifying reinforcement rates, Demeter has a minimum reinforcement rate of 5NM/H and will not go below it.
For reference on reinforce rates:

5 NM/H => Foot
10 NM/H => Bicycle
15 NM/H => Typical cargo ship
20 NM/H => Convoy slow
35 NM/H => Convoy average
50 NM/H => Convoy highway
100 NM/H => Helicopter traffic rate
250 NM/H => Turboprop cargo plane
450 NM/H => turbojet cargo plane
jkgarner
Posts: 175
Joined: Thu Apr 30, 2020 12:42 pm

RE: Demeter - Automated Logistic System

Post by jkgarner »

The is way cool.
Thank you.


User avatar
bladesinger79
Posts: 185
Joined: Thu Jan 14, 2016 8:07 am
Location: USA

RE: Demeter - Automated Logistic System

Post by bladesinger79 »

YES! I like the realistic time needed for the transfers.
"No Sir, I don't think that's a good idea at all." -last words from unnamed NCO before falling into an enemy ambush.
User avatar
ClaudeJ
Posts: 754
Joined: Wed Mar 08, 2006 5:38 pm
Location: Bastogne

RE: Demeter - Automated Logistic System

Post by ClaudeJ »

Hey there,

thanks a lot for sharing this, it's mouth watering!

Wanting to try the test scenarios, I tried to load them up in the editor. However, they have been created with the DB485, which doesn't seems to be in the DB folder (anymore?).

Would you be so kind to rebuild the scenario with the current DB ?
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz, NVIDIA GeForce GTX 1650 4 Go, Windows 10 64bits, 32 GB RAM, Regional settings = French, Belgium
(Previously known as JanMasters0n)
kahta
Posts: 404
Joined: Sat Sep 21, 2019 6:42 pm
Location: Arkansas

Re: RE: Demeter - Automated Logistic System

Post by kahta »

ClaudeJ wrote: Tue Jan 25, 2022 7:21 pm Hey there,

thanks a lot for sharing this, it's mouth watering!

Wanting to try the test scenarios, I tried to load them up in the editor. However, they have been created with the DB485, which doesn't seems to be in the DB folder (anymore?).

Would you be so kind to rebuild the scenario with the current DB ?
+1
Post Reply

Return to “Lua Legion”