Ambrosia Garden Archive
    • System Changing


      I am new to plugin development and i want to make a currently uninahabitated system have a planet and government and everything. What I'd really like is a step-by-step guide or online tutorial. Can someone help?

      ------------------
      Accept Insanity.
      Visit (url="http://"http://www.racworld.co.uk")www.racworld.co.uk(/url)

    • Let's see how well I remember this. It's been a while.

      Step 1: Give the first system a control bit in its visibility field. Set that to !bxxx.

      Step 2: Create a system with the exact same location, and whatever name/spobs/gov you like. Don't bother to set its hyperlinks. Set the visibility on this one to bxxx.

      Step 3: Set a cron or misn to set bxxx at the desired point in our story.

      When bxxx is set, system 1 will go invisible, and system 2 will become visible. Becuase they have the same (x,y) position, Nova will automatically set the hyperlinks for system 2.

      (edit)slight clarification(/edit)
      ------------------
      "Was it love, or was it the idea of being in love?"-Pink Floyd
      Russell for President 2020!

      (This message has been edited by Russell Quintero (edited 01-30-2003).)

    • I have resedit to do that. But were is the bxxx?

      ------------------
      Accept Insanity.
      Visit (url="http://"http://www.racworld.co.uk")www.racworld.co.uk(/url)

    • The "xxx" in "bxxx" are the three digits you assign to the ncb (Nova Control Bit). The expression Bxxx (or bxxx), where xxx are those three digits, means check to see if the ncb is turned on, while !Bxxx (or !bxxx) checks to see if it's turned off.

      In the s˙st resource, then, this expression goes in the VisBit field (VisBit means "This is the ncb that determines if this system is active or not").

      So, let's say, for example, you want two versions of the Kania system -- the regular one, and one where the Hypergate's been irreparably destroyed -- won't ever regenerate. You duplicate the Kania system, but in place of the spöb with the active hypergate, the duplicate refers to another spöb with the same name but basically inactive, using the damaged Hypergate graphic.

      So we first assign a VisBit -- in this case, let's arbitrarily pick b5273 (the ncbs number from b0 to b9999), after making sure that b5273 isn't used anywhere else in the Nova Scenario first (and as far as I know, no one's mapped out a currently-used ncb list for Nova 1.0.3 yet, and I made up b5273, which, for all I know, could be used, but let's say for the sake of argument that it isn't) to our two systems.

      Now, you want the first version, the one with the active Hypergate, to be the default, the system you come to when you first start the game. The event that triggers our destroyed Hypergate hasn't happened yet, and when you first start up Nova, all the ncbs start off turned off, so that means in the original Kania s˙st we want to put !b5273 in the VisBit field. This tells Nova to make the original Kania active if b5273 is turned off (which it is to begin with). In our copy without the active Hypergate, we put b5273 in the VisBit field.

      What happens now is that when b5273 gets set, the original version of Kania will be turned off, while the copy will be turned on.

      Now you're probably asking "Okay, so how do I turn on b5273?" The answer is: pretty much anywhere where ncbs can be activated. You could, for instance, make an oütf called "Destroy the Kania Hypergate," and in the OnBuy field put b5273. Then, as soon as that oütf is purchased, the bit is set and our two systems flip on and off, respectively. Or, as Russell said, you could make a crön which is set to go off at a certain time, and at the end of that time the systems switch on/off by putting b5273 in the OnEnd field. Or, if you fail a particular mission, you could turn that ncb on as a consequence, by putting b5273 in the OnFail field.

      Does that help?

      (edit) Oh, and I think you have to make sure the systems linked to your first system must also be linked to your second system. (/edit)

      ------------------
      Starfleet Adventures: A Star Trek TC for EVN (url="http://"http://www.ev-nova.net/forums/viewtopic.php?t=145") Discussion Board (/url)
      Starfleet Adventures (url="http://"http://www.ev-nova.net/forums/viewtopic.php?t=71")Progress Log(/url)
      It is better to feed the goat than it is today.

      (This message has been edited by UncleTwitchy (edited 01-30-2003).)

    • He's referring to the control bits you're using. xxx means to use whatever control bit you want here. If you want this planet to ALWAYS be habitable then you don't have to worry about using ncb's. But if you're changing a planet while the game is progressing, you're going to have to use a control bit to replace the existing inhabitable planet with a copy that is habitable. Example: When a particular mission completes it will set b950 thus removing the old planet and replacing with the new copy. I'd say make a copy of the syst and spob that you want and place it in a new plug. Then duplicate the spob in the new plug but give it a unique ID. Now make those changes just as Russel said, giving the new planet all the atributes you desire.

      (edit) beaten. slow at typing. grrr (/edit)
      ------------------
      I used to jog but the ice kept falling out of my glass.

      (This message has been edited by Kame (edited 01-30-2003).)

    • hrmm...I meant to explain that in the first post. Oops.

      I am fairly sure that Nova will automaitcally connect system two the same way system one had them, assuming that you set exactly the same coordinates.

      Kame: Two "L"s in Russell please. 😄

      ------------------
      "Was it love, or was it the idea of being in love?"-Pink Floyd
      Russell for President 2020!

    • I'll experiment and get back to you on that one.

      ------------------
      Starfleet Adventures: A Star Trek TC for EVN (url="http://"http://www.ev-nova.net/forums/viewtopic.php?t=145") Discussion Board (/url)
      Starfleet Adventures (url="http://"http://www.ev-nova.net/forums/viewtopic.php?t=71")Progress Log(/url)
      It is better to feed the goat than it is today.

    • Thanks. I succeeded in creating a gövt, replacement s˙st and spöb but i don't know how to connect them with resedit. I did it by trial and error and so far it has the new spöb in it but the planet itself is hostile and there is no image.

      ------------------
      Accept Insanity.
      Visit (url="http://"http://www.racworld.co.uk")www.racworld.co.uk(/url)

    • Quote

      Originally posted by racworld:
      **Thanks. I succeeded in creating a gövt, replacement s˙st and spöb but i don't know how to connect them with resedit. I did it by trial and error and so far it has the new spöb in it but the planet itself is hostile and there is no image.

      **

      There is a field in the spob resource for the ID of the Pict for the landing graphic and another for the spin of the planet from space. In the syst resource there are fields for entering the ID of the govt. There may also be one in the spob resource, as a matter of fact I am pretty sure that there is. I highly recommend that you read through the Nova Bible while having NovaTools open to the resource you are reading about. This way you can see where each thing mentioned in the Bible is. It looks scary, but it is really fairly straight forward. Feel free to ask questions about it, but right now it is clear you haven't read it.

      ------------------
      "Was it love, or was it the idea of being in love?"-Pink Floyd
      Russell for President 2020!

    • (quote)Originally posted by Russell Quintero:
      **Kame: Two "L"s in Russell please.:redface:

      ------------------
      I used to jog but the ice kept falling out of my glass.
      **