|
|
|
Notices |
Do you own this game? Write a review and let others know how you like it.
|
|
February 26th, 2009, 04:13 PM
|
Major
|
|
Join Date: Jun 2005
Location: Kladno, Czech Republic
Posts: 1,176
Thanks: 12
Thanked 49 Times in 44 Posts
|
|
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).
__________________
This post, as well as being an ambassador of death for the enemies of humanity, has a main message of peace and friendship.
|
February 26th, 2009, 04:35 PM
|
|
National Security Advisor
|
|
Join Date: Mar 2005
Location: Dundee
Posts: 5,956
Thanks: 465
Thanked 1,899 Times in 1,237 Posts
|
|
Re: Encyclopeadia text Q
Quote:
Originally Posted by Marek_Tucan
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
|
February 27th, 2009, 05:39 AM
|
Major
|
|
Join Date: Jun 2005
Location: Kladno, Czech Republic
Posts: 1,176
Thanks: 12
Thanked 49 Times in 44 Posts
|
|
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.
__________________
This post, as well as being an ambassador of death for the enemies of humanity, has a main message of peace and friendship.
|
February 27th, 2009, 07:40 AM
|
|
General
|
|
Join Date: Jul 2008
Location: Uk
Posts: 3,308
Thanks: 98
Thanked 602 Times in 476 Posts
|
|
Re: Encyclopeadia text Q
Quote:
Found another splitter software that can split files just by empty lines
|
Any chance of a link Marek
|
February 27th, 2009, 08:43 AM
|
Major
|
|
Join Date: Jun 2005
Location: Kladno, Czech Republic
Posts: 1,176
Thanks: 12
Thanked 49 Times in 44 Posts
|
|
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.
__________________
This post, as well as being an ambassador of death for the enemies of humanity, has a main message of peace and friendship.
|
February 27th, 2009, 12:48 PM
|
Major
|
|
Join Date: Jun 2005
Location: Kladno, Czech Republic
Posts: 1,176
Thanks: 12
Thanked 49 Times in 44 Posts
|
|
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.
__________________
This post, as well as being an ambassador of death for the enemies of humanity, has a main message of peace and friendship.
|
February 27th, 2009, 02:45 PM
|
Major
|
|
Join Date: Jun 2005
Location: Kladno, Czech Republic
Posts: 1,176
Thanks: 12
Thanked 49 Times in 44 Posts
|
|
Re: Encyclopeadia text Q
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.
__________________
This post, as well as being an ambassador of death for the enemies of humanity, has a main message of peace and friendship.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|