[Trigger] Help with AI for my map

Status
Not open for further replies.
Level 8
Joined
Feb 4, 2017
Messages
110
Okay, so I've been working on a simple map and it's an income based strategy with rewards for killing enemy units. It's for 2-4 players and it's a FFA scenario. The problem is, I can't work out how to make an AI script that lets Computer player make units and fight. It's a WiP, but I don't want to further develop the map without being sure if I'll actually make it possible for people to enjoy it in single player.

Map description
You start with a main HQ and you can produce soldiers, builders, research additional income and upgrades. There are randomly spawned Golden Sheep all around the map that give gold. They are the player's main interest as they will be crucial for players to gain funds for research and more powerful units. One of the most important parts of this game is keeping constant production and research.

ai.png

I tried using basic AI script help, but the Computer player still does nothing. If somebody could come up with a solution on how to make the Computer create units as soon as it gets the gold needed, I would be more than grateful.
 

Attachments

  • BeachBlitz1v1ULTIMATINO.w3x
    86.5 KB · Views: 55
Level 8
Joined
Feb 4, 2017
Messages
110
@MadnessTheKey Okay, so:

1. All the Start triggers (Start 12,3 and 4) are detecting players and spawning them on the map
2. Lose/Win - win and defeat conditions
3. Income Base - a trigger responsible for each player's income (equal to 1 gold per 5 seconds at the beginning, it can be upgraded later)
4. IncomeGenerator - a trigger meant for a race that's still work in progress, just ignore it, it doesn't affect anything right now
5. Income Upgrade - a trigger responsible for increasing players' income based on their income upgrades
6. Loot Money/Loot MoneyDeadBuilding - player receives gold for killing enemy units and for destroying enemy buildings
7. Bonus Creeps - spawns Golden Sheep in random locations around the map which can be killed for gold
8. NoShrine/Tower/CentreSpam1/2/3/3Copy - triggers preventing players from building multiple buildings of the same type (building limit)
9. Arclite Folder - triggers responsible for tank upgrades
 
Status
Not open for further replies.
Top