Copy "Starcraft II Beta/Versions/Base13891/" to "Starcraft II Beta/Versions/Base10000/"
Copy "Tutorial/Export/patch.SC2Archive" to "Starcraft II Beta/Versions/Base10000/patch.SC2Archive"
Run "Tutorial/launch_map.bat"
You should see a map with 4 drones and one of them is yours
Now, you just have to edit the galaxy and xml files inside the Files/ folder. Run the launch_map.bat and Tadaa, all your modifications are taken in account directly.
In order to make the learning curve easier I've added examples of basic code you would probably want to write. If you want to get deeper you can dig into the Documentation.
pointp;if(command=="-moveto"){p=Point(StringToFixed(StringWord(message,2)),StringToFixed(StringWord(message,3)));// Update the order code to use this point}// Sample usage:// -moveto 53.3 12.2
So I'm not sure what I'm doing wrong here, the -move and -exit command works fine, but the -loc didn't seem to work at all, in fact -loc and -move didn't seem to print any text. I managed to fix it by turning the line:
d(4,"Current Viewing Location:");
into:
print(4,"Current Viewing Location:");
But I can't mess with the line:
dp(CameraGetTarget(1));
without making all the other commands fail to work altogether. I was trying to store CameraGetTarget into a variable so I could print it out, but to no avail. I can't even figure out what the dp() and d() functions even do, but I guess I'm really nub at this sorta thing. o.O
What we can do at the moment is very similar to what is going to be possible with the editor
Galaxy Editing: There will be some kind of wysiwyg thing to code, but nothing that we can't already do
XML Editing: There will be some kind of excel sheet that allow us to edit the values. Will speed up a little the process but does not give more power
Terrain Editing: This is where the editor is needed. It's not possible to edit the terrain at all atm. It is stored in binary form that is impossible to edit with a text editor
All the functions are not available yet, only the strict minimum required for the AI to work is in. This will allow us to make better things.
@vjeux: Go hmmm.. can't really finish the maps if you can't touch the terrain ATM then?
Well, you can start it at least :) And you will be able to understand the underlying system of the maps. The editor will hide a great deal of complexity.
Copy "Starcraft II Beta/Versions/Base13891/" to "Starcraft II Beta/Versions/Base10000/"
Copy "Tutorial/Export/patch.SC2Archive" to "Starcraft II Beta/Versions/Base10000/
ERRR... WHUT? I don't have a Starcraft II Beta/Versions/Base10000/ Am I supposed to create it?
I keep trying to change the objects file, but it seems somewhere along the way it gets regenerated to the original file. Do you know what's causing this and how to fix it:?
Hello,
At the moment, creating a map is a hardcore process, this is why I've packaged many tools together to make map editing easy.
http://www.sc2mapster.com/maps/tutorial-how-get-started/
How to start:
Starcraft II Beta/Versions/Base13891/
" to "Starcraft II Beta/Versions/Base10000/
"Tutorial/Export/patch.SC2Archive
" to "Starcraft II Beta/Versions/Base10000/patch.SC2Archive
"Tutorial/launch_map.bat
"Now, you just have to edit the galaxy and xml files inside the
Files/
folder. Run the launch_map.bat and Tadaa, all your modifications are taken in account directly.In order to make the learning curve easier I've added examples of basic code you would probably want to write. If you want to get deeper you can dig into the Documentation.
I hope you are going to start making maps :)
This looks great, vjeux, :).
I was thinking of adding a few commands... "MoveTo", where you can specify the coordinates perhaps. Some other things.
Would not be hard. Something like
@vjeux: Go
So I'm not sure what I'm doing wrong here, the -move and -exit command works fine, but the -loc didn't seem to work at all, in fact -loc and -move didn't seem to print any text. I managed to fix it by turning the line:
into:
But I can't mess with the line:
without making all the other commands fail to work altogether. I was trying to store CameraGetTarget into a variable so I could print it out, but to no avail. I can't even figure out what the dp() and d() functions even do, but I guess I'm really nub at this sorta thing. o.O
All the d?() functions print text inside the debug trigger window. In order to make it appear you must be in windowed mode :)
@vjeux: Go
Y'know, when I realized this, I slapped myself, so it's all good now.
Alright, added a game timer and moveto command.
soooo... this is how you make maps at the moment?
Pretty much yeah :)
What we can do at the moment is very similar to what is going to be possible with the editor
All the functions are not available yet, only the strict minimum required for the AI to work is in. This will allow us to make better things.
The more stuff the better i say :). You guys are doing great so keep it up.
@vjeux: Go hmmm.. can't really finish the maps if you can't touch the terrain ATM then?
Well, you can start it at least :) And you will be able to understand the underlying system of the maps. The editor will hide a great deal of complexity.
When i open the map none of the commands show up. when i run it it says failure to include nativelib
i am running vista btw
Hmm, got this error too but it still loads the game. That should be alright.
Can you use the commands
error message: 00:00:00.00 Script load failed: Syntax error
Edit:fixed the problem by reinstalling the game
Copy "Starcraft II Beta/Versions/Base13891/" to "Starcraft II Beta/Versions/Base10000/" Copy "Tutorial/Export/patch.SC2Archive" to "Starcraft II Beta/Versions/Base10000/
ERRR... WHUT? I don't have a Starcraft II Beta/Versions/Base10000/ Am I supposed to create it?
Yes, =|.
I keep trying to change the objects file, but it seems somewhere along the way it gets regenerated to the original file. Do you know what's causing this and how to fix it:?
[EDIT] NM Found it :)