|
From: Kevin S. <ke...@th...> - 2005-07-08 12:59:43
|
Daniel MacGregor wrote: > Was looking at the btpartslist function that cad came up with and > realized some issues that I want to solve. > > First off there is no way 'currently', atleast as far as I know of, to > determine a commod from a part. Also > there is some Ammo mixed in with the cargo table, ammo that is not > automatically generated like > Ammo_AC/5 but instead ammo like Ammo_SRM_Inferno or Ammo_LRM_Artemis. > > My idea right now is redo the whole item table system, into something > like this > > Weapons > Generated Ammo > Special Ammo > Bombs > Commods > Parts > > And along with that redefine the IsAmmo (to include both tables) a > IsCommod, a IsPart and redefine IsCargo as both. > Also redefine the *_INDEX values stored in mech.h, add some for the > commods and special ammo. > > Now KM has voiced some concerns about this because the part #s would > change for just about everything. > > I guess this is just me being obessive about having things more > organized then they are right now. What are your guys thoughts on this? > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > BtOnline-Btech-General mailing list > BtO...@li... > https://lists.sourceforge.net/lists/listinfo/btonline-btech-general > > As another addendum on a more technicaly point..... Is*() (Ammo, Commod, etc...) are FAR REACHING macro's used more than just for hangar listings, named outputs, and cosmetic stuff. They are used ALL over the combat/mech/etc.. hcode in various ways. Some straightforward, some creative, and they are used with various expectations of what they mean. One of my last mails to -Devel itemized the technical aspects of thsi somewhat. One example is how Weapon, Ammo (Ammo isn't always what it seems... there is no Ammo_IS.AC/5_Precision per say in the low level sense....), Parts, Bomb's.... more? Are all used as potential names for addable crits and their Is*() output is parsed in various differnt manners. Anyhoo. Can't stress enough to be scared of changing this core set of code. Null -- "A government is a body of people. Usually, notably, ungoverned." - Shepherd Book, Firefly, episode "War Stories" |