+Veltro2k Posted February 18, 2009 Posted February 18, 2009 Last Weapon is numbered [WeaponData2049] I add more, then use the weapons editor to edit and save... go back to the weapons.ini and the ones i added have disappeared ? Quote
+Veltro2k Posted February 18, 2009 Author Posted February 18, 2009 You using the correct weapons editor? rgr Quote
Gunrunner Posted February 18, 2009 Posted February 18, 2009 (edited) Have you tried switching weapons ? In the INI, exchange the content of entries 2049 and 2050. If the file still truncates at 2049, then it's an editor limitation, if it truncates at 2048 then one of your weapons doesn't parse correctly and the editor stop parsing once it reaches it, so correcting the weapon entry would fix the problem. Off the top of my head, if it's the editor's fault, there may be 3 types of limitation of the editor that might cause such a problem : 1) The editor uses a counter limited to 2049 values, dropping anything beyond, which seems surprising... one would understand 2048, but 2049 seems strange, but it's late and I might be missing something; most probable. 2) The editor uses a buffer to keep ALL weapons while parsing them, and when out of buffer, writes all the complete weapons, dropping the rest (corollary, the longer your weapon entries, the less weapons you could use); very unlikely. 3) The editor has a hard set size limit for the maximum size of WEAPONDATA.DAT, in practice it ends up doing the same as 2); unlikely. Edited February 18, 2009 by Gunrunner Quote
Stick Posted February 18, 2009 Posted February 18, 2009 This is just a hunch-in the Objectlist. ini try increasing this value [ObjectGroup006] GroupName=MissileGroup GroupSize=2048 StaticGroup=FALSE ObjectFlags=MISSILE Searchable=TRUE Quote
Gunrunner Posted February 18, 2009 Posted February 18, 2009 (edited) Nice find, except that would mean the weapon editor reads inside objectdata.cat. But I just tried and it works fine on a system where there's no TW game to be found, hence, while it "may" allow the game to read a weapondata.dat with more than 2048/2049 entries, it won't help generating one with the editor. Besides, this INI file looks more like the configuration file for the number of "displayed" objects in game (in flight), the various categories they fall into and how the game engine should treat them. Edited February 18, 2009 by Gunrunner Quote
+Veltro2k Posted February 19, 2009 Author Posted February 19, 2009 (edited) solved Edited February 19, 2009 by Veltro2k Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.