Raised This Month: $319 Target: $400
 79%   Almost there!

L4D2 Request this smx,sp


Post New Thread Reply   
 
Thread Tools Display Modes
yabi
Member
Join Date: Jun 2021
Location: Taiwan
Old 09-21-2021 , 08:48   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #11

Quote:
Originally Posted by HarryPotter View Post
可自己新增一個檔案
名稱叫l4d2_skill_detect.sp
用筆記本打開,複製貼上所有的code
筆記本視窗內Ctrl+F搜尋CPrintToChat
和CPrintToChatAll, 自行翻譯語句

然後Google學會怎麼編譯sp檔案
我sp每翻譯完轉成smx之後插件就無法顯示,
不知道為什麼
這個插件,要工作不工作的我真的很累



The plug-in cannot be displayed after every translation of my sp to smx.
do not know why
This plugin, Iím really tired if it doesnít work
yabi is offline
yabi
Member
Join Date: Jun 2021
Location: Taiwan
Old 09-21-2021 , 09:19   Re: L4D2 Request this smx,sp
Reply With Quote #12

Quote:
Originally Posted by Marttt View Post
Try adding this file to your sourcemod/scripting/include folder.

Then try compiling the plugin again. You should compile inside the scripting folder.

If you still don't understand try searching for some guide in the forum.

There is a video in Spanish buy maybe you can understand watching it.
https://steamcommunity.com/sharedfil...h&id=132800842
謝謝你我的sp檔案轉成smx了,
但是我面臨的問題
是我也試著翻譯但是我翻譯的很差
他不工作


Thank you, my sp file has been converted to smx,
But the problem I am facing
I also tried to translate but my translation is poor
He doesn't work
yabi is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-21-2021 , 11:15   Re: L4D2 Request this smx,sp
Reply With Quote #13

There is no translation file for this plugin.

You have to edit the "CPrintToChat" lines to what you want.
Also keep in mind that some things you shouldn't translate (like {green}, which is a tag to change the text color)
__________________
Marttt is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: TW
Old 09-21-2021 , 14:34   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #14

Quote:
Originally Posted by yabi View Post
我sp每翻譯完轉成smx之後插件就無法顯示,
不知道為什麼
這個插件,要工作不工作的我真的很累



The plug-in cannot be displayed after every translation of my sp to smx.
do not know why
This plugin, Iím really tired if it doesnít work
不翻譯之下
原版的源碼sp檔案你能不能編譯?
編譯完成後能不能正常顯示?

不如在這裡貼上來你翻譯後的源碼檔案
__________________
HarryPotter is offline
yabi
Member
Join Date: Jun 2021
Location: Taiwan
Old 09-21-2021 , 23:32   Re: L4D2 Request this smx,sp
Reply With Quote #15

The problem I am currently experiencing,

I have to reinstall the game to make this plug-in appear in the game smoothly. When I finish translating the sp file and overwrite the plug-in, the game does not work at all. Why is this


我目前遇到的問題
必須重新安裝遊戲才能讓這個插件順利出現在遊戲中。當我完成翻譯sp文件並覆蓋插件時,遊戲根本 無法運行。
為什麼會發生這種事情
yabi is offline
yabi
Member
Join Date: Jun 2021
Location: Taiwan
Old 09-21-2021 , 23:33   Re: L4D2 Request this smx,sp
Reply With Quote #16

Quote:
Originally Posted by Marttt View Post
There is no translation file for this plugin.

You have to edit the "CPrintToChat" lines to what you want.
Also keep in mind that some things you shouldn't translate (like {green}, which is a tag to change the text color)
這個方式我目前有試過翻譯成功過一次,
插件就不運行了

I have tried this method and translated successfully once.
The plug-in will not run
yabi is offline
yabi
Member
Join Date: Jun 2021
Location: Taiwan
Old 09-21-2021 , 23:35   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #17

Quote:
Originally Posted by HarryPotter View Post
不翻譯之下
原版的源碼sp檔案你能不能編譯?
編譯完成後能不能正常顯示?

不如在這裡貼上來你翻譯後的源碼檔案

My translation is bad, I need to retranslate
But I donít have time. I want to use the purchase method. After all, there are some problems with the plug-in.

我翻譯的很爛,我需要重新翻譯
但是我沒有時間我想用購買的方式 畢竟插件出了些問題
yabi is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: TW
Old 09-22-2021 , 02:50   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #18

Quote:
Originally Posted by yabi View Post
My translation is bad, I need to retranslate
But I don’t have time. I want to use the purchase method. After all, there are some problems with the plug-in.

我翻譯的很爛,我需要重新翻譯
但是我沒有時間我想用購買的方式 畢竟插件出了些問題
You didn't answer any of my questions...


1. "l4d2_skill_detect.sp" goes in "addons/sourcemod/scripting" folder.
2. "left4dhooks.inc" and "colors.inc" go in "addons/sourcemod/scripting/include" folder.
3. open "l4d2_skill_detect.sp", use notepad++ or notebook,
modify line 513, change to
PHP Code:
g_hCvarReport CreateConVar(           "sm_skill_report_enable" ,      "1""Whether to report in chat (see sm_skill_report_flags)."FCVAR_NONEtrue0.0true1.0 ); 
4. Compile "l4d2_skill_detect.sp" by running "compile.exe". Make sure no any error please.
5. Check "addons/sourcemod/scripting/compiled" folder for "l4d2_skill_detect.smx".
6. Move "l4d2_skill_detect.smx" to "addons/sourcemod/plugins" folder.
7. Restart Server, play a hunter, high-pounced survivor and you will see the report in chat.


How to translate?
line 2794 for example
1. open "l4d2_skill_detect.sp", use notepad++ or notebook,
modify line 2794
PHP Code:
CPrintToChatAll"{green}★★ {olive}%N {red}高撲 {olive}%N {default}({red}%i {default}傷害, 高度: {red}%i{default})"attacker,  victimRoundFloat(calculatedDamage), RoundFloat(height) ); 
2. Compile "l4d2_skill_detect.sp" by running "compile.exe". Make sure no any error please.
3. Move "l4d2_skill_detect.smx" to "addons/sourcemod/plugins" folder.
4. Restart Server, play a hunter, high-pounced survivor and you will see the chinese report in chat.
__________________

Last edited by HarryPotter; 09-22-2021 at 02:53.
HarryPotter is offline
yabi
Member
Join Date: Jun 2021
Location: Taiwan
Old 09-22-2021 , 08:21   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #19

Quote:
Originally Posted by HarryPotter View Post
You didn't answer any of my questions...


1. "l4d2_skill_detect.sp" goes in "addons/sourcemod/scripting" folder.
2. "left4dhooks.inc" and "colors.inc" go in "addons/sourcemod/scripting/include" folder.
3. open "l4d2_skill_detect.sp", use notepad++ or notebook,
modify line 513, change to
PHP Code:
g_hCvarReport CreateConVar(           "sm_skill_report_enable" ,      "1""Whether to report in chat (see sm_skill_report_flags)."FCVAR_NONEtrue0.0true1.0 ); 
4. Compile "l4d2_skill_detect.sp" by running "compile.exe". Make sure no any error please.
5. Check "addons/sourcemod/scripting/compiled" folder for "l4d2_skill_detect.smx".
6. Move "l4d2_skill_detect.smx" to "addons/sourcemod/plugins" folder.
7. Restart Server, play a hunter, high-pounced survivor and you will see the report in chat.


How to translate?
line 2794 for example
1. open "l4d2_skill_detect.sp", use notepad++ or notebook,
modify line 2794
PHP Code:
CPrintToChatAll"{green}★★ {olive}%N {red}高撲 {olive}%N {default}({red}%i {default}傷害, 高度: {red}%i{default})"attacker,  victimRoundFloat(calculatedDamage), RoundFloat(height) ); 
2. Compile "l4d2_skill_detect.sp" by running "compile.exe". Make sure no any error please.
3. Move "l4d2_skill_detect.smx" to "addons/sourcemod/plugins" folder.
4. Restart Server, play a hunter, high-pounced survivor and you will see the chinese report in chat.


Thank you, I will try the method you gave me to make changes

in addition,
I also have a version of the sp file. The translation is simplified Chinese. It translates well, but it doesn't work. I need someone to check and modify it. I'm willing to pay. Can Harry Potter help me?


謝謝你,我會試試看你給我的這個方式下去做修改

另外,
我還有一個sp檔案的版本,翻譯的是簡體中文,他翻譯的很好,但是也是不工作很需要有人幫我檢查 並修改,我願意付費,哈利波特可以幫幫幫我嗎?
yabi is offline
yabi
Member
Join Date: Jun 2021
Location: Taiwan
Old 09-24-2021 , 08:44   Re: L4D2 Request this plugin, Special reminder
Reply With Quote #20

Quote:
Originally Posted by HarryPotter View Post
You didn't answer any of my questions...


1. "l4d2_skill_detect.sp" goes in "addons/sourcemod/scripting" folder.
2. "left4dhooks.inc" and "colors.inc" go in "addons/sourcemod/scripting/include" folder.
3. open "l4d2_skill_detect.sp", use notepad++ or notebook,
modify line 513, change to
PHP Code:
g_hCvarReport CreateConVar(           "sm_skill_report_enable" ,      "1""Whether to report in chat (see sm_skill_report_flags)."FCVAR_NONEtrue0.0true1.0 ); 
4. Compile "l4d2_skill_detect.sp" by running "compile.exe". Make sure no any error please.
5. Check "addons/sourcemod/scripting/compiled" folder for "l4d2_skill_detect.smx".
6. Move "l4d2_skill_detect.smx" to "addons/sourcemod/plugins" folder.
7. Restart Server, play a hunter, high-pounced survivor and you will see the report in chat.


How to translate?
line 2794 for example
1. open "l4d2_skill_detect.sp", use notepad++ or notebook,
modify line 2794
PHP Code:
CPrintToChatAll"{green}★★ {olive}%N {red}高撲 {olive}%N {default}({red}%i {default}傷害, 高度: {red}%i{default})"attacker,  victimRoundFloat(calculatedDamage), RoundFloat(height) ); 
2. Compile "l4d2_skill_detect.sp" by running "compile.exe". Make sure no any error please.
3. Move "l4d2_skill_detect.smx" to "addons/sourcemod/plugins" folder.
4. Restart Server, play a hunter, high-pounced survivor and you will see the chinese report in chat.

g_hCvarReport = CreateConVar( "sm_skill_report_enable" , "1", "是否开启聊天框显示操作.", FCVAR_NOTIFY, true, 0.0, true, 1.0 );

g_hCvarAllowMelee = CreateConVar( "sm_skill_skeet_allowmelee", "1", "是否检测近战击杀飞扑 Hunter", FCVAR_NOTIFY, true, 0.0, true, 1.0 );
g_hCvarAllowSniper = CreateConVar( "sm_skill_skeet_allowsniper", "1", "是否检测狙击爆头击杀飞扑 Hunter", FCVAR_NOTIFY, true, 0.0, true, 1.0 );
g_hCvarAllowGLSkeet = CreateConVar( "sm_skill_skeet_allowgl", "1", "是否检测榴弹击杀飞扑 Hunter", FCVAR_NOTIFY, true, 0.0, true, 1.0 );
g_hCvarDrawCrownThresh = CreateConVar( "sm_skill_drawcrown_damage", "500", "需要造成多少伤害才视为引秒 Witch.", FCVAR_NOTIFY, true, 0.0, false );
g_hCvarSelfClearThresh = CreateConVar( "sm_skill_selfclear_damage", "200", "需要造成多少伤害才视为被拉自救 (Smoker 舌头自救)", FCVAR_NOTIFY, true, 0.0, false );
g_hCvarHunterDPThresh = CreateConVar( "sm_skill_hunterdp_height", "400", "需要多高才算是 Hunter 高扑.", FCVAR_NOTIFY, true, 0.0, false );
g_hCvarJockeyDPThresh = CreateConVar( "sm_skill_jockeydp_height", "300", "需要多高才算是 Jockey 空降.", FCVAR_NOTIFY, true, 0.0, false );
g_hCvarHideFakeDamage = CreateConVar( "sm_skill_hidefakedamage", "0", "是否隐藏溢出伤害", FCVAR_NOTIFY, true, 0.0, true, 1.0 );
g_hCvarDeathChargeHeight = CreateConVar("sm_skill_deathcharge_height","4 00", "需要多高才算是 Charger 冲锋秒杀.", FCVAR_NOTIFY, true, 0.0, false );
g_hCvarInstaTime = CreateConVar( "sm_skill_instaclear_time", "0.75", "在多少秒内救出被控队友才显示.", FCVAR_NOTIFY, true, 0.0, false );
g_hCvarBHopMinStreak = CreateConVar( "sm_skill_bhopstreak", "3", "连跳需要跳多少下才进行检测", FCVAR_NOTIFY, true, 0.0, false );
g_hCvarBHopMinInitSpeed = CreateConVar( "sm_skill_bhopinitspeed", "150", "连跳第一下需要达到多少速度才视为有效连跳.", FCVAR_NOTIFY, true, 0.0, false );
g_hCvarBHopContSpeed = CreateConVar( "sm_skill_bhopkeepspeed", "300", "连跳最小速度,小于这个不会视为连跳.", FCVAR_NOTIFY, true, 0.0, false );


I uploaded the file
Some of the contents in it are working and there has been no response

檔案我傳上來了
裡面的內容 有一些都作用了 一直沒有反應
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_skill_detect.sp - 9 views - 124.3 KB)

Last edited by yabi; 09-24-2021 at 08:45. Reason: ~!
yabi is offline
Reply


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

Forum Jump


All times are GMT -4. The time now is 08:47.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode