I've been trying to get the AI to build bases and units from scratch but they're always too stupid to do one or both of those things, currently one of the maps i'm testing, the AI that's supposed to build a base ONLY builds structures and NEVER MAKES UNITS AGAIN even though I have triggers telling them to periodically make units
As i know if the AI is not building units as expected, the triggers or scripting responsible for unit production may have errors or limitations. official site Solution: Double-check your triggers and scripting to ensure they are correctly configured to produce units periodically. Check for any conditions that might prevent unit production or cause the AI to stall. Check triggers and scripting for errors, ensure proper configuration for unit production, and verify conditions and resource availability to prevent AI stalling.
To help the AI build bases and train units effectively in non-melee formats, here are some strategies to consider:
Adjust AI Scripting: Ensure that your AI scripts allow for both base-building and unit production. The AI may prioritize building structures over training units due to how the scripts are set up. You can modify the scripts to create a balance between the two tasks.
Create Dedicated Triggers for Unit Production: Set up separate triggers specifically for unit training. If the AI is only constructing buildings and not creating units, verify that the unit production triggers are firing correctly and not being overridden by other commands.
Resource Management: Check that the AI is managing its resources effectively. In non-melee formats, the AI might not have enough resources to build units. Ensure it has access to necessary resources and consider adjusting the AI’s resource-gathering behavior.
Prioritize Unit Production: Modify the AI’s priorities to give unit production a higher importance. This adjustment can help ensure that after a certain number of structures are built, the AI shifts its focus back to training units.
Debugging AI Behavior: Utilize debugging tools to monitor the AI's actions in real time. This can help you understand why it might be getting stuck on building structures and not transitioning to unit production.
For additional tips on managing AI behaviors, consider checking the resources available at dubaiwebdesign.com. This can provide further insights into scripting and optimizing AI functionality in your game.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've been trying to get the AI to build bases and units from scratch but they're always too stupid to do one or both of those things, currently one of the maps i'm testing, the AI that's supposed to build a base ONLY builds structures and NEVER MAKES UNITS AGAIN even though I have triggers telling them to periodically make units
And again this is for NON-MELEE format.
As i know if the AI is not building units as expected, the triggers or scripting responsible for unit production may have errors or limitations. official site Solution: Double-check your triggers and scripting to ensure they are correctly configured to produce units periodically. Check for any conditions that might prevent unit production or cause the AI to stall. Check triggers and scripting for errors, ensure proper configuration for unit production, and verify conditions and resource availability to prevent AI stalling.
To help the AI build bases and train units effectively in non-melee formats, here are some strategies to consider:
Adjust AI Scripting: Ensure that your AI scripts allow for both base-building and unit production. The AI may prioritize building structures over training units due to how the scripts are set up. You can modify the scripts to create a balance between the two tasks.
Create Dedicated Triggers for Unit Production: Set up separate triggers specifically for unit training. If the AI is only constructing buildings and not creating units, verify that the unit production triggers are firing correctly and not being overridden by other commands.
Resource Management: Check that the AI is managing its resources effectively. In non-melee formats, the AI might not have enough resources to build units. Ensure it has access to necessary resources and consider adjusting the AI’s resource-gathering behavior.
Prioritize Unit Production: Modify the AI’s priorities to give unit production a higher importance. This adjustment can help ensure that after a certain number of structures are built, the AI shifts its focus back to training units.
Debugging AI Behavior: Utilize debugging tools to monitor the AI's actions in real time. This can help you understand why it might be getting stuck on building structures and not transitioning to unit production.
For additional tips on managing AI behaviors, consider checking the resources available at dubaiwebdesign.com. This can provide further insights into scripting and optimizing AI functionality in your game.