Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Computer vs Computer
Computer vs Computer
Dec 30 2008, 2:15 pm
By: SevGaming  

Dec 30 2008, 2:15 pm SevGaming Post #1



I'd like to set up a Comp v Comp for pathing tests, but it doesn't seem to work the way I thought it would.

Force 1 - T Comp, P Comp
Force 2 - Observer

Standard melee triggers set, with vision set to Force 2. Everything is the same as a normal melee UMS map. I have added triggers for each comp ( Exp Insane), however when the game starts everything just sits there. I have no vision, and the comps don't do anything (I know this by a resource counter not increasing).

I simply want two comps to play a game against each other while I watch, but this isn't working with regular melee OBS triggers.



None.

Dec 30 2008, 2:30 pm Devourer Post #2

Hello

Quote from SevGaming
I'd like to set up a Comp v Comp for pathing tests, but it doesn't seem to work the way I thought it would.

Force 1 - T Comp, P Comp
Force 2 - Observer

Standard melee triggers set, with vision set to Force 2. Everything is the same as a normal melee UMS map. I have added triggers for each comp ( Exp Insane), however when the game starts everything just sits there. I have no vision, and the comps don't do anything (I know this by a resource counter not increasing).

I simply want two comps to play a game against each other while I watch, but this isn't working with regular melee OBS triggers.

Make sure that you used Use Map Settings.
GO to forces and unselect allied, aliied victory, vision and random start location.
Then start again (be wanred, when you sue normal meele trigger the obs player should have a building, or put the trigger flag not for that observer player)
hope that helps



Please report errors in the Staredit.Network forum.

Dec 30 2008, 2:36 pm NudeRaider Post #3

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

Make sure that the computer sits on the right player slot (disable random start locations)

Also make sure the race setting for that player fits, his units and the AI you're giving him.




Dec 30 2008, 2:40 pm SevGaming Post #4



The reason the comps weren't doing anything is because I didn't manually give them a CC/Nexus and workers. I guess I figured it would add them automatically like it does with a melee UMS. So, I added the units and now I have another problem. Obs triggers just wouldn't work, so I took the easy way out and added map revealers for me over the entire map. Loaded up a game, and Terran works perfectly. Protoss, on the other hand, just sits there doing nothing. There's no difference between the two. Each has a building, and 4 workers. Each is running the "<race> 1 Town - A" script. Terran works perfect, Protoss doesn't work at all.

EDIT:
This is really strange. I loaded up the map a second time, without making any changes. This time, the map revealers weren't there, but both comps shared vision with me. Again, nothing in the map was changed, but for some reason the OBS triggers worked this time, and the map revealers didn't.

Another thing... 5th run of the map now. Map revealers haven't worked again yet, but OBS triggers have every time. Also, Terran is always yellow (set to Red in map properties), while Protoss changes color every game (set to Blue in map).

Post has been edited 1 time(s), last time on Dec 30 2008, 2:47 pm by SevGaming.



None.

Dec 30 2008, 2:48 pm 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

care to post the map? This sounds too weird.

Ideas: Uncheck random start locations, and give the comps the correct race setting in the "Scenario -> Map Description" Tab




Dec 30 2008, 2:52 pm Wormer Post #6



In addition, make sure you're saving the map as .scx because with .scm changes with colors won't take any effect. Also make sure you're loading the right map, probably you've missed .scx and .scm.



Some.

Dec 30 2008, 2:54 pm SevGaming Post #7



Unfortunately I can't post the map, but I'd be glad to give you all the screen information.

Map Description:
Player 1 - Computer / Terran / Red
Player 2 - Computer / Protoss / Blue
Player 3 - Human / Zerg / Teal

Force 1 - Computers
Force 2 - Me

Triggers:
Force 1 - Set 50 minerals at start (works fine)
Force 2 - Turn ON Shared Vision For Players 1-8 (worked all but the first game, and the game I just did - 8 out of 10)
Force 2 - Show Leaderboard for Minerals/Gas (works fine)

Player 1 - Always / Run AI Script Brood Wars Terran 1 - Town A (works fine)
Player 2 - Always / Run AI Script Brood Wars Protoss 1 - Town A (doesn't work at all)

Map revealers in place for Player 3 across entire map (only worked first and last game, 2 out of 10)

And again, I'm P3 every game, P1 is T every game, P2 is P every game. I'm going to load up a different AI script and try that, as the Town 1 (for terran at least) is terrible, and they just sit there building supply depots)

EDIT:

Apparently there's an issue with the Protoss 1 - Town A script, because I changed it to a different one and they start mining. So now both comps are set to Expansion <race> Campaign Insane. They both mine, but that script seems to give them each an extra 4,000 minerals at the start. In addition, they still won't do anything but make workers, and Terran sends an SCV randomly around the map. So it looks like I'm just going to have to keep messing with the different scripts, and probably set up a lot of locations to force them to do certain things, such as scouting, expanding, and things a regular player would do.

Might end up getting a friend to run a few games with me though, as this is shaping up to be more trouble than it's worth :(

Post has been edited 1 time(s), last time on Dec 30 2008, 3:00 pm by SevGaming.



None.

Dec 30 2008, 3:01 pm Wormer Post #8



Probably you should try making the same thing with the terrain you can post, and look if the problem still there... With Town scripts comps are only gathering resources, if you want them to play at best set up "Expansion <Race> Campain Insane". I've made my own test map and noticed... *scince when* comps are getting 2k minerals and gas without setting them any?! =)



Some.

Dec 30 2008, 3:05 pm NudeRaider Post #9

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

I think you have to execute the ai scripts at a location over their base or YOU STILL HAVE RANDOMIZED START LOCATIONS. (big enough for you now?)

The shared vision should always work. Are you sure you're waiting long enough for it to activate, or the computers are not defeated at start?

I wouldn't place map revealers, as they don't show you cloaked units. Stick to sharing vision.
Map revealers is probably not working because YOU STILL HAVE RANDOMIZED START LOCATIONS..

Yeah try the custom ones. They are most expansive and have no requirements besides 4 workers and a main building.




Dec 30 2008, 3:15 pm SevGaming Post #10



I guess I wasn't clear enough before. There are only 3 start locations on the map, and all three are set as static. Randomized locations has NOTHING at all to do with any of this.

As for vision, it's not a big issue if that works correctly. I can always go over a replay and see everything I need. Right now it's mostly just to make sure the comps start the game correctly, so revealers or obs are both fine for that. If I can fix it, I'd like to, but I've managed to get some form of vision up and running each game, so that's fine for now.

What still isn't working are the AI scripts. I've tried about 10 different scripts for each comp so far, from the regular Town scripts, to the Insane scripts. Terran does the same thing in every script; Send 4 SCVs to minerals, save up 100 minerals, then send one SCV off to randomly run around the base. Protoss will either make Probes until supply maxes out (never builds anything, just mines), or not work at all. 6 of the 10 Protoss scripts I've tried haven't worked at all.

When you say custom scripts, are you referring to the ones labeled "<race> Expansion Custom Level", or just the more customized scripts in general?



None.

Dec 30 2008, 3:18 pm ForTheSwarm Post #11



"<race> Expansion Custom Level" (the ones he was talking about) work the best.



None.

Dec 30 2008, 3:19 pm SevGaming Post #12



Yeah I just loaded up that one for both races. Protoss once again did nothing, and Terran pumped SCVs until maxed, then sent them all running around the base :(

I'm just going to scrap the comp vs comp thing, and play against a comp myself on melee. I did manage to get Terran to start building a base, but they were playing really poorly. I at least know a melee comp plays as well as an average SC player does, so I'll go ahead and use that for my testing. Thanks for the help.

Post has been edited 1 time(s), last time on Dec 30 2008, 3:26 pm by SevGaming.



None.

Dec 30 2008, 3:45 pm Wormer Post #13



What do you mean by Start Locations "are set as static"? Also, comps always need enough resources to play at good level, they are not usually able to support resources and you should manually look for giveing them enough...



Some.

Dec 30 2008, 4:17 pm Heinermann Post #14

SDE, BWAPI owner, hacker.

Quote
Randomized locations has NOTHING at all to do with any of this.
It does if it's checked.

Make each computer unally each other. They are allied by default.
Center small locations over each computers' start locations, and run the script once. Do not use preserve trigger.

Maps don't just "randomly change" on their own.




Dec 30 2008, 4:22 pm NudeRaider Post #15

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

What strikes me is that you haven't confirmed so far that
- you went to "Scenario -> Forces" and unchecked "Randomize Start Location" for both forces.
Can you please confirm that you did that, instead of talking cryptic like "static start locations"? Because those would explain both lack of AI activity, and the the malfunction of Map Revealers.

And yes, by "custom ones" I meant "<race> Expansion Custom Level".




Dec 30 2008, 8:09 pm Blah Post #16



I'v made many many computer testing maps, and always works. All you have to do is:
- Start locations near minerals
- Starting units, sometimes even one worker is enough (must have enough minerals to build cc/nex/hatc but might not always work and defeat triggers off)
- Randomize Start location OFF, All forces just in case
- Comps unallied w/ triggers
- Correct race and AI, use Expansion <race> insane, it works best.

PLAYERS
Player 1 (computer)
CONDITIONS
Always
ACTIONS
Execute AI Script 'Expansion Protoss Campaing Insane' at 'Player 1 (location, place on SL)'.

- Computer slot
- All tech enabled
- There should be atleast one enemy

Post has been edited 1 time(s), last time on Dec 30 2008, 8:30 pm by Blah.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[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
[2024-5-04. : 1:05 am]
Vrael -- that's better
[2024-5-04. : 12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[2024-5-03. : 10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
Please log in to shout.


Members Online: Zergy, jjf28