.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   WinSPMBT (http://forum.shrapnelgames.com/forumdisplay.php?f=78)
-   -   Idle thought - ecyclopaedia text (http://forum.shrapnelgames.com/showthread.php?t=41157)

Marek_Tucan November 7th, 2008 05:11 PM

Idle thought - ecyclopaedia text
 
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 ;)

Mobhack November 8th, 2008 09:11 AM

Re: Idle thought - ecyclopaedia text
 
Quote:

Originally Posted by Marek_Tucan (Post 650942)
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


All times are GMT -4. The time now is 11:28 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.