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.
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
Please log in to shout.


Members Online: Roy, HappyEffect, Ultraviolet, RIVE