.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT > TO&Es
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old February 26th, 2009, 04:13 PM

Marek_Tucan Marek_Tucan is offline
Major
 
Join Date: Jun 2005
Location: Kladno, Czech Republic
Posts: 1,176
Thanks: 12
Thanked 49 Times in 44 Posts
Marek_Tucan is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old February 26th, 2009, 04:35 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,956
Thanks: 465
Thanked 1,899 Times in 1,237 Posts
Mobhack is on a distinguished road
Default Re: Encyclopeadia text Q

Quote:
Originally Posted by Marek_Tucan View Post
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
Reply With Quote
  #3  
Old February 27th, 2009, 05:39 AM

Marek_Tucan Marek_Tucan is offline
Major
 
Join Date: Jun 2005
Location: Kladno, Czech Republic
Posts: 1,176
Thanks: 12
Thanked 49 Times in 44 Posts
Marek_Tucan is on a distinguished road
Default 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.
Reply With Quote
  #4  
Old February 27th, 2009, 07:40 AM
Imp's Avatar

Imp Imp is offline
General
 
Join Date: Jul 2008
Location: Uk
Posts: 3,308
Thanks: 98
Thanked 602 Times in 476 Posts
Imp is on a distinguished road
Default Re: Encyclopeadia text Q

Quote:
Found another splitter software that can split files just by empty lines
Any chance of a link Marek
Reply With Quote
  #5  
Old February 27th, 2009, 08:43 AM

Marek_Tucan Marek_Tucan is offline
Major
 
Join Date: Jun 2005
Location: Kladno, Czech Republic
Posts: 1,176
Thanks: 12
Thanked 49 Times in 44 Posts
Marek_Tucan is on a distinguished road
Default 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.
Reply With Quote
  #6  
Old February 27th, 2009, 12:48 PM

Marek_Tucan Marek_Tucan is offline
Major
 
Join Date: Jun 2005
Location: Kladno, Czech Republic
Posts: 1,176
Thanks: 12
Thanked 49 Times in 44 Posts
Marek_Tucan is on a distinguished road
Default 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.
Reply With Quote
  #7  
Old February 27th, 2009, 02:45 PM

Marek_Tucan Marek_Tucan is offline
Major
 
Join Date: Jun 2005
Location: Kladno, Czech Republic
Posts: 1,176
Thanks: 12
Thanked 49 Times in 44 Posts
Marek_Tucan is on a distinguished road
Default 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.
Attached Files
File Type: txt blank.txt (8.2 KB, 101 views)
File Type: txt et051.txt (12.4 KB, 261 views)
File Type: zip et051xxx.zip (20.0 KB, 95 views)
__________________
This post, as well as being an ambassador of death for the enemies of humanity, has a main message of peace and friendship.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:41 PM.


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