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.
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: RIVE