Vinifera
Vinifera copied to clipboard
Adjustable AI TeamDelay via Triggers
First Check
- [X] I added a very descriptive title to this issue.
- [X] I used the GitHub search to find a similar issue and didn't find it.
- [X] I have attached as much information as possible (screenshots, videos, links, etc).
Description
Currently, TeamDelays is a static value specified in the rules.ini and can also be specified within the map file.
Allowing adjustment via triggers can help create variety in AI aggression that makes it seem like they are reacting based on their situation. There would be 3 trigger actions added:
- Set TeamDelays Description: Sets TeamDelays of your current difficulty level to a specified number.
- Increase TeamDelays Description: Increases TeamDelays of your current difficulty by a specified number. Makes the AI build AITriggers slower.
- Decrease TeamDelays Description: Decreases TeamDelays of your current difficulty by a specified number. Makes the AI build AITriggers faster. If number specified creates a negative number, auto set to 0.
Examples of Use:
- 3 bases controlled are controlled by 3 AI Houses. One base is destroyed so AI aggression of the other 2 houses increases as an act of vengence or decreases as a morale is killed.
- When Player Credits Exceed 8,000, AI aggression is increased (TeamDelays Decreased). When Player Credits are Below 3,000. AI aggression is decreased (TeamDelays Increased).
- Player attacks enemy base for the first time. Enemy aggression increases (TeamDelays Decreased).
- Player successfully destroys a convoy in a previous mission. A global is set. On the next mission, AI aggression is decreased (TeamDelays Increased or set).
Proposed Code (optional)
No response
Additional Context
No response