Quote
Originally posted by pp0u20e8:
**Ok I've started making my plug (see topic titled Unwanted Graphics)
I just wrote the first mission, but I tried to place Auroran warships in the dest. syst. but when I got there, there were no ships. First I tried putting ships in using the ShipDude thing in the mission resource, but when this didn't work, I used aux ships (also in the mission resource) but still nothing. What do I need to do to add ships?
Also, how do you make mission bits (ie so one will automatically appear after another is completed) and cut off major strings?
This is my first major plug so any help will be greatly appreciated.
Any major help will get a mention and maybe a ship in my plug.
**
First of all, when it comes to adding ships, use the "shipdude" part, make sure that you have more than 0 ships in the number field, and that you have checked something like "nav default 4" and that the system ID is correct.
The basic mission bits to activate to cut off major strings are b511 and b515. For more details I would suggest you using the "Nova Reference" (if you don't have it, try to get it) because it lists almost all the used bits in Nova. From then on you can see what bits are not used (I know that from 900 to 950 are free) and yourself use them in your plug.
To add mission bits in the mission resource, you go to the Control Bits section. In the accept field you need to put all the conditions for the mission to be available. For example if you want the mission to be available if no first mission of a major string has been started, you could put in the "Offer If": !((b511 | b515) | b900)
This means "not (( bit 511 set OR bit 515 set ) OR bit 900 set", so if either of these bits is set then the perimphacies are set to 1 (yes) and the "not" operation transforms that into a 0 (no). So try to become familiar with boolean expressions before really getting far in the plug. If you are using mission computer, I know they are pretty well explained if you click on the three dots.
Then you can decide to put "b900" in the "OnSuccess" field, meaning that when the mission is completed, the bit number 900 will be set, meaning you can make another mission available by putting: "offer if: b900 & !b901"
The !b900 in the first case and the !b901 in the second one are necessary if you want to make those missions only appear once.
Is that already enough for starters?
------------------
Pace (haldora)
Triton Yards CEO ~ (url="http://"http://speculation_plug.home.insightbb.com/")Speculation(/url)
-- Cartman: I hate hippies! I mean, the way they always talk about "protectin' the earth" and then drive around in cars that get poor gas mileage and wear those stupid bracelets - I hate 'em! I wanna kick 'em in the nuts!
(This message has been edited by Pace (haldora) (edited 08-17-2004).)