Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: detecting upgrades
detecting upgrades
Dec 7 2009, 7:54 pm
By: 13Stallion  

Dec 7 2009, 7:54 pm 13Stallion Post #1



ive noticed a new feature in queen gambit's new desert map "night strike" where the computers units will not use special tech upgrades unless they are researched by there human allies first. for example my computer ally marines that are spawned from my barracks's will not stim until i have researched stimpacks from my academy? also to make things more confusing... if there are 2 human player playing as terran and they each spawn marines, but only 1 of them has researched stimpacks, i seemed to notice that only marines spawned from the player who researched stim will use stim packs while the others will not? even tho all the marines spawned by both the players belong to the same computer. This holds true for abilities like storm,lockdown,spawn broodlings. for example templars will not storm unless the protoss player researched storm... etc. So if anyone knows how this is done please enlighten me thx :wtfage:



None.

Dec 7 2009, 8:02 pm ImagoDeo Post #2



Even if you haven't researched/upgraded your unit, if that unit is given to another player or mind-controlled by another player, it has whatever upgrades/technologies you had on it.

For example, if I have the speed upgrade for my ultralisks, and player 2 has no speed on his ultralisks, and he is given one of mine, that one alone will have the speed upgrade, despite player 2's upgrade status.



None.

Dec 7 2009, 8:36 pm ClansAreForGays Post #3



Quote
also to make things more confusing... if there are 2 human player playing as terran and they each spawn marines, but only 1 of them has researched stimpacks, i seemed to notice that only marines spawned from the player who researched stim will use stim packs while the others will not? even tho all the marines spawned by both the players belong to the same computer.
This part is impossible. Either you're not telling us something, or your observation is incorrect. I'll have to see it for myself to believe it.




Dec 7 2009, 8:48 pm NudeRaider Post #4

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

Quote from ClansAreForGays
Quote
also to make things more confusing... if there are 2 human player playing as terran and they each spawn marines, but only 1 of them has researched stimpacks, i seemed to notice that only marines spawned from the player who researched stim will use stim packs while the others will not? even tho all the marines spawned by both the players belong to the same computer.
This part is impossible. Either you're not telling us something, or your observation is incorrect. I'll have to see it for myself to believe it.
seconded.

Upgrades and techs are player based, not unit based.




Dec 7 2009, 9:00 pm rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

Anything that isn't weapons/armor/shield upgrade is transferred. It sounds like when you upgrade the tech, the unit is given to you, then back to the computer. It also sounds like there is a computer for each player, they just save the same color.



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

Dec 7 2009, 9:35 pm 13Stallion Post #6



i think imagedeo has it. It appears as if units are created for the human player who is spawning and then the units are given to the computer, so techs will be transfered to the computer even tho the computer doesnt need to upgrade it and each individual player has to upgrade a tech in order for the computer to use that ability during their spawn. thx imagedeo



None.

Dec 7 2009, 10:38 pm Vi3t-X Post #7



Quote from ClansAreForGays
Quote
also to make things more confusing... if there are 2 human player playing as terran and they each spawn marines, but only 1 of them has researched stimpacks, i seemed to notice that only marines spawned from the player who researched stim will use stim packs while the others will not? even tho all the marines spawned by both the players belong to the same computer.
This part is impossible. Either you're not telling us something, or your observation is incorrect. I'll have to see it for myself to believe it.
This part is VERY possible.

Using death counters to monitor the research of stim packs is simple.
Set stim packs to have a unique mineral value. Detect that the mineral value is lost from current funds (current funds will also have to be death counters, while minerals must remain constant).
Research time should take at least one second.
Set death counter to record that stim packs have been researched.



None.

Dec 7 2009, 10:44 pm rockz Post #8

ᴄʜᴇᴇsᴇ ɪᴛ!

Vi3t, you don't understand what's going on.

Player 1 and player 2 are human. Player 3 is a computer. When player 1 and 2 make a unit, they are given to player 3. Player 1 has researched stim. Player 2 hasn't. The units which player 1 made are then gave to player 3 use stim, while the units made by player 2 do not use stim.

We're not talking about people using stim, but computers. You can also just detect research via EUDs, which is much easier IMO.



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

Dec 7 2009, 10:47 pm ImagoDeo Post #9



You're welcome, Stallion.

Quote from Vi3t-X
Quote from ClansAreForGays
Quote
also to make things more confusing... if there are 2 human player playing as terran and they each spawn marines, but only 1 of them has researched stimpacks, i seemed to notice that only marines spawned from the player who researched stim will use stim packs while the others will not? even tho all the marines spawned by both the players belong to the same computer.
This part is impossible. Either you're not telling us something, or your observation is incorrect. I'll have to see it for myself to believe it.
This part is VERY possible.

Using death counters to monitor the research of stim packs is simple.
Set stim packs to have a unique mineral value. Detect that the mineral value is lost from current funds (current funds will also have to be death counters, while minerals must remain constant).
Research time should take at least one second.
Set death counter to record that stim packs have been researched.

The trouble with that, Vi3t, is that you can't do anything with the information once you have it. Research and upgrades can't be modified with normal triggers.



None.

Dec 7 2009, 11:40 pm Kenshin23 Post #10



I think everyone MIGHT be a little confused because I have played Night Strike and I know where he is comming from. If My ally and I are BOTH Terran and I did upgrade stim and my allie did NOT, then on my spawn when my units are given to the computer the marines WILL have stim and when my Ally spawns and HIS units are given to the computer, his marines will NOT have stim.



None.

Dec 7 2009, 11:53 pm Neki Post #11



How many slots are used for computer players?



None.

Dec 7 2009, 11:59 pm Tank_7 Post #12



Does anyone have a chart/list of AI scripts that do certain upgrades?

Post has been edited 1 time(s), last time on Dec 8 2009, 12:06 am by Tank_7.



None.

Dec 8 2009, 12:00 am Neki Post #13



Uh, would that even apply to computer players though?



None.

Dec 8 2009, 12:05 am Tank_7 Post #14



Oops I see what you mean Ultimo. Wish I could delete my post.

EDIT: Do heroes use abilities? Im thinking maybe Raynors with the same stats except the unit portrait. But then, what about U 238 Shells Range Upgrade :/

Post has been edited 1 time(s), last time on Dec 8 2009, 12:11 am by Tank_7.



None.

Dec 8 2009, 12:15 am PearS Post #15



i think hero units come with all of those upgrades. but this map only uses the regular ones. I've never had heros at least.



None.

Dec 8 2009, 12:23 am Tank_7 Post #16



Yeah but I mean computer AI wont use hero units abilities if I recall correctly.

Well... according this hero tanks wont siege for example.
http://doodle77.dyndns.org/tutorials.php?id=175



None.

Dec 8 2009, 12:32 am SelfPossessed Post #17



Haven't played the game, but like ws-Tank_7 said, hero units do not have the AI necessary to cast abilities. The game might detect when the player upgrades the ability, which changes which units are spawned and given to the computer player.

Fun stuff. Enemy non hero units will go out of their way to target a nearby (pretty big radius) enemy locked down unit. There's a lot of weird AI stuff with non hero units.



None.

Dec 8 2009, 1:14 am 13Stallion Post #18



Quote from Kenshin23
I think everyone MIGHT be a little confused because I have played Night Strike and I know where he is comming from. If My ally and I are BOTH Terran and I did upgrade stim and my allie did NOT, then on my spawn when my units are given to the computer the marines WILL have stim and when my Ally spawns and HIS units are given to the computer, his marines will NOT have stim.

yes kenshin, ur right on the dot :D

ultimo there are 2 comp slots and 6 human slots: 3Human(builders)+1Comp(fighter) vs 3Human(builders)+1Comp(fighter)



None.

Dec 8 2009, 4:02 am NudeRaider Post #19

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

Quote from 13Stallion
Quote from Kenshin23
I think everyone MIGHT be a little confused because I have played Night Strike and I know where he is comming from. If My ally and I are BOTH Terran and I did upgrade stim and my allie did NOT, then on my spawn when my units are given to the computer the marines WILL have stim and when my Ally spawns and HIS units are given to the computer, his marines will NOT have stim.

yes kenshin, ur right on the dot :D
no he isn't.
Maybe the marines are not using stim because of the next enemy player spawning different units which are not dangerous enough in the AI's eyes to use stim.

A computer can not undo a research or upgrade. The only thing that might work is changing to an AI script that does not use stim (but I've never heard of such a thing), or creating the right circumstances for the AI script so it doesn't use stim. But the computer would still be able to..
But for that to work properly the mapmaker would have to detect what has been upgraded. Either through EUDs (which I doubt) or through unique resource costs.




Dec 8 2009, 4:09 am Neki Post #20



Can someone attach the map, or at least tell me the amount of computer players used in the game? Because if there is a computer player for every player, then the solution is easily explained (units spawned for each individual player, then given to their respective players), but otherwise, I think people are just hallucinating.

Edit: didn't see the above post, going with the latter then.


Post has been edited 1 time(s), last time on Dec 8 2009, 4:39 am by Ultimo.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[07: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: Excalibur