Staredit Network

Staredit Network -> UMS Assistance -> AI Problem
Report, edit, etc...Posted by DeViL_Dwarven on 2006-10-26 at 18:58:12
Hey,

Here is my problem,
I want a Computer to play exactly as in melee.. But it the first time i need to do that and i realy need some help..

I tryed Terran Expantion Costom Insane.. But he's just too stupid to harvest and build normaly.. (1/4 SCV harvest and the other are doing no crap.)

It a UMS map wich i NEED that computer playing like a melee and be the same dificulty as a melee.. (yes even if they are easy..)

Can anyone tell me the exact way to do that trigger plz?
Report, edit, etc...Posted by xmrxsiegecopx on 2006-10-26 at 19:52:01
For a computer to run exactly like it does in melee, it will require the following:
• a starting race (be it random or pre-selected) with four workers, a primary resource building, and a Zerg Overlord for Zerg
• a balanced base with enough resources to create units and building to defend itself, and enough space to build non-cluttered bases
• a minimum of 50 minerals (or enough to build the first peon)
• a location centered on the starting base to run the custom AI script
• a custom AI script matching its current race ran at the beginning of the map
• an enemy player to attack.
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-10-26 at 19:55:53
Place a location over the command center (the size of the command center itself will do). Let's call this 'Location 0' for purposes of this demonstration.

Create the following trigger:

Trigger
Players:
¤ (Insert computer player number here)
Conditions:
¤ Always (You can use other conditions depending on your map)
Actions:
¤ Run AI Script "Expansion Terran Custom" (or the equivalent thereof, I forget what its exactly called)


That should do it. Make sure you have the 4 peons preplaced.

Also, ensure that you set ally triggers if you want the computer to be allied to a player or unallied to a different computer.
Report, edit, etc...Posted by NightKev on 2006-10-26 at 20:19:50
The trigger should look more like this really:

Trigger
Description:
Comp AI
Players:
¤ [Computer Player #]
Conditions:
¤ Always
Actions:
¤ Run AI Script "Expansion [Race] Custom" at "[Location]"

[Location] = Name of the location you placed at the computer base.
[Race] = Race of the computer player.
[Computer Player #] = If the computer is player 6, then replace that with "Player 6".
Report, edit, etc...Posted by fritfrat(U) on 2006-10-26 at 20:47:52
The most common mistake with this is that you need to set the computer's race to the race that you have the buildings for and are running the script for. If you have them set as Zerg but with Terran buildings and AI script, they won't do anything but mine. Expansion Custom is the script they use in melee.
Report, edit, etc...Posted by DeViL_Dwarven on 2006-10-26 at 21:36:38
Im such an idiot!

i had a Preserve trigger..
So it messed em up.. but ive read your answer and ive tryed without! And it work well.. but you can see they got more mins. than you at start! they all went mining for a first time.. then 3 of em have returned mining.. 1 went to build a Suplie and they were making another scv (50+100) But they had 50 starting minerals like a melee.. biggrin.gif like in real melee.. they got more money!! You all got it!! Thank to you all!!

EDIT:
the map is a melee but with some usefull and funny things added to it.. like a banner,a stacker,a thing to give money and/or gaz to other player AND you can buy heroes (but with conditions)

Conditions: You must have the tech nessesary for the normal unit. (Barack+Academy=Guy Montag the bat hero) but he cost something like x5
the real unit price (mins and gaz).

The computer was to test it since if you have no enemies you win and i wanted to play alone with Cpus for fun biggrin.gif

It nothing too big it just for me and my friends and i dont realy think about bringing that on the net.. No1 would like that anyway..

Next Page (1)