Is it possible? The mod I am working on changes the game so much that the game's AI literally has no idea what to do. Optionally, how would I go about editing the AI if that is an option?
That's mostly tactical AI fields, under the unit itself. you can change those and/or add special code to the Tactical AI: Function field. Although I don't know exactly how to use these fields, that's where your solution lies. There's also the unit flags that helps the AI make decisions, such as AI Ignores This Unit Type And Wont Try To Make It. As for "treat button X as if it were the train marine button", simple looking in the editor would tell me that that's an unlikely scenario.
Ahh dammit...okay so what about only allowing Users (Not AI) to enter the game lobby through a mod. It's obv possible for a map but how about a mod? I imagine it's not but I can hope.
Aha! I found -sort of- way through the data editor, though it's somewhat convoluted. You have to use a Player Type Validator to check and see if the player is a computer or a user. then theoretically, you could disable that AI by not allowing it to move or build units. It would be complicated, but it's not impossible. While this doesn't keep the lobby from adding AI players, it does prevent them from taking action and messing up your map.
Sorry mate, unfortunately all of the settings that would allow you to do that are not available in an extension mod, I even took extra time to see if there was for you, alas I found nothing. Even triggers are disabled. Hopefully someone else knows of a way that I don't.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is it possible? The mod I am working on changes the game so much that the game's AI literally has no idea what to do. Optionally, how would I go about editing the AI if that is an option?
@T0ssWarr1or: Go You can try to include triggers for AI specific tasks. I have a few in my mod just to make the AI pick a few upgrades.
Is there anyway to kind of "teach" the AI how to play? Like treat button X as if it were the Train Marine button for example.
@T0ssWarr1or: Go
That's mostly tactical AI fields, under the unit itself. you can change those and/or add special code to the Tactical AI: Function field. Although I don't know exactly how to use these fields, that's where your solution lies. There's also the unit flags that helps the AI make decisions, such as AI Ignores This Unit Type And Wont Try To Make It. As for "treat button X as if it were the train marine button", simple looking in the editor would tell me that that's an unlikely scenario.
Ahh dammit...okay so what about only allowing Users (Not AI) to enter the game lobby through a mod. It's obv possible for a map but how about a mod? I imagine it's not but I can hope.
@T0ssWarr1or: Go
Aha! I found -sort of- way through the data editor, though it's somewhat convoluted. You have to use a Player Type Validator to check and see if the player is a computer or a user. then theoretically, you could disable that AI by not allowing it to move or build units. It would be complicated, but it's not impossible. While this doesn't keep the lobby from adding AI players, it does prevent them from taking action and messing up your map.
Sorry mate, unfortunately all of the settings that would allow you to do that are not available in an extension mod, I even took extra time to see if there was for you, alas I found nothing. Even triggers are disabled. Hopefully someone else knows of a way that I don't.