[TUTORIAL] Custom Map Objective(s) (multiple languages)

S

Swift

To have your map objective(s) explained (in multiple languages) when your map is loaded, create the following .txt files in the same directory your mapname.bsp resides: (..\Steam\SteamApps\*YourAccountName*\team fortress 2\tf\maps\)

mapname.bsp
mapname_danish.txt
mapname_dutch.txt
mapname_english.txt
mapname_finnish.txt
mapname_french.txt
mapname_german.txt
mapname_italian.txt
mapname_japanese.txt
mapname_korian.txt
mapname_norwegian.txt
mapname_polish.txt
mapname_portuguese.txt
mapname_russian.txt
mapname_schinese.txt
mapname_swedish.txt
mapname_tchinese.txt

Each .txt file should contain the manual translation of your map objective(s). If you can't translate it to any language yourself. Just put the english text in each of these .txt's. Foreign ciizins will just have to learn to read english then. :)

Here is an example what the english map objective .txt file (cp_dustbowl_english.txt) of cp_dustbowl contains, to give you a better idea of what I'm refering too:

Objective:
Blue team wins by capturing both Control Points on each of three stages before the time runs out. Red team wins by preventing all the points from being captured.

Other Notes:
Control Points cannot be captured while they are locked.


PS: I found this out using GCFScape browsing the "team fortress 2 content.gcf"
 
Last edited by a moderator:
S

Swift

I also made a suggestion about this that could cut our time making these .txt files, here - a php coded webpage could help out enormously.
 

Armadillo of Doom

Group Founder, Lover of Pie
aa
Oct 25, 2007
949
1,228
Kick ass! There aren't too many TF2 tuts on the web right now, which makes our forum all the cooler :)
 
R

richard_cabeza

Kick ass! There aren't too many TF2 tuts on the web right now, which makes our forum all the cooler :)

I agree. I've been all over the place and you guys are the best. I'm about done with my first map (a true masterpiece) and I'll share it here later.
 

Spacemonkeynz

L5: Dapper Member
Jan 31, 2008
234
52
If you only going to make it English, You only need 'mapname.txt' if TF2 can't find one for a certain language, it will default to that one.
 

Open Blade

L420: High Member
Nov 30, 2007
439
34
nobody has mentioned this but what do you do with the text file when you zip up your map? I use pakrat and it finds all my custom textures and signs but it doesn't find the text file. Do you add it manually or will it be embedded into the bsp when you compile? I don't understand how people get the text file once you make it?
 

TotalMark

L6: Sharp Member
Feb 13, 2008
331
78
nobody has mentioned this but what do you do with the text file when you zip up your map? I use pakrat and it finds all my custom textures and signs but it doesn't find the text file. Do you add it manually or will it be embedded into the bsp when you compile? I don't understand how people get the text file once you make it?

You have to pack it manually into the BSP.
 

Ida

deer
aa
Jan 6, 2008
2,289
1,372
Heh, well then, that's nice. I'd rather not have another go at the nightmare that is trying to manually pack something into a map.
 

russtolium

L1: Registered
May 27, 2008
15
0
Boy I just had a real episode with this issue. I successfully packed the txt file and time after time it still wasn't showing up. After banging my head on the problem for two hours, I found out that I was placing the file in the wrong directory.

There was a reason for this, as I thought the map objective was what pakrat refers to as the 'level overview'. Turns out it's actually the 'map description'. The files use the same filename, but are in different directories. So now that I've solved that mystery, does anyone know what the level overview does? Is it some setting for playing those walkthrough movies on the projector screen on the team select screen?
 

shpladoink

L3: Member
Dec 19, 2007
108
6
Boy I just had a real episode with this issue. I successfully packed the txt file and time after time it still wasn't showing up. After banging my head on the problem for two hours, I found out that I was placing the file in the wrong directory.

There was a reason for this, as I thought the map objective was what pakrat refers to as the 'level overview'. Turns out it's actually the 'map description'. The files use the same filename, but are in different directories. So now that I've solved that mystery, does anyone know what the level overview does? Is it some setting for playing those walkthrough movies on the projector screen on the team select screen?

Since I seem to be having this issue as well, what is the correct folder for the map description file?

Edit: Apparently pakrat puts the entire file location in the line when you manually add a file. You need to modify the location to simply "maps" before saving the new .bsp.
 
Last edited:

kwagner

L2: Junior Member
Feb 28, 2009
92
6
I've just tried the above, inserted my maps _english.txt file and got the map objectives to show up, but the process has broken my env_cubmaps? (getting purple/black checkerboard reflections.)

I tried building the cubemaps from the console again, but that isn't doing the trick.

Any ideas?
 
Last edited: