Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Computer Repair Buildings
Computer Repair Buildings
Dec 3 2007, 4:11 pm
By: Maian  

Dec 3 2007, 4:11 pm Maian Post #1



Basically, in my map, I want a couple of SCVs (owned by the computer) to repair a couple of bunkers that are getting attacked. I'm just not sure what the correct AI script would be for it.

If it matters, I have all buildings and units 'Disabled by default' so that a trigger won't cause a computer to create units.



None.

Dec 3 2007, 6:29 pm Saox Post #2



From maplantis.org :


"An SCV may repair damage to a Terran mechanical unit or Terran building for part of the unit's base resource costs and time costs.
Computer Use:
The computer will repair his damaged units when a melee AI Script is running.
They won't repair allied units, hero units, or SCVs."

Which means: you can't force a direct order to repair a specific unit at location X(unfortunetly, this would make map making much better =). Experiment with the few AI's given, maybe some of them work the way you want them to? For example, right after firing the AI the SCV will repair the unit.



None.

Dec 3 2007, 11:25 pm Falkoner Post #3



In Storm the Fort they use the AI "Terran 1 - Shareware" And that seems to make them mine minerals, repair any nearby injured mechs and bunkers, and basically just do SCV stuff.



None.

Dec 4 2007, 7:40 pm Maian Post #4



Awesome, that's pretty much what I was lookin' for. Right now I've been running one of the "Custom Level" AI's for Terran, and those don't work. I was just trying to remember if there was one of the scripts where all they do is mine minerals and repair buildings. But yea, I'll give that Terran 1 - Shareware AI a try.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[10:05 am]
Moose -- ya
[05:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: Roy