README_ConstructionTasks

111 words
1 minute
README_ConstructionTasks

Construction Tasks Generation#

Overview#

Instructions on how to customize construction task generation.

Getting Started#

Edit and Run tasks/construction_tasks/generate_multiagent_construction_tasks.js to create new task variants. Note the ‘main’ is at the end of the page, and determines which file gets written to.

Customization Options#

Cheats and Profile Configurations#

To enable cheats, set the cheat variable to true in profiles/task_construct.json. You can additionally access

Task Configuration#

For task specific customization, modify the generateConstructionTasks function in tasks/construction_tasks/generate_multiagent_construction_tasks.js to adjust:

  1. Room parameters:

    • Size
    • Window style
    • Carpet style
  2. Task generation:

    • Number of variants
    • Timeout duration

The generation code is documented to help with customization.

Important File Locations#

  • tasks/construction_tasks/generate_multiagent_construction_tasks.js - Main task generation script
  • profiles/tasks/construction_profile.json - Default configuration profile
  • tasks/construction_tasks/custom/ - Directory containing various task definitions (e.g., church_one_agent.json, pyramid.json)
  • src/agent/tasks/construction_tasks.js - Blueprint Class, Construction Validation Class, and Procedural Generation Function

Share Article

If this article helped you, please share it with others!

Comments

Profile Image of the Author
Boyuan
石以砥焉,化钝为利。
欢迎来访
石以砥焉,化钝为利。这里是我的个人站点,主要记录学习笔记、项目实践和一些零散的想法。站内文章可用右上角搜索,也可以订阅 RSS。
Categories
Tags
Latest Moments
Site Statistics
Posts
139
Categories
17
Tags
49
Total Words
1,721,112
Running Days
0 days
Last Activity
0 days ago
Site Info
Build Platform
Local
Blog Version
v1.0.0
License
CC BY-NC-SA 4.0
Table of Contents