A question about the way plugins work...

A stupid question... when you create a plug-in, with resources that have the same ID's and specs as the actual game file's resources, but with minor enhancements, does the plug-in override/overlap the previous resource from the game?

------------------
Remember... when de-fusing a bomb, don't sneeze!!!

Yes. Nova first reads in everything in the Nova Data folder. Then it reads in everything in the Nova Plugs folder. Everything in a plug overrides the original data.

------------------
~Charlie

And I believe plug-ins are read in alphabetical order. So if multiple files in the plug-ins folder have the same resource, the version of that resource in the file that's latest in the alphabet will override/overlap the others.

------------------
Mike Lee (Firebird)
Visit Cymltaneous Solutions: (url="http://"http://cs.paching.com/")http://cs.paching.com/(/url)
(hosted by (url="http://"http://www.evula.org")evula.org(/url))

Short answer: Yes.

Slightly more detailed answer:
If you put a plugin file into the plugin folder, when Nova loads it, uses the data from the plugin first. So, if you have a ship with ID 128 in a plugin, Nova will replace the shuttle (the default 128 ship) with the one from the plugin.

Even if the data in the plugin is identical to the standard Nova stuff, it still gets replaced with the plugin data (although you wouldn't be able to tell)

(Edit: Beaten! Must type shorter answers!)

------------------
(url="http://"http://www.geocities.com/newkongindustries/")New Kong Industries (/url)

(This message has been edited by simon (edited 11-20-2002).)

Quote

Originally posted by Masamune:
**Yes. Nova first reads in everything in the Nova Data folder. Then it reads in everything in the Nova Plugs folder. Everything in a plug overrides the original data.

**

Thank you for the prompt response, Masamune! Ok, then.... if that is true, then (conceivably!) I could just make the changes in the resources for the game, copy them into a plug-in made by ResEdit, and make my contribution. Thanks! I've wanted to try and help other players....

------------------
Remember... when de-fusing a bomb, don't sneeze!!!

Quote

Originally posted by chrisw357:
Thank you for the prompt response, Masamune! Ok, then.... if that is true, then (conceivably!) I could just make the changes in the resources for the game, copy them into a plug-in made by ResEdit, and make my contribution. Thanks! I've wanted to try and help other players....

Wow, someone who starts off making plugins that don't have to do with cheating... very rare indeed. 😉

------------------
(url="http://"http://www.evula.com/")EVula,(/url) your friendly (url="http://"http://www.evula.com/")self-promoting(/url) EV & EVO Boards/Addon/Newswire/Chronicles moderator
(url="http://"http://www.evula.com/")evula.com(/url) | (url="http://"http://www.evula.net/")evula.net(/url) | (url="http://"http://www.evula.org/")evula.org(/url) | (url="http://"http://www.ev-nova.net/")ev-nova.net(/url) :: (url="http://"http://forums.evula.com/")Lair Forums(/url)
(url="http://"http://pftn.evula.net")pftn(/url) | (url="http://"http://dreamwave.evula.net")dreamwave(/url) | (url="http://"http://davidarthur.evula.net")davidarthur(/url) | (url="http://"http://ucplugs.evula.net")ucplugs(/url) | (url="http://"http://jager.evula.net")jager(/url) | (url="http://"http://stark.evula.net")stark(/url)

(quote)Originally posted by EVula:
**Wow, someone who starts off making plugins that don't have to do with cheating... very rare indeed.:p

------------------
Remember... when de-fusing a bomb, don't sneeze!!!

(This message has been edited by chrisw357 (edited 11-20-2002).)
**

Quote

then (conceivably!) I could just make the changes in the resources for the game, copy them into a plug-in made by ResEdit, and make my contribution.

Um... I wouldn't make changes in Nova's resources and then copy them into your plugin. A better way would be to copy the resources into your plugin and then make your changes. If you do it the other way around, your changes are going to become a permanent part of Nova (untill you replace the data files), and it would defeat the purpose of making your plugin.

Of cource, changing the data files can be the best option for TC plugins, because then you don't have to worry about any of the existing Nova data...

------------------
(url="http://"http://www.geocities.com/newkongindustries/")New Kong Industries (/url)

Simon hit it on the head... Copy, then change.

Even if you are making a TC, copy, then change. The default files are as great a reference as the Bible, and saving them is a lot easier than having to re-download/install Nova.

If you DO want to make a TC, there is a program floating around for making TC installers. Might make life easy.

------------------
~Charlie

Yes, copy and then change even for a TC. What I meant was that for a TC it can be easier to just change the resources in a copy of the Nova datafiles. Thanks for clearly stating that Masamune!

------------------
(url="http://"http://www.geocities.com/newkongindustries/")New Kong Industries (/url)