Uber testing using the Factions OXP (updated 22/07/2011)
Posted: Mon Jul 18, 2011 11:30 am
OK, here's an outline of how to modify the Factions OXP to set up arbitrary battles . . . these instructions are for two "sides" with one ship type per side. You need to make one change to the world script (Config/script.js) and add a new ship data file (Config/shipdata.plist). The ship script and AI should NOT be touched.
For the world script, just make this change.
OK, what you should now have (when you jump into a new system) is a battle between the commies and dictators near the witchspace at all systems. So now we need to change the ships . . . .
So, make a shipdata.plist like this, and copy it over the existing one (make a copy first!):
with the proper ship names in the "like_ship" lines, and replace the plist in the OXP.
OK that's the basics, any questions reply to this post . . .
For the world script, just make this change.
Code: Select all
this.$uberTest = true;
So, make a shipdata.plist like this, and copy it over the existing one (make a copy first!):
Code: Select all
{
"factions-ship1" = {
"like_ship" = "asp";
"roles" = "factions-faction1";
"scan_class" = "CLASS_NEUTRAL";
"conditions" = ();
};
"factions-ship2" = {
"like_ship" = "adder";
"roles" = "factions-faction2";
"scan_class" = "CLASS_NEUTRAL";
"conditions" = ();
};
}
OK that's the basics, any questions reply to this post . . .