Steamをインストール
ログイン
|
言語
简体中文(簡体字中国語)
繁體中文(繁体字中国語)
한국어 (韓国語)
ไทย (タイ語)
български (ブルガリア語)
Čeština(チェコ語)
Dansk (デンマーク語)
Deutsch (ドイツ語)
English (英語)
Español - España (スペイン語 - スペイン)
Español - Latinoamérica (スペイン語 - ラテンアメリカ)
Ελληνικά (ギリシャ語)
Français (フランス語)
Italiano (イタリア語)
Bahasa Indonesia(インドネシア語)
Magyar(ハンガリー語)
Nederlands (オランダ語)
Norsk (ノルウェー語)
Polski (ポーランド語)
Português(ポルトガル語-ポルトガル)
Português - Brasil (ポルトガル語 - ブラジル)
Română(ルーマニア語)
Русский (ロシア語)
Suomi (フィンランド語)
Svenska (スウェーデン語)
Türkçe (トルコ語)
Tiếng Việt (ベトナム語)
Українська (ウクライナ語)
翻訳の問題を報告
Left 4 Dead\left4dead\scripts\game_sounds_player.txt
Open it and then search (control+f) for this line:
"Player.AwardUpgrade"
In this section, you have 5 entries where you can control various things. Leave the channel, volume, and pitch alone if you don't know what they are for. See the line that says "wave" "player/orch_hit_Csharp_short.wav" this is where you specify to the server what sound the players will hear when they receive an upgrade. So basically you can replace that line with any other wave file in the game. Just go to your sounds folder and poke around and listen to see if there's another sound you like. So for example, if you want to use this file:
left 4 dead\left4dead\sound\UI\BigReward.wav
All you have to put in the game_sounds_player.txt file is the following:
UI\BigReward.wav
You can also use game_sounds_player.txt to edit other game sounds, but I don't recommend that since it will definitely confuse players that join your server.
have me intrieged:
"Flash Bulb"
"%s1 received a Flash Light upgrade."
"Blind the infected with a brighter Flash Light."
"%s1's Bright Bulb is no longer working."
I remember reading about the Flash Bulb/Flashlight Upgrade, yet to be seen how it functions. I tried calling it up as the index only goes up to 31, yet, even with all upgrades. I have not noticed the infected flinching. So I am bit reluctant to know if anyone has figured out the functioning of this upgrade.
I'll try that out, but sadly, the currently released plugins have a public that removes these notifications. I would have to repack the mod and inform users to download the external vpk to fix these titles. Not many people do that now a days. Maybe i'll create a second version of the mod mod, one with and one without the blocks.
Yeah there are more text notificaitons, but the Smoker Neutralizer is actually pre-coded in the game file. So it makes me wonder where.
EDIT: I might be skipping it, but no where in your guide does it say where to put this text file or find it.
Thank you. All help welcomed and is appreciated :)
The original "upgrades text" pasted above in the first post is something I had started sorting out from the game code in my own text file (back in 2011) trying to decipher what piece of text goes with what since ot all of it is in uniform. It's an old file and has a couple of mistakes that I thought I corrected but apparently I didn't, until now. (I also corrected the first post with that info). But later on after carefully examining everything, I figured out what goes paired together.
I mislabeled Blinding Flash with Flash Bulb by confusing it with the flash light upgrade, due to non-copyable characters in the code and the text being "scattered" like a puzzle, which I had to manually re-type all of that out. I think the problem with the Blindng Flash is that, even though it's mentioned in the game code, and is "given" out as an upgrade, its function is either not fully coded or is missing entirely from the game. The sound effect wave file for it is still there (even in L4D2) but I don't ever remember hearing it in the game. Even if it was played, I don't think I would have heard it too clearly anyway due it it being such a short sound. The sound file is this one:
left 4 dead\left4dead\sound\weapons\flash\flash01.wav
31? Where are you getting that number from? The upgrade index in the game code only has 30 upgrades. I know there is a skill index as well, but that's another story.
There is slightly more text, but as far as I have tested, I found no way to "restore" it, so I didn't mention it to avoid confusion and have it unnecessarily translated. The code is found within some of the binaries, the remainder (since the programmers removed those entries) has to be manually added to text files in the game for it to be restored. In the post below (for better clearance), is the entire upgrades names, descriptions, and index straight from the game code itself, so it is 100% correct. This is what I was going to post when I started the thread, but the "game code" sections may confuse anyone willing to help with the translations, which I wanted to avoid. The header is the upgrade's name in the upgrades index, some have the same name as the upgrade and some don't. Each one is followed by 4 entries, which are all chat messages (some are not available since they are not in the code). Some have a 5th entry, which is either an instructor notification, or a hint message.
"#L4D_Upgrade_kevlar_vest_alert"----------------"%s1 received a Defense upgrade."
"#L4D_Upgrade_kevlar_vest_fancy_name"-----"Kevlar Vest"
"#L4D_Upgrade_kevlar_vest_description"-------"Upper body armor reduces damage received."
"#L4D_Upgrade_kevlar_vest_expire"---------------"%s1's Kevlar Vest was ruined."
"alert message missing"-------------"N/A"
"no chat string"--------------------------"Battle Helmet"
"description missing"------------------"N/A"
"expire notice missing"---------------"N/A"
"alert message missing"-------------"N/A"
"no chat string"--------------------------"Bracers"
"description missing"------------------"N/A"
"expire notice missing"---------------"N/A"
"alert message missing"-------------"N/A"
"no chat string"--------------------------"Shin Pads"
"description missing"------------------"N/A"
"expire notice missing"---------------"N/A"
"alert message missing"-------------"N/A"
"name missing"-------------------------"N/A"
"description missing"-----------------"N/A"
"expire notice missing"---------------"N/A"
"#L4D_Upgrade_flashbulb_alert"------------------"%s1 received a Flashlight upgrade."
"#L4D_Upgrade_flashbulb_fancy_name"-------"Flashbulb"
"#L4D_Upgrade_flashbulb_description" ---------"Illuminate a wider radius of dark areas a brighter flashlight."
"#L4D_Upgrade_flashbulb_expire"-----------------"%s1's Bright Bulb is no longer working."
"alert message missing"-------------"N/A"
"name missing"--------------------------"N/A"
"description missing"------------------"N/A"
"expire notice missing"---------------"N/A"
"#L4D_Upgrade_prevent_it_alert" -----------------"%s1 received an Anti-Boomer upgrade."
"#L4D_Upgrade_prevent_it_fancy_name"------"Prevent IT"
"#L4D_Upgrade_prevent_it_description"--------"Prevents the hoard attracting effect on a Boomer's vomit once."
"#L4D_Upgrade_prevent_it_expire"---------------"%s1 prevented being tagged by a Boomer's vomit."
"alert message missing"-----------------------------"N/A"
"name missing"-----------------------------------------"N/A"
"description missing" --------------------------------"N/A"
"expire notice missing"-------------------------------"N/A"
"#L4D_Instructor_notify_choked_upgrade"----"N/A"
"alert message missing"-----------------------------"N/A"
"name missing"-----------------------------------------"N/A"
"description missing"---------------------------------"N/A"
"expire notice missing"-------------------------------"N/A"
"#L4D_Instructor_notify_pounced_upgrade"--"N/A"
"#L4D_Upgrade_ledge_save_alert"---------------"%s1 received a Ledge Save upgrade."
"#L4D_Upgrade_ledge_save_fancy_name"----"Ledge Save"
"#L4D_Upgrade_ledge_save_description"------"Save yourself when hanging from a ledge once."
"#L4D_Upgrade_ledge_save_expire"-------------"%s1 climbed back up from a Ledge."
"#L4D_Instructor_notify_ledge_upgrade"-------"Hold to attempt to climb back up from the ledge."
"#L4D_Upgrade_revive_self_alert"------------------------"%s1 received an Incapacitation upgrade."
"#L4D_Upgrade_revive_self_fancy_name"-------------"Self Revive"
"#L4D_Upgrade_revive_self_description"---------------"Revive yourself if incapacitated once."
"#L4D_Upgrade_revive_self_expire"----------------------"%s1 was down and self revived."
"#L4D_Instructor_notify_incapacitated_upgrade"----"Hold to attempt to revive yourself."
"#L4D_Upgrade_goggles_alert"-------------------"%s1 received a Vision upgrade."
"#L4D_Upgrade_goggles_fancy_name"--------"Goggles"
"#L4D_Upgrade_goggles_description"----------"Protects your eyes from being blinded by a Boomer's vomit once."
"#L4D_Upgrade_goggles_expire"------------------"%s1's goggles prevented a Boomer's blinding effect."
"alert message missing"-------------"N/A"
"name missing"-------------------------"N/A"
"description missing"-----------------"N/A"
"expire notice missing"--------------"N/A"
"alert message missing"-------------"N/A"
"no chat string"--------------------------"Adrenaline"
"description missing"------------------"N/A"
"expire notice missing"---------------"N/A"
"#L4D_Upgrade_hot_meal_alert"------------------"%s1 received a Health upgrade."
"#L4D_Upgrade_hot_meal_fancy_name"-------"Hot Meal"
"#L4D_Upgrade_hot_meal_description"---------"Eat a nutritious meal for an increase in energy."
"#L4D_Upgrade_hot_meal_expire"-----------------"%s1's extra strength has worn off."
"#L4D_Upgrade_laser_sight_alert"---------------"%s1 received a Targeting upgrade."
"#L4D_Upgrade_laser_sight_fancy_name"----"Laser Sight"
"#L4D_Upgrade_laser_sight_description"------"Increase your aim accuracy with a pointing laser."
"#L4D_Upgrade_laser_sight_expire"-------------"%s1's Laser Sight has been damaged."
"alert message missing"-------------"N/A"
"no chat string"--------------------------"Suppressor"
"description missing"------------------"N/A"
"expire notice missing"---------------"N/A"
"#L4D_Upgrade_combat_sling_alert"-------------------"%s1 received a Recoil upgrade."
"#L4D_Upgrade_combat_sling_fancy_name"--------"Combat Sling"
"#L4D_Upgrade_combat_sling_description"----------"Reduces your weapon recoil."
"#L4D_Upgrade_combat_sling_expire"-----------------"%s1's Combat Sling effect has worn off."
"#L4D_Upgrade_high_cap_mag_alert"------------------"%s1 received a Magazine upgrade."
"#L4D_Upgrade_high_cap_mag_fancy_name"-------"High Capacity Magazine"
"#L4D_Upgrade_high_cap_mag_description"---------"Load more ammunition into your weapons."
"#L4D_Upgrade_high_cap_mag_expire"-----------------"%s1 ran out of High Capacity Magazines."
"#L4D_Upgrade_hollow_ammo_alert"-------------------"%s1 received an Ammo upgrade."
"#L4D_Upgrade_hollow_ammo_fancy_name"--------"Hollow Point Ammunition"
"#L4D_Upgrade_hollow_ammo_description"----------"Switch to more powerful ammunition."
"#L4D_Upgrade_hollow_ammo_expire" -----------------"%s1 exhausted their Hollow Point Ammo."
"alert message missing"------------"N/A"
"no chat string"-------------------------"Armor Piercing Ammunition"
"description missing"-----------------"N/A"
"expire notice missing"--------------"N/A"
"alert message missing"-------------"N/A"
"no chat string"--------------------------"Explosive Ammunition"
"description missing"------------------"N/A"
"expire notice missing"---------------"N/A"
"alert message missing"-------------"N/A"
"name missing"-------------------------"N/A"
"description missing"-----------------"N/A"
"expire notice missing"---------------"N/A"
"alert message missing"-------------"N/A"
"name missing"--------------------------"N/A"
"description missing"------------------"N/A"
"expire notice missing"---------------"N/A"
"#L4D_Upgrade_knife_alert"----------------"%s1 received a Restriction upgrade."
"#L4D_Upgrade_knife_fancy_name"-----"Combat Knife"
"#L4D_Upgrade_knife_description"-------"Equip a knife to free yourself from a Hunter or Smoker."
"#L4D_Upgrade_knife_expire"--------------"%s1 used their Combat Knife to escape a %s2."
"#L4D_HINT_USE_KNIFE"------------------"Press FIRE to use your Combat Knife and free yourself."
"#L4D_Upgrade_smelling_salt_alert"---------------"%s1 received a Revive upgrade."
"#L4D_Upgrade_smelling_salt_fancy_name" ---"Smelling Salts"
"#L4D_Upgrade_smelling_salt_description"-----"Use salts to revive incapacitated teammates quicker."
"#L4D_Upgrade_smelling_salt_expire"------------"%s1 used their Smelling Salts to quickly revive %s2."
"#L4D_Upgrade_ointment_alert"--------------------"%s1 received a Healing upgrade."
"#L4D_Upgrade_ointment_fancy_name"--------"Ointment"
"#L4D_Upgrade_ointment_description"----------"Run faster while injured by numbing the pain."
"#L4D_Upgrade_ointment_expire"-----------------"%s1's ointment effects have worn off."
"#L4D_Upgrade_reloader_alert"--------------------"%s1 received a Reload upgrade."
"#L4D_Upgrade_reloader_fancy_name"--------"Reloader"
"#L4D_Upgrade_reloader_description"----------"Reloads your weapons quicker."
"#L4D_Upgrade_reloader_expire"-----------------"%s1's fatigue has made them lose their reloader upgrade."
"#L4D_Upgrade_flash_bang_alert"---------------"%s1 received a Grenade upgrade."
"#L4D_Upgrade_flash_bang_fancy_name"----"Blinding Flash"
"#L4D_Upgrade_flash_bang_description"------"Blind the infected with a stunning flash of light."
"#L4D_Upgrade_flash_bang_expire"-------------"N/A"
I've played on a server where they referred to the PREVENT_TOUNGE upgrade as Nicotine Patch. I'm not sure where they got that name from, but it's not mentioned in the code either.
The instructor notifications for PREVENT_TOUNGE and PREVENT_POUNCE can be restored, but there is no game text for it in the code. So it's not clear as to what it is supposed say on screen while playing.
The UNYIELDING upgrade is what you refer to as Morphine in your guide, but the code has no name for it. SILENCER is the name of the upgrade in the index, but it is called Suppressor. The RELOAD_TIME (its index name) upgrade on every server that I've played on that has it, is referred to as Slight of Hand, but that name of it in the code is just Reloader. Slight of Hand sounds cooler though.
The SCOPE upgrade can apparently be attached to any gun, including the pistols, which is very useful but doesn't make too much sense, lol.
I've never seen any server with upgrades #2, 3, 4, 5, 14, 22, 23, and 25 enabled. I'm thinking numbers 6 and 30 just don't work. But I've also seen additional custom upgrades on some servers besides incendiary ammo, such as air walk, jumper and floater.
There's so much unused content in this game, that they could have made them available as DLCs. There apparently was a useable Baseball Bat at one point, as it is referenced in one of the files along with the names of the wave files for the sound effects of the bat. The survivors have unused animations of being dragged while on the floor. It's mentioned multiple times in the code, such as:
survivor_drag_continuous_fire Survivors need to hold +attack2 to drag incapacitated survivors.
survivor_drag_speed_multiplier Multiplier to speed when we are dragging somebody.
survivor_revive_continuous_fire Players need to hold +attack to revive.
survivor_revive_after_drag Standing still after dragging someone will start reviving him.
And there's other unused content, which I'm probably forgetting at the moment.
To answer:
Your Prevent it section for director should not be difficult. After noticing the smoker's anti tongue upgrade (which is already hard-coded in according to the game). Displays text message "%s1 has neutralized the Smoker's Tongue Attack."
As for the director notification...I do not believe it has one, and I have yet to see it appear for me as "#L4D_" etc...
You would need to tell me where you found the list of upgrade names from that post, before I can make any statements, but to counter attack that statement, the original upgrades rarely used their correct names and or effects to begin with, so it is irrelevant what my version says. But once you provide me with the proof of where you found it, I would be more than happy to chronologically fix that list in my plugin. Remember in the first version "Raincoat" was the Boomer's vomit upgrade, well, it says PREVENT IT. My theory is, its some kind of "Prevent It" Spray of some sort, there was speculation its a spray the user can use on their body to prevent the boomer's vomit from sticking to them, yet it is automatically used.
Nicotine Patch, i can see why the name came up. You have to think, people don't have the skill to hack down the game code in the same way you attempted to get that list, so they name the upgrades to their best use name. Which I am very interested to know in order to backup this list of yours.
UNYIELDING being Morphine. I'm not sure what unyielding is suppose to help players understand from this, so I used Morphine is a better term, since it is related to medical reference. Again, I would need to see where you got those names from.
SILENCER is what I called it after a second run, people hated Suppressor, but I had it originally as SUPPRESSOR. So whatever the original names is, provide the proof, and my mod will be updated.
Slight of Hand was originally used by Perkmod, and adapted to my version later one for upgrades. Reloader could be referring to the automated device that gun slingers use to reload their magazine's faster. Google it, it exists, both names are fair, and have a meaning, but its preference to what you want to call it. If the game calls it Reloader, i'll be happy to change it.
The SCOPE appears to be takeing two indexes: 24 and 25. Prove me wrong, or prove me what the difference is, I have no clue. D:
#2, 3, 4, 5, 14, 22, 23, and 25
2 - N/A, I'm using that index for a custom upgrade. Helmet?
3 - N/A, I'm using that index for a custom upgrade. Arm Guards?
4 - N/A, I'm using that index for a custom upgrade. Shin Guards?
5 - N/A, I'm using that index for a custom upgrade. STRONG SHOVE?
My theory is, these are completely uncoded, and yes, they crash the game if you do a map transition.
14 - Morphine, or in your case, UNYIELDING. Ignores limping speed. Hope that helps.
22 - N/A, I'm using that index for a custom upgrade. PENETRATING_AMMO, possible makes all bullets hit 2 zombies, instead of 1 when firing. Same as Sniper? Maybe ill test it.
23 - /A, I'm using that index for a custom upgrade. KNOCKBACK_AMMO, after this theory, i think 21-23 are switchable, which means you can only use one.
25 - NIGHTVISION_SCOPE, the secondary scope. My guess is this was suppose to be for dark areas.
I use the numbers you listed that you say are not used by any servers, but theoretically, they seem to do nothing. This is why I chose to use them as Custom upgrades rather than leave them uselessly hanging.
My suggestion is we work together on this, I could use your input to complete and finish Survivor Upgrades Reloaded, and credit will go to you for even the slightest help. If you consider it you can send me a friend request
EDIT: To answer where I got 31; The storage of the upgrades is a netprop, the netprop can store up to a 4 byte value which contains 32 bits, each bit contains 1 upgrade node. Hope you are with me so far. If not, here is something to help you out. Grab your calculator on your Windows machine and make it "Programmer" version. Since you have to be a programmer to understand this method. You will notice the bottom row says 31 - 15 - 0. In computer language, indexes DO NOT start at 1, they start at 0. Well, left 4 dead uses the index 0-31 to value the upgrades, in turn, there are a TOTAL of 32, of which some do nothing at all, but that is besides the point.
So, if you COLLECT all upgrades theoretically the netprop will store a value of "4294967295" in integer, but if you use 1 Lsh x, to find your upgrade, you will see it as 1s and 0s. Hence, the game stores 32 upgrades, with an index MAX of 31. I hope that clarifies...that part...