Xeno's thread over user missions, does get a bit bunged up with questions about editing and modifying Domination, so I got permission to start this thread.
For me Domination got me into playing as well as editing. His code is usually internally documented very well and it's possible, with a little code gazing to see how he's done stuff and why he's used a given method.
So, let's get started!
---------- Post added at 09:22 AM ---------- Previous post was at 09:10 AM ----------
The basics. To edit a Domination mission you need the mission file, available from Dev Hev or if you don't want the vanilla stuff, from your mission cache folder. The Dev Hev stuff comes in a 7z file, use 7z or winrar to unpack it.
You're going to need an application to 'dePBO' the file. I like Kegetys cPBO but some have trouble with it. So, once you're dePBO'd the mission file, you will end up with the mission folder.
To edit the mission files, I use notepad++ because it does bracket and parenthesis pair matching, but equally a lot of people like Armaedit. It's cool as it knows all the reserved and key words, but it's author is long gone.
That's the absolute basics. So, get in there, have a look through the files and get editing. When you're done, you can see your efforts in editor preview, or use cPBO to remake the PBO from the mission file and try them on a server.
---------- Post added at 09:27 AM ---------- Previous post was at 09:22 AM ----------
There are 3 main files you should look into first.
In the mission folder, there are files called i_server, i_client and i_common.
i_server makes all the server side units, so that's all the enemies.
i_client deals with all the player stuff such as scoring and player interaction with other stuff in the game.
i_common is where stuff common to both server and client is managed. So, enemy town locations and the arrays that determine what units you win for completing objectives in here.