Ship DLL Library - how to instal more ships to the game - pr
This is about resource dll file with ship names and info cards, programers call it "library", not a ship collection !!!
Since there is a problem with adding mod on mod due to dll indexing, how about building a common DLL for all ships and shippacks posted here? Then, any ship mod can be installed over another, unless they add more then 3 ships to a same base.
Idea:
1) Every ship developer reserves dll range for his own use - could even here.
2) There is a dll source code at LR to download, so one gets it from LR, adds his ship names and infocards and repost it back.
3) He releases ship mod with this DLL.
Then every one can use this mod with already "Library compatible" ships, just copying new dll over old one in exe dir and instlling ship without a dll through FLMM.
Idea is taken from Creature Developer Network, where modders have to have unique ids for their objects and reserve them first on the forum.
Implementation:
1) Lets call it shiplib.dll Someone from LR stuff should handle changes in it.
2) every ship takes 5 continous numbers
x - IDS_name
x+1 - IDS_Info
x+2 - IDS_Info1
x+3 - IDS_Info2, not really needed, could use 66608
x+4 - IDS_Info3
------
x+5 - name of the next ship.
3) We start with DLL range 30000-60000, to allow easy dll integration with other mods, that usually uses very low or very high numbers from namespace.
4) Each ship begins at /5 boundary, so engines and other possible additions, ie 30000, 30005, 30010 and so.
5) Use 'sectionadd ' and not 'sectionreplace' methods to add a ship to the base to avoid FLMM conflicts.
For already released ships and ship packs, if authors contribute to the project and chose their range, they will have to renumber xml scripts only and 5) if applies, and posts "ship library compatible" updates to LR.
This way every one can combine different ship mods in one game for his own.
No more Massive Addons needed to have more ships.
If you think this idea is good, ask your most liked ship author to contribute.
Idea applies to all mods, but lets start with something simple.
Current project status -Range 30000-60000 free to use.
Tygrys
Edited by - Tygrys on 28-06-2003 02:18:35
Edited by - Tygrys on 28-06-2003 02:29:08