Aside from map editing, how do you edit the AI of the SP Campaigns so that the enemies are more bothersome and have more NPC's flying about attacking every now and then?
The AIPs can be opened with Notepad. These are the primary way the SP campaign opponents are adjusted. Some of the Mission AIPs are easily adjusted by changing the values within the files. Others are hard coded into the game and cannot be changed at all. Adjusting the AIPs in this case can make the AI behave strangely or simply sit there and do nothing. Adjusting the values in the Race ODFs can also allow one to make the enemy "more bothersome".
A lot of the values are interconnected. Adjusting one value to improve the quantity of ships the AI uses per attack can have a negative impact on how often the AI attacks. Adjusting the type of ships towards the upper end of the scale, such as substituting battleships for destroyers, can mean the AI does nothing at all until after it has sufficient resources to build those battleships. A great deal of this is based upon your own judgments and taste. If you prefer that the Borg build nothing but Cubes and lots of them, then the AIPs can be adjusted to make the Borg do exactly that. As long as you ensure the AI has sufficient resources, it will happily crank out Cubes as fast as the game will work.
The biggest problem with adjusting the AIPs is playtesting. After you've made the adjustments you desire, you have to playtest them. Repeatedly. All the way thru the mission, or at least until you get to the point in the mission where you noticed something you did not like. I try to playtest something at least four times all the way through to ensure the last change I made really does address the concern I made it over.
if say on Federation Mission 1 there are 2 races (Borg & Fed) but i want to add a third race and fourth race (say an ally and an enemy) and i want the enemy to attack everyone.......how would i go about adding that in?
i have another question about SP Editing
i want to have a station that starts on the map as a unit for none of the sides that are on the map, but can be taken over by any of the teams
how can i have this object on the map and have the AI try to conquer it?
In answer to your first question; add in the units you want using the Map Editor and then double click on them to open the Object Settings window. The values you want to adjust are called "Team" and "Perceived Team". I am unsure exactly how the Teams fit together in SP so I guess you'd have to check them with playtesting until you achieved the results you were after.
In answer to your second question; Add in the station or object you want by using the Map Editor and then double click on it to open the Object Settings window. Adjust the "Team" and "Perceived Team" settings to "0". This is the default setting to indicate the station, planet, whatever belongs to no one.
I do not know if the AI will capture the station or not. This is not something I've ever tried. It is a fascinating idea. A great deal of the AI in the SP Campaigns is very mission specific and hard coded into the mission. The AI might just ignore that Death Star sitting there all empty and such. However, if it is a ship, such as a Victory class Star Destroyer, it is highly probable the AI will send a Ferengi Scavenger to salvage it post haste.
i wonder, if i gave the station the properties of a planet, would the enemy try to conquer it then? hmm worth a try
also, back to my first question....for the ally i want to make them a separate team say Team 4 but not attack Team 1, is that at all possible?
I believe so, yes. I've not tried anything like this so I have no idea how the Teams react to each other in SP