Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Computer Upgrades
Computer Upgrades
Jun 26 2012, 3:49 am
By: IAGG  

Jun 26 2012, 3:49 am IAGG Post #1



I was trying to look for information on forcing AI upgrades for items such as Infantry Upgrades / Armor as well as zerg and protoss equals. I was not able to find any but I heard some rumors saying that its possible to control a computer player to upgrade its units (attack / armor) upgrades. It would be extremely useful in my current map project. If anyone knows how to acheive this please explain or point me to a tutorial.

The way i would implement this would be if a certain amount of that computer's units have been killed then it would upgrade its attack upgrades by 1. Thats just an example, might not have that as the condition though.

If any more information is needed just ask.

Edit: This is also not referring to the tech upgrades because I know how to just give the computer player a unit with the existing upgrades to transfer.



None.

Jun 26 2012, 4:52 am Lanthanide Post #2



AFAIK it isn't possible.

I believe there might have been a way to force a particular race (Zerg?) to upgrade their attack/defense to 2 by using a particular campaign AI script, but who knows what else it would do to your map, and apparently it only let them upgrade to 2 and it wasn't a repeatable "+1" style of script.

If you're playing single player or with EUD enabler you can write EUD actions to give upgrades.



None.

Jun 26 2012, 5:33 am Sacrieur Post #3

Still Napping

It's true, it's pretty much impossible.

If this is a single player map then there's a few techniques you can use.



None.

Jun 26 2012, 12:33 pm IAGG Post #4



Quote from Lanthanide
AFAIK it isn't possible.

I believe there might have been a way to force a particular race (Zerg?) to upgrade their attack/defense to 2 by using a particular campaign AI script, but who knows what else it would do to your map, and apparently it only let them upgrade to 2 and it wasn't a repeatable "+1" style of script.

If you're playing single player or with EUD enabler you can write EUD actions to give upgrades.

The upgrade +2 would be ok with me as well. Its better than nothing. Do you know which AI script that would be and how i would process that?



None.

Jun 26 2012, 3:20 pm Biophysicist Post #5



http://www.staredit.net/topic/5332/



None.

Jun 26 2012, 5:07 pm IAGG Post #6




Thanks for the link, i looked into it and i really cant figure it out. I am not familiar with ai scripts. one of the links that was on that post was this
http://www.broodwarai.com/forums/index.php?showtopic=608&st=0&gopid=7525&#entry7525
Though I dont follow with what (1-30) means... etc.
Just getting confused.



None.

Jun 26 2012, 5:26 pm Dem0n Post #7

ᕕ( ᐛ )ᕗ

That's the priority or whatever. When you make AI scripts, you set priorities to each command and the computer does the ones with the highest priority first or something. I can't remember exactly what it is, but it's something like that. ;o




Jun 27 2012, 10:47 am Biophysicist Post #8



That's modding stuff that doesn't really apply directly here. The thread is saying that if you run a certain combination of AI scripts the computer will upgrade when attacked. Post 11 has an example map for Terran upgrades, and post 8 describes Protoss upgrades.

EDIT: Presumably, you can stop the script from upgrading by removing its upgrade structures. And then you can give them back when it needs to upgrade.



None.

Jun 27 2012, 3:44 pm Dem0n Post #9

ᕕ( ᐛ )ᕗ

I know, but he was wondering what the (1-30) meant, and I think that's the priority set by Blizzard in their AI Scripts.




Jun 27 2012, 9:38 pm IAGG Post #10



Quote from Biophysicist
That's modding stuff that doesn't really apply directly here. The thread is saying that if you run a certain combination of AI scripts the computer will upgrade when attacked. Post 11 has an example map for Terran upgrades, and post 8 describes Protoss upgrades.

EDIT: Presumably, you can stop the script from upgrading by removing its upgrade structures. And then you can give them back when it needs to upgrade.

I will be able to use the Protoss method but the priority would be to upgrade zerg upgrades. Is there a way to do that as well.? For zerg I would want to upgrade every unit type such as melee/range/air. for protoss im just planning to upgrade the melee. And if there is a way. Can I see some example code? That would help me better understand.



None.

Jul 8 2012, 3:37 pm IAGG Post #11



Just wondering if anyone has discovered some example triggers for me to use for Zerg upgrades. I have tried testing and am unable to get what I am looking for.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:20 am]
Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
[2026-10-11. : 6: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.
Please log in to shout.


Members Online: emilyroberts, City, Roy