Go Back   Steam Users' Forums > Steam Tool Discussions > Source Coding

Reply
 
Thread Tools Display Modes
Old 12-24-2008, 08:26 PM   #16
Mangr0v3
 
 
 
Join Date: Sep 2008
Reputation: 4237
Posts: 13,589
try changing the games name back in scrip/game.txt

do sourcemods/<modname> and <modname>_english.txt the same <modname>?

like sourcemods/mymod and mymod_english.txt
Mangr0v3 is offline   Reply With Quote
Old 12-24-2008, 10:26 PM   #17
shadow-killer
 
Join Date: Jul 2008
Reputation: 0
Posts: 389
Quote:
Originally Posted by Mangr0v3 View Post
try changing the games name back in scrip/game.txt

do sourcemods/<modname> and <modname>_english.txt the same <modname>?

like sourcemods/mymod and mymod_english.txt
i tried just using the name "a" and no luck
shadow-killer is offline   Reply With Quote
Old 12-25-2008, 07:46 AM   #18
Winston
 
Join Date: Jul 2007
Reputation: 84
Posts: 2,170
Same, I'm confident you don't need to do anything but make sure the mod folder name and the _english.txt filenames match. Try restarting steam.

Its possible you've got mismatched quote marks somewhere in your _english.txt file, that could be messing stuff up.
Winston is offline   Reply With Quote
Old 12-25-2008, 11:36 AM   #19
shadow-killer
 
Join Date: Jul 2008
Reputation: 0
Posts: 389
Quote:
Originally Posted by Winston View Post
Same, I'm confident you don't need to do anything but make sure the mod folder name and the _english.txt filenames match. Try restarting steam.

Its possible you've got mismatched quote marks somewhere in your _english.txt file, that could be messing stuff up.
here in my _english.txt file
Code:
"lang" 
{ 
	"Language" "English" 
	"Tokens" 
	{

	//WEAPONS	
	"#HL2_357Handgun"	".357 MAGNUM"
	"#HL2_Pulse_Rifle"	"OVERWATCH STANDARD ISSUE\n(PULSE-RIFLE)"
	"#HL2_Bugbait"		"PHEROPOD\n(BUGBAIT)"
	"#HL2_Crossbow"		"CROSSBOW"
	"#HL2_Crowbar"		"CROWBAR"
	"#HL2_Grenade"		"GRENADE"
	"#HL2_GravityGun"	"ZERO-POINT ENERGY GUN\n(GRAVITY GUN)"
	"#HL2_Pistol"		"9MM PISTOL"
	"#HL2_RPG"		"RPG\n(ROCKET PROPELLED GRENADE)"
	"#HL2_Shotgun"		"SHOTGUN"
	"#HL2_SMG1"		"SMG\n(SUBMACHINE GUN)"
	"#HL2_SLAM"		"S.L.A.M\n(Selectable Lightweight Attack Munition)"
	"#HL2_StunBaton"	"STUNSTICK"

	//CHAT
	"#DL_Chat_All"			"%s1: %s2"
	"#DL_Chat_Team"			"(TEAM)- %s1: %s2"
	"#DL_Chat_Spec"			"(Spectator)- %s1:  %s2"

	"#DL_Name_Change"		"%s1 changed name to %s2"

	//TARGET ID
	"#DLtargetID_sameteam"		"Friend: %s1 (%s2)"
	"#DLtargetID_diffteam"		"Enemy: %s1"

	//MICS
	"#DL_Join_Team2"		"Join Blue Team"
	"#DL_Join_Team3"		"Join Red Team"

	//DM ENGLISH
	"hl2_AmmoFull"			"FULL"
	"ScoreBoard_Player"		"%s1    -   %s2 player"
	"ScoreBoard_Players"		"%s1    -   %s2 players"
	"ScoreBoard_Deathmatch"		"Deathmatch"
	"ScoreBoard_TeamDeathmatch"	"Team Deathmatch"
	"Playerid_sameteam"		"Friend: %s1 Health: %s2"
	"Playerid_diffteam"		"Enemy: %s1"
	"Playerid_noteam"		"%s1 Health:%s2"
	"Team"				"Team %s1"
	
	"Game_connected"			"%s1 connected"
	"Game_disconnected"			"%s1 has left the game"
	"Cannot_Be_Spectator"			"This server does not allow spectating"

	} 
}
shadow-killer is offline   Reply With Quote
Old 12-25-2008, 01:07 PM   #20
Lebson506th
 
Join Date: Aug 2008
Reputation: 21
Posts: 114
It's not supposed to have the # in there.
Lebson506th is offline   Reply With Quote
Old 12-25-2008, 03:28 PM   #21
Winston
 
Join Date: Jul 2007
Reputation: 84
Posts: 2,170
Ouch. yaeh thats the problem. Note that the default ones don't have hashes
Winston is offline   Reply With Quote
Old 12-25-2008, 05:51 PM   #22
shadow-killer
 
Join Date: Jul 2008
Reputation: 0
Posts: 389
Quote:
Originally Posted by Winston View Post
Ouch. yaeh thats the problem. Note that the default ones don't have hashes
yes they have hashes i even opened up the weapon files 2 check

"#HL2_Pulse_Rifle"
Code:
WeaponData
{
	// Weapon data is loaded by both the Game and Client DLLs.
	"printname"	"#HL2_Pulse_Rifle"
shadow-killer is offline   Reply With Quote
Old 12-25-2008, 06:00 PM   #23
z33ky
 
Join Date: May 2008
Reputation: 169
Posts: 5,362
There yes, but not in the language-file apparently.
z33ky is offline   Reply With Quote
Old 12-25-2008, 06:22 PM   #24
shadow-killer
 
Join Date: Jul 2008
Reputation: 0
Posts: 389
wow, i had no idea... thanks guys works great now
shadow-killer is offline   Reply With Quote
Old 01-01-2009, 08:14 PM   #25
Da_Man_Rocks
 
 
 
Guest
Posts: n/a
took him long enough to notice
  Reply With Quote
Old 01-02-2009, 04:20 AM   #26
z33ky
 
Join Date: May 2008
Reputation: 169
Posts: 5,362
Are you trying to flame?
z33ky is offline   Reply With Quote
Old 01-03-2009, 01:19 AM   #27
Da_Man_Rocks
 
 
 
Guest
Posts: n/a
maybe.......
  Reply With Quote
Old 05-25-2009, 05:12 PM   #28
redx475
 
 
 
Guest
Posts: n/a
I'm a little late on this topic, but it would be good for everyone to know: I randomly stumbled upon the console looking just for '_english.txt' without a mod name (and it couldn't find it). I added the _english.txt and it worked. Try renaming your <yourmod>_english.txt to _english.txt (dunno why this works).
  Reply With Quote
Old 05-26-2009, 01:44 AM   #29
Winston
 
Join Date: Jul 2007
Reputation: 84
Posts: 2,170
I suppose your mod isn't just called this:


?
Winston is offline   Reply With Quote
Old 05-26-2009, 02:09 AM   #30
DuckSauce01
 
Join Date: Apr 2008
Reputation: 35
Posts: 923
the <mod_name> before _english is the exact folder name of your mod, though it probably isn't caps sensitive, it also seems to hate spaces and some other characters, so try naming the folder something else for 5 minutes, something like: englishtest

Without any spaces or capital letters, then name the _english file:
englishtest_english.txt

That's how it's been for me at least and someone else I know, the _english file MUST be the folder name, rather then for example the modname in the gameinfo.txt or any other name anywhere, its just the foldername rather then modname lol and for the other guy I know he was using some spaces and some other characters such as - and . I think which also didn't work.
(it was named something like Varion 1.0, now it's something like varion_1 or varion_1dot0

Also Winston... can folders even be named blank o_0 maybe when leaving the >mod_name< blank will have it search it's basefolder or something and use that for the name? meh I dunno but it's weird anyhow how it works with empty name.
DuckSauce01 is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Coding


Thread Tools
Display Modes

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 Off



All times are GMT -7. The time now is 05:22 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.