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.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
[2026-7-23. : 1:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
[2026-7-23. : 1:39 am]
Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
Please log in to shout.


Members Online: Moose, Vrael