5/18/2023 0 Comments Subethaedit alternatives![]() Since addSystemShips is used instead of addShips, it will be followed by a number that gives a spawn destination at some point on the space lane between the Witchpoint (0.0) and the station (1.0). Or one could begin with an alternate simple script, this one in the ASCII format: This will ensure that one entity with the role 'billboard' will pop up at the Witchpoint every time a player arrives. Status_string equal STATUS_EXITING_WITCHSPACE This is a little awkward and not much chance of seeing our model frequently, so we would make a small addition to roles.Īnd include another plist in order to force an appearance of our model. This is the only mandatory plist inside folder Config, to accompany the model named billboard1.dat in Models, and billboard1_texture.png in Textures, which would complete the minimal billboard.oxp, placing a slow spinning, lifeless object into the game.īecause roles contains asteroid(0.05), this should cause our billboard to have a rare (and weird) appearance in the middle of an asteroid field. The plists for a very simple OXP, for instance one containing a space advertising billboard, could contain this: If it's not, you will be given a clue to what is wrong, and the line number of the error. ![]() Hit return, and Terminal will reveal whether or not the plist is OK. This will cause the 'address' of the plist to be shown. After opening Terminal, simply type plutil, add one space, and drag and drop the plist in question onto the Terminal window. The Mac Terminal utility has a very practical tool for catching parser errors. Since a very small mistake is enough to stop a plist from being accepted, it's important to be exact about every letter and sign. See section in OXP howto plutil (Macintosh Terminal) see post above, too!Ī cross-platform utility for finding errors in some of the plists. Their parsers work differently and are sensitive to different errors. ![]() Macs use Cocoa to parse property lists, while other platforms use GNUstep. ![]() This also minimizes the chance of little parser errors. The format is ideal to freely copy/paste items between various lists, and alter them as desired. Many text editors will do the job, but it is helpful to use a specialized plist editor (such as Sub Etha Edit or PlistEdit Pro for the Mac, Vim for Linux/Windows).Ī good way to learn the correct way to make plists, is to examine the ones found within Oolite and working OXPs. To begin making an Oolite plist, all one needs is a text editor and a purpose. Property lists A more detailed look at the ASCII and XML formats. ![]()
0 Comments
Leave a Reply. |