Raised This Month: $32 Target: $400
 8% 

[NMRiH]Multilingual Objective Beta 1.41 (2015-06-09)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bhunji
AlliedModders Donor
Join Date: Aug 2005
Plugin ID:
4665
Plugin Version:
1.41
Plugin Category:
Gameplay
Plugin Game:
No More Room in Hell
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    NMRiH Objective Multilingual
    Old 06-08-2015 , 09:27   [NMRiH]Multilingual Objective Beta 1.41 (2015-06-09)
    Reply With Quote #1

    Chinese version over here : NMRiH 中文任務提示 Chinese Objective

    Title
    • Multilingual Objective Beta
    Description : make your server Objective Multilingual
    • Show objective message by your own language
    • Auto get original code and message from map nmo file
    • Supported C button
    • game_text message changee

    Requirements:
    • SMLIB with nmrih support

    How to use: Multilingual file : configs\ObjectiveT\mapname.ini
    PHP Code:
    "objective"
    {
        
    "zho" //this is language code
        
    {
                      
    "Code Name"         "Code Message"
        
    }
        
    "Original" //auto generate by plugin from reading nmo and game_text entity
        
    {
                      
    "Original Code Name"         "Original Code Message"
        
    }

    Plugin Variables:
    PHP Code:
    obj_showserver 1
    //Show Objective on console

    obj_language zho
    //Server Objective Language 
    Command
    PHP Code:
    show objective message Press your C button
    Show the past objective 
    list : objs 
    Command(Only for admin root)
    PHP Code:
    nmrih_obj 
    //show all objective message list 
    • V1.20 supported to C button
    • V1.35 auto get name code , separate map file
    • V1.36 game_text can be supported now
    • V1.38 game_text with multi line
    • V1.39 fixed the get original code error , random color left up corner message
    • V1.40 new cvars and command
    • V1.41 fixed the get original code error , remove unnecessary code

    Current Supported Language :
    • [ZHO]Traditional Chinese


    sorry for my bad english.....
    first start develop date:2013-11-19
    Attached Files
    File Type: zip SDC_Multilingual_Obj.zip (94.7 KB, 557 views)
    __________________
    My plugins
    Sorry for my bad English.

    Last edited by bhunji; 06-09-2015 at 02:10.
    bhunji is offline
    yomox9
    Member
    Join Date: Jan 2014
    Location: jp
    Old 06-14-2015 , 21:23   Re: [NMRiH]Multilingual Objective Beta 1.41 (2015-06-09)
    Reply With Quote #2

    Hello.

    BUG?
    ・I change CVAR obj_language zho to jp. But plugin not use jp{} section. ( So I change script("zho" to "jp") and compiled )
    ・Plugin change GameText message in mapname.ini's original{} section. It's same jp{} section!(wrong)
    ・I add jp{}section to SDC.Objective.phrases.txt. But Plugin often display english("en") message.

    My request
    ・If client(player) chnage cl_language to jp, plugin use jp{}section. So each client can see each client language.

    Japanese ini file is not complete. So I send it later.
    Now many japanese player can see message with mother tongue.
    This plugin is very good! Thnak you.

    Last edited by yomox9; 06-14-2015 at 21:28.
    yomox9 is offline
    yomox9
    Member
    Join Date: Jan 2014
    Location: jp
    Old 06-05-2016 , 03:01   Re: [NMRiH]Multilingual Objective Beta 1.41 (2015-06-09)
    Reply With Quote #3

    I made ini files for Japanese.
    Attached Files
    File Type: zip ObjectiveT_20160605_jp.zip (85.6 KB, 204 views)
    yomox9 is offline
    phoenix0001
    Senior Member
    Join Date: Apr 2010
    Location: China
    Old 12-09-2019 , 09:14   Re: [NMRiH]Multilingual Objective Beta 1.41 (2015-06-09)
    Reply With Quote #4

    After upgrading to 1.11, the data recorded by the plugin is confused
    The previous map data will be recorded in the next map data
    Even several map data are recorded together
    __________________
    I like this BBS sharing of spirit

    I come from China, my English is poor

    Last edited by phoenix0001; 02-04-2021 at 00:38.
    phoenix0001 is offline
    LErp
    New Member
    Join Date: Aug 2021
    Old 08-13-2021 , 18:58   Re: [NMRiH]Multilingual Objective Beta 1.41 (2015-06-09)
    Reply With Quote #5

    I faced error like this:
    Code:
    L 08/14/2021 - 02:43:03: [SM] Exception reported: Language phrase "Mission" not found (arg 5)
    L 08/14/2021 - 02:43:03: [SM] Blaming: SDC_Multilingual_Obj.smx
    L 08/14/2021 - 02:43:03: [SM] Call stack trace:
    L 08/14/2021 - 02:43:03: [SM]   [0] Format
    L 08/14/2021 - 02:43:03: [SM]   [1] Line 493, E:\No More Room in Hell Dedicated Server\nmrih\addons\sourcemod\scripting\SDC_Multilingual_Obj.sp::PrintHintTextAll
    L 08/14/2021 - 02:43:03: [SM]   [2] Line 405, E:\No More Room in Hell Dedicated Server\nmrih\addons\sourcemod\scripting\SDC_Multilingual_Obj.sp::ShowCustomObjectiveTextCommon
    L 08/14/2021 - 02:43:03: [SM]   [3] Line 427, E:\No More Room in Hell Dedicated Server\nmrih\addons\sourcemod\scripting\SDC_Multilingual_Obj.sp::ShowCustomObjectiveText
    L 08/14/2021 - 02:43:03: [SM]   [4] Line 280, E:\No More Room in Hell Dedicated Server\nmrih\addons\sourcemod\scripting\SDC_Multilingual_Obj.sp::state_change
    This happens every time you press C, and also incorrectly displays tasks, for example: at the beginning of the round, the task of the 5th action is shown. It is impossible to change the plugin language from the client side only if the plugin is compiled with the required language. How to be?
    LErp is offline
    Reply



    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 13:44.


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