Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Computer Medic Healing Behaviour
Computer Medic Healing Behaviour
Sep 12 2014, 6:48 pm
By: Oh_Man  

Sep 12 2014, 6:48 pm Oh_Man Post #1

Find Me On Discord (Brood War UMS Community & Staredit Network)

Okay I have a problem that I have ruled out to be triggers and is due solely to AI.

All my P4 (COMPUTER) medic units (with healing enabled but restoration and optical flare disabled) move around in a seemingly Junk Yard Dog fashion. If I disable healing, they don't do this.

The thing is, they used to NOT move around like this at some point - I have done something which now causes them to behave this way. Does anyone know why? My first guess would be a damaged P4 healable unit is somewhere on the map and they're all trying to find it - but if that's the case I guess I have to look harder because as far as I can tell I can't see one!

Cheers,
Oh_Man.


P.S. In the FAQ thread made by Vrael there are handy links to terran, protoss and zerg spell AI behaviours - but the links are all dead now!! If someone could fix that - that would be great.

Post has been edited 1 time(s), last time on Sep 12 2014, 6:50 pm by Oh_Man.




Sep 12 2014, 8:02 pm Roy Post #2

An artist's depiction of an Extended Unit Death

From http://www.staredit.net/wiki/95/:
Heal

This spell is used by the Medic. Is costs 1 energy by default. Note: Changing the energy cost will not actually effect how much energy the medic uses to cast heal.
Medics use this spell on allied damaged organic units automatically.
Medics heal at 200/256 HP for 100/256 Energy per frame.

Computer Use
Computers use heal nearly the same way as humans. Medics automatically acquire targets to heal. But the Computer only heals its own units.

Are you applying any AI scripts to the computer player?




Sep 12 2014, 11:59 pm rockz Post #3

ᴄʜᴇᴇsᴇ ɪᴛ!

sounds like they're trying to heal someone but can't get to them. I don't recall the mechanics of heal, but I do know that medics go on random suicide missions from time to time on impossible scenario maps.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Sep 13 2014, 3:00 am Oh_Man Post #4

Find Me On Discord (Brood War UMS Community & Staredit Network)

I have scripts but they are pointed at specific locations, not globally.




Sep 13 2014, 11:10 am NudeRaider Post #5

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Add a trigger that insta heals all units on the map and see if that fixes it.




Sep 13 2014, 3:11 pm Oh_Man Post #6

Find Me On Discord (Brood War UMS Community & Staredit Network)

Ok great thinking Nude. I did that and was able to determine that that was indeed the problem. I then tracked those units down and found em tucked away in a corner of the map. THANKS!

~~ CASE CLOSED ~~

Post has been edited 1 time(s), last time on Sep 13 2014, 3:14 pm by Oh_Man.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:02 am]
Donald -- Samase
[2026-10-09. : 2:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[2026-10-09. : 2:47 am]
Symmetry -- I'll check it out this weekend!
[2026-10-09. : 2:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[2026-10-09. : 2:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[2026-10-09. : 1:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[2026-10-09. : 1:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[2026-10-09. : 1:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
[2026-10-09. : 1:31 am]
Ultraviolet -- Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Is it forbidden to have a large avatar?
actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Please log in to shout.


Members Online: Symmetry, Ultraviolet