|
Hi,
Having player some hours with the Starcraft Editor (StarCraft classic edition), I get stuck and require some help.
What I have achieved so far is marked "OK". What I am stuck into is marked "FAILING".
I need to edit the Map "Broodwar/Webmaps/Friends98.scm" to obtain the following behavior :
- Two teams : 2 Humans VS 4 Computers : OK - The 2 humans are in the same team, and will start from the left of the map (the base location will not be random) : OK - The 4 computers are in the same team : OK
- The computers will have a base, and play against the humans team : FAILED ! Help is needed here, because when the map starts, computers have NO BASE AT ALL. The result is a message "The Game ended in a Draw", 3 seconds after the game start.
I went to the triggers window, but not really sure what actions I need to specify for the computers having a base, develop it, and attack us in a normal and random way. By "normal", I mean that I have seen that I can specify the difficulty level for each IA, and "suicide missions", but I am not sure that this will fit. I do not explicitely computers to rush us. They can, or not, depending of the IA.
There must be a more simpler way to achieve my goal ;-)
I thank you very much ;-) (yes : Very!)
|
I think the problem is you need to place a {starting location} object for the cpu players.
|
Hi @Chronopolis, I placed a start location for every player (every color), including computers. But only humans have a base : computers do not have any base.
|
Check if in the Map Description section (ctrl + shift + enter) you have all the players set up properly.
|
Someone correct me if I'm wrong, but I believe it's not possible to do Use Map Settings (to fix positions / teams on the map) and use regular AI. So what you need to do is to give them the buildings and set an AI in the triggers menu. (e.g "Run Ai Script At Location" -> "Anywhere" -> Select a script, e.g Zerg Insane or w/e)
|
Could you post the map and then we can take a look at it? Cause a couple things come to mind as to why this is happening.
First I think it could be that you didn't setup your forces and/or your computers don't have buildings (That is one of the default triggers, if user commands 0 buildings, end scenario)
![[image loading]](https://snag.gy/gTRmDl.jpg)
Forces should look something like that, although I think you already have this setup since your original posts references that the 4 computers are on the same team.
The thing that kogeT said is correct as well, however it will not simply end the game right away. Usually if AI script is not set, the computer units simply won't do anything and they'll just sit there and only react when you attack them.
|
Hi @kogeT and @razorsuKe,
I appreciate your thoughts Well, I ahve set up forces, but @razorsuKe seems to be suggesting that I should put buildings on the ground ? Actually, I only have defined players, teams, start locations, and map locations. So maybe the actual map in will help you to get it working ? The only goal is to have 2 humans starting near to each other, vs 2 IAs :-) Link to the Actual Map : http://site-web-reims.com/collab/st/starcraft-2-humans-vs-4-computers.zip
|
oohhhh ok, I see exactly what you are trying to do here.
Basically you just want a normal TvB game of 2 vs 4 but you want them to start in specific locations.
However, if you made a map like this in melee or TvB, the spawns will be random. So you are forced to use UMS.
Well, I hate to break it to you, because it's in UMS, it's a little more complicated than that. You can't just use the default AI, you have to set the AI script, which I see you've tried to do, but yes, you will need to have buildings already in place for them.
So don't worry, I got you covered, this should be what you are looking for:
http://s000.tinyupload.com/index.php?file_id=71179357569121932524
BTW: I put the zergs together cause otherwise there will be creep clash with a different race.
|
Hi @razorsuKe,
I must say two things : - Your explanations are very clear, and helped me alot in understanding how IA's behave - Your link to the Map you edited (corrected) is a must-have : You saved me hours of headaches !
Maybe I would finally, one day, have tried to add "command centers" for IA's bases, instead of only "start locations", but I do not know. It is confusing how IA do everything by itself when you play a map in Melee or Top vs Bottom, but how difficult it is to make it run when playing in Use Map Settings (USM).
So to summarize what need to be done (and what you did on my map) : - Add "Start locations" for the 2 human players. Make them not random. - Add bases for the 4 computers (and not only "start locations", that cannot suffice) - Add "locations" on the map - Add triggers to tell the IA to start a campaign and develop from each "location"
Again @razorsuKe, I really appreciate your help, and the time you have taken in your life to help me on this topic. And for you @kogeT : a big thank you too, because you were right too !
Sincerely guys, Enjoy SC, your life, and everything around you :-)
Alex !
|
hey no problem, glad I could help!
But the only thing I did was add starting buildings and 4 workers for each computer. (and also change the AI script from custom to insane)
I didn't change human races at all, they are random and can be whatever you want to pick at the beginning (in lobby)
You already had it figured out pretty much. You placed location layers and added an AI script, which is correct.
|
You probably have all AI players set to a specific race (as opposed to "User Selectable) and no buildings pre-placed for either of the, (so they immediately trigger the standard wincon)
The general answer is to have a location over each of the AI SLs and run an approprite
What races are the computers to be? Do you want them to build bases from scrap, starting with the usual resource depot + 4 workers, or do you want to pre-place their bases?
|
If you're looking to make the computer play normal melee in ums... there's no way.
You can make a normal map and create it with top vs bottom mode 2 vs 3 but the starting locations are going to be random.
|
Well, you can run melee AI scripts. The computers will not do ganged up rushes against you or defend each other, as they would in a melee game, though.
|
I wish Classic Team would have solved this issue a long time ago. It's very important for new players to be able to play near their ally vs the computer.
One of the few sc1 potential accessibility tools, and we're missing the opportunity...
|
|
|
|