.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   TO&Es (http://forum.shrapnelgames.com/forumdisplay.php?f=108)
-   -   Encyclopeadia text Q (http://forum.shrapnelgames.com/showthread.php?t=42432)

Marek_Tucan February 26th, 2009 04:13 PM

Encyclopeadia text Q
 
Just a quick one: is there any recommended maximum number of rows and number of characters in a row?

Just considering creating some encyclopaedia files in the form of one big txt file and subsequent splitting using a text splitter software, generally I have two options there, split by number of lines or by a specific symbol (using @ for tests).

Mobhack February 26th, 2009 04:35 PM

Re: Encyclopeadia text Q
 
Quote:

Originally Posted by Marek_Tucan (Post 676971)
Just a quick one: is there any recommended maximum number of rows and number of characters in a row?

Just considering creating some encyclopaedia files in the form of one big txt file and subsequent splitting using a text splitter software, generally I have two options there, split by number of lines or by a specific symbol (using @ for tests).

No - just experiment to see what text will fit, or examine some existing entries.

Andy

Marek_Tucan February 27th, 2009 05:39 AM

Re: Encyclopeadia text Q
 
OK, will try it out (just asked as I was on the PC without SP installed while I was reainstalling my home PC from the grassroots).
Found another splitter software that can split files just by empty lines, that¨s even better than a "special" symbol approach. The only downfall so far is that I have to include blank slots in the file and thus I have to generate all 1000 (OK, 999) text files in order to keep a correct numbering.

Imp February 27th, 2009 07:40 AM

Re: Encyclopeadia text Q
 
Quote:

Found another splitter software that can split files just by empty lines
Any chance of a link Marek

Marek_Tucan February 27th, 2009 08:43 AM

Re: Encyclopeadia text Q
 
Will post a link, along with a template file and some notes, tomorrow or so - want to try some more things and wild ideas first.

Marek_Tucan February 27th, 2009 12:48 PM

Re: Encyclopeadia text Q
 
Btw found my answer, as it seems, so sharing it here for the Greater Good(tm) :)
Maximum size of text field in Encyclopaedia seems to be 53 symbols * 25 lines.

Marek_Tucan February 27th, 2009 02:45 PM

Re: Encyclopeadia text Q
 
3 Attachment(s)
Okay, so today already... :)

The file splitter is called TextWedge and you can download it from this location:
http://sourceforge.net/projects/textwedge/

Attaching:
"blank" TXT file with numbers from 001 to 999 separated by empty lines
et051.txt - file with names (and some descriptions) to the slovakian OOB
et051xxx.zip - contains a complete encyclopaedia files for units used by obat051 Slovakia

I think this tool might come in handy to any OOB modder who wants to add a bit of in-game info to his units.
As to the formatting, as I wrote above, seems to be 53 chars x 25 lines max (tried it out at lowest resolution, didn't try whether higher res offers more space) and first line should be empty (ie just * at the beginning) IOT not overlap with other texts in Unit Information window.


All times are GMT -4. The time now is 09:36 PM.

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