Topic: Contents of loc files
barocca
WebSite




Group: Administrator
Joined: Dec. 2000
Australia

along the lines of a guide i have spent the last 90 minutes reading through loc files,

what follows are preliminary notes from 3 files only...this is going to take a lot of work, and i would appreciate any other contributions, and ESPECIALLY if crosscheck my findings and add any notes you feel make understanding the content of any file clearer to you.

=============


Battle.txt

// In Game Text messages
includes events, morale states and multiplayer messages

// Map Editor text messages,

including model names,
if it becomes possible to add more models successfully this is where you will need to define the model names.

// Names of battle formations
If you change a formation and want to change the name, do that here.

also
contains clues on what custom battle result triggers are available, but not how to implement such triggers


changes.txt

This file contains bits and pieces of everything,
i am unsure of the exact purpose of this file
i suspect that the game loads the other files,
then reads this and overwrites changes (in memory) using this file.

Thus when you make a change elswhere you will need to check this file thoroughly - it is very very mish-mash disorganised!!!

NOTE:- contains the following list :-
@["region_lost_title_xzy"]
@{"Region Zero Lost!"}
@{"Scotland Lost!"}
etc etc
Unsure of where to change region names at this time
Unsure of effect of changing this list.

// New Faction descriptions. These have been moved and updated from startpos.txt.
@["FSM_faction_info_faction_ALMOHAD_EARLY"]
etc etc


starpos.txt

// Era descriptions
EG:- @["Era_Description_EARLY"]
EG:- @["Era_Description_HIGH"]
EG:- @["Era_Description_LATE"]

can add more descriptions?
UNKNOWN

// Faction descriptions - Early Era
EG:- @["FSM_faction_info_faction_ALMOHAD_EARLY"]
// Faction descriptions - High Era
EG:- @["FSM_faction_info_faction_ALMOHAD_HIGH"]
// Faction descriptions - Late Era
EG:- @["FSM_faction_info_faction_ALMOHAD_LATE"]
REDUNDANT ?? = UNKNOWN

=========

will look some more when my eyes stop hurting
:lol

Some More

Descriptions.txt

some of the descriptions on this file may be made redundant by entries in the changes file.
Check both files for discrepencies when editing.
//TITLE DESCRIPTIONS
//UNIT DESCRIPTIONS
//NAVAL DESCRIPTIONS
//AGENT DESCRIPTIONS
//MISC - Crusade, jihad and some tech tree descriptions
//BUILDING DESCRIPTIONS
and building completed/destroyed texts


Events.txt

Strategic Game event messages, agent mission results, harvest results, heir and factionleader events, other faction offers ceasefire/alliance,
break treaty/declare war, personality descriptions, storms, historical events, etc.
litterly hundreds of events.

frontend.txt

menu text, multiplayer, tutorial messages etc.

global.txt
various small comment text

glorygoals.txt
includes, naturally the Glory goal messages,

also has a section
//Region Conditions start here:
["GG_AFRICA"]
{"Africa"}
etc.

this may need to be modified if province/region names are changed elsewhere - UNCERTAIN

HistCampaigns.txt
Predefined Historical Campaigns text.

Historical.txt
Predefined Historical Battles text.

JMTutorial.txt
the campaign tutorial text.

maps.txt
this contains ONLY Castle map descriptions.

names.txt
region and sea area names,
faction and faction leader names,
Castle names,
forename, surnames and titles (as is "Sir" etc.),
Princess names,
Unit and Building names,
Office names - (may be changed in the campmap startpos files)
Tradable Goods and Resources names - (unsure of effects of changes to these names)

!!!
@["religions_xzy"]
@{"Pagan"}
@{"Catholic"}
@{"Orthodox"}
@{"Islamic"}
@{"Jewish"}
@{"Heretic"}
This seems to indicate we may be able to change a religions name,
but more importantly we may be able to have a Heretic Religion in game!!

if you change any of these there are several "lists" in this file that will ALL need to be updated.

Back to top
GilJaysmith
Programmer




Group: Senior Member
Joined: Aug. 2002
Creative Assembly / Littlehampton

Quote
Originally posted by barocca:
the names of the provinces are in a text file in locand we can edit these names to our hearts content, then we simply need to edit the startpos script to match


Note that the names of the regions on the campaign map are embedded in the graphic; changing the .txt files won't change what appears on the map. This is because the region names had to be localised but still had to look nice. The only way to do that was to do a different TGA for each language version.

Gil ~ CA

Back to top
barocca
WebSite




Group: Administrator
Joined: Dec. 2000
Australia

System.txt
System messages,
low disk warning, mmx warning,
and MP gamespy login messages.

ToolTip.txt
Tooltip messages.

variables.txt
another unknown usage file
containsbits and pieces from all different text files.
includes text strings which use province names.

WarVoice.Txt
end game texts, subtitles??

Weather.txt
weather message strings.


and thats all she wrote!
please check if i missed anything,
B.
Back to top
barocca
WebSite




Group: Administrator
Joined: Dec. 2000
Australia

if anyone already knows what changed with the patch please add that information here,
thanks,
B.


From GiljaySmith

For the patch only changes.txt and possibly variables.txt would have been changed. All the changes should be at the bottom of the files with a big divider to make it clear.

Gil ~ CA

Back to top