View Single Post
  #1  
Old November 8th, 2008, 09:11 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,989
Thanks: 483
Thanked 1,923 Times in 1,251 Posts
Mobhack is on a distinguished road
Default Re: Idle thought - ecyclopaedia text

Quote:
Originally Posted by Marek_Tucan View Post
Just some idle thinking due to my meddling with OOBs and (I admit) laziness

Would it be possible to:
-add possibility to edit unit/formation encyclopaedia texts in MOBhack,
-manage them as OOB's are managed (ie quickly mount custom set, or replace it with default one),
-store them atleast in one big text file of a prescribed formatting? For example
Quote:
Units037.txt
...
+019 @"T-72M4CZ is a Czech upgrade of T-72M1 with a new NIMDA powerpack, Italian TURMS-T FCS and locally produced heavy ERA."
...
+066 @"OT-90 is a heavy APC built on the hull of BVP-1, due to disarmament treaties replacing its turret with one from OT-64 APC."
...
Of course, ency. texts are no big deal, so this is more like "nice to have" wish from me so I don't actually expect it being implemented, probably too much bother for too little gain
Nope - the encyclopaedia text was one of the things done waaay back in the DOS days and is based on the unit id number as the key. the text is not part of the database data whatsoever, and resides in the text files directory, so cannot be moved with the OOB.

The only way to do what you want, would be to have each OOB and its text in a separate sub-folder most likely, which is a complete game redesign.

One large INI file per OOB would soon get over 64k which produces problems of its own with things like the text edit field widget in Delphi.

Andy
Reply With Quote