Originally Posted by propbeanie
I'll look through the menu.txt file, and see if maybe there's a placeholder like #boat# that can have #playername# input instead, so that it credits the Captain's career - if possible... as you say though, the count of missions is probably a variable in-game. Darn shame we can't do scripting in some of these game files to "fix" things like that... hmmm...
Edit: Some quick research:
"variable" Strings used in menu.txt
%s - ie: "You are transferred to %s".
%d
%s||%s (??)
80= on line 99 in the file: %s %s%s
81=TOTAL CREW;Sailors: %02d %02d|PettOfficers: %02d etc. (again ??) does the "pipe" here get a newline??
86=%.02f
95=Patrol %3d
98=Patrol: Start Date: %s %d, %d End Date: %s %d, %d - %s
From my previous edge-yu-mah-kay-shun, it looks like the %s pulls in a string, and %d pulls in a digit (thank you Mr Obvious), and the commas and dashes and colons and semi-colons are just text punctuation. I have no idea where the game pulls those strings and digits from. It appears that if you want a "comment" line, the semi-colon has to be the first character, and everything after that is just text. dunno fer sertinn... what the "f" is, is beyond me. I'm also not certain of the numbers with the %d, in that if you're after the 2 digit, why lead with a zero, and not do like the "%3d" example?... Oh, wait! I just found another, and it looks like it's formatting... %02d would be for like a date, leading zeroes, using 2 places, such that January 1st, 1941 with a "%02d/%02d/%04d" would render as 01/01/1941... %.02f would be 2 decimal places?? Or else adding a comma marker, such as "10,000"??
#BASE#
#DATE#
#FLOTILLA#
#MEDALNAME#
#NAME#
#NEWLINE#
#PATROLNUMBER#
#SUBMARINECLASS#
#SUBMARINENAME#
#TITLE#
#TONNAGE#
#UNIT#
5890 on line 2917 of the file has a lot of these for the President of the United States awarding #MEDALNAME# to #TITLE# #NAME# of #SUBMARINENAME# on #DATE#
5891 is the German version (or Japanese, if you do mods of that sort...)
All of the wording in that file can be turned around, so long as a person is careful with the white space, and doesn't lose the formatting. I'll see if I can do that good enough in the 5890 section for inclusion in the next round... It looks to me that one of the programmers misplaced their math in the looping for the patrol count, and we are stuck with #PATROLNUMBER# being what it is at one too many (for now)...
|