1. Desynced
  2. News
  3. Wednesday Script Spotlight: Elevate Your Game with Behavior Scripts

Wednesday Script Spotlight: Elevate Your Game with Behavior Scripts

Kick off your Wednesday with a fresh gaming twist! We're excited to announce the launch of our new twice weekly feature.

Every Wednesday and Saturday, we'll roll out a collection of Behavior Scripts from our creative community. And today, we're dropping our very first edition!

Each scenario is a piece of cake to adopt—even for those who've never ventured into Behavior Controller territory. So, please mark your calendars: every Wednesday and Saturday is now a chance to elevate your game with our tested scripts.

Each of these scenarios has been tested by our community manager.

How to add a Behavior Script:


  1. Copy the Behavior Script (Ctrl+C)
  2. Save it in the Library (L) -> Behaviors, as shown in the screenshot below.
  3. Install the Behavior Controller to the bot or building, depending on your intentions
  4. Right-click on the installed Behavior Controller -> Program Behavior
  5. Library in the bottom right of the screen -> Load the scenario you just saved




* * *



Author: Tarzool

This script is designed for a transport bot to facilitate the movement of items from multiple storage locations to a centralized 'stockpile' near the base. It is capable of collecting resources from up to eight different locations, ensuring the collection doesn't exceed a predefined 'move now' threshold. The resources are then transported to a designated storeroom.

[h3]Instructions:[/h3]

  • Assign variables p1 to p8 to the designated storage box collection points (These variables must be assigned!)
  • Set the p9 variable to indicate the storeroom for item consolidation
  • Within the script, specify the resource type and the 'cut off' number to manage collection efficiency
  • Set a threshold (e.g., 100 units) that will trigger the bot's return to the storeroom to offload resources
  • Ensure the bot is not linked to any network for it to function as intended
  • Program the bot to deliver exclusively to the designated storage box


Note that the behavior of the bot with a single collection point is undefined as scripting for such a scenario is generally not required.



[h3]Behavior Script: [/h3]

 DSCJt2f9gaG0tMgkn1ToYIG0SUieI31crEt2VeBxC1ja1Z72WNZbF2Krhpy2Coo1o1Yq2VU0cTDfR03Kq3O2PyNmf1YaNp74Yci1c4EfToh0LUuH01Jnzxi1DoiBf3iCuRy3zgXrN4Jpfqe2s64KR1TIqDs1vX3Xp0AWOPE0Ityf02kOAqL3m2K0M0mUt8X2XbbFl10dtCD3rW5Ph0G0hHI3TiXpH4cdWaC1ALOeU3ceAv30LDoUm0S2oJi1quAap2FDruO4JVRIZ43KlJ21aZiDu3qFhGf3HNsk34LBGd1291wf51Mt4JU3NxCqT14Vx581u2kJB2RK6VG2fwP1f1dHnoh0yBmOK4Fv8l606bBwG0uhTsQ2J6Os02SDFcj0zjsNt1N5C1r34nqQF0Ae7AP0th9eG41rWCM4CbA3G07Aws41DESYB3svbuJ4FumYk4HuERa3bp7NY0qfINO42TCa901dRY7366v1b09OEGk0pbIEZ14y0of0cZIzR4YzroU4Dg4Wr3MD 




Author: PitchBlack

This model functions as a Basic Hauler. It monitors its inventory autonomously, collects materials from a single unit or building until its capacity is reached, then transports the load to another unit or building, where it remains until it has completely offloaded its cargo.

In their tutorial, PitchBlack provides a step-by-step guide on how to set up a bot and create a script, so if you're inclined, you can learn and understand how it works by following each step. Alternatively, simply copy the script below and configure it to your needs.

Video Tutorial (English and German):

[previewyoutube][/previewyoutube]



[h3]Behavior Script: [/h3]
 DSCGV2e3USG0tMgin10rOhI3c6m8W2LgUM60xbrU010ebv61XMCc44CnT6234ul5c3WPEqw0mQ1jQ277Koa0m3IGX2t5Q6i1sIxqB2ntncE4LplQq1SJwgc3GONbd1vpuRV0WZaRW1Aiy5w3n2Xth3dPaQc2yFJFa1yaCPC2xKDax4CG4312GJnko2Io7WU0bHezp2UaLkY01RVcZ4RROvm2sk95G0Zb5Tk05N0t71IDqgd0LqywT2Xl1vW181JlM3gftY71mz6yO0J1hdq0qlzrj2dk7AK3mbjzQ2a4xhq2PFNMp1z0FWn3EyQZE1K5nQA3CHA7e4bafce4gQSaz2jWaDh0Bq62V1WGm382lLp7s4MVN0Z2HuwtZ4eJnTC3ZuoX105tGon3cyjMP4F1vJV36V5Nv0tH11A2agAzg2uDESy3ceiEL131moA42SAXq1x7pXR28rEJh0TtFLj 


* * *

Our aim is to make the customization of Behavior Scenarios not just intuitive but also thoroughly captivating. Should you have any questions or need further insights, please do not hesitate to ask in the comments section below.

Stay tuned, as we will return soon with a new selection designed to enhance your gaming experience even further!