Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Опубликовано:

Target: I want to edit some gsc script.

 

In regular mw2 I look through patch_mp and if There are no required script, I am going to extract it from common_mp.

 

But when I want to do same action with script in 4d1, I'm stucking. There are common_mp, patch_mp, patch_alter_mp and m2demo. For example, I want to edit _killstreaks.gsc. I notice this script in common_mp, patch_mp, patch_alter_mp and m2demo. Then I made an empty mod and loaded the game. I saw in console:

[      2590] '+set party_maxplayers 18 +set net_port 29000 +exec server_mod.cfg +map_rotate -dedicated -console +set fs_game "mods/test_mod"'
[      2594] Current language: english
[      2598] Current search path:
[      2602] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\mods\test_mod\test_mod.iwd (5 files)
[      2605] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2/mods/test_mod
[      2609] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2/m2demo
[      2613] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_china_00.iwd (1350 files)
[      2616] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_23.iwd (425 files)
[      2619] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_22.iwd (430 files)
[      2623] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_21.iwd (46 files)
[      2627] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_20.iwd (86 files)
[      2640] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_19.iwd (57 files)
[      2645] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_18.iwd (61 files)
[      2649] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_17.iwd (125 files)
[      2653] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_16.iwd (171 files)
[      2658] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_15.iwd (198 files)
[      2661] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_14.iwd (406 files)
[      2665] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_13.iwd (63 files)
[      2670] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_12.iwd (31 files)
[      2674] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_11.iwd (297 files)
[      2679] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_10.iwd (556 files)
[      2683] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_09.iwd (716 files)
[      2687] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_08.iwd (886 files)
[      2691] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_07.iwd (782 files)
[      2696] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_06.iwd (481 files)
[      2699] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_05.iwd (952 files)
[      2703] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_04.iwd (1005 files)
[      2706] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_03.iwd (1437 files)
[      2711] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_02.iwd (1391 files)
[      2715] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_01.iwd (1272 files)
[      2719] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2\main\iw_00.iwd (1428 files)
[      2722] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2/main
[      2732] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2/main_shared
[      2736] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2/players
[      2739] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2/raw
[      2743] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2/raw_shared
[      2746] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2/devraw
[      2750] D:\4d1_mw2\steamapps\common\Call of Duty Modern Warfare 2/devraw_shared
[      3258] Loading fastfile code_post_gfx_mp
[      3262] Loading fastfile localized_code_post_gfx_mp
[      3265] Loading fastfile patch_mp
[      3268] Loading fastfile patch_alter_mp
[      3589] Loading fastfile localized_ui_mp
[      3592] Loading fastfile ui_mp
[      3595] Loading fastfile common_mp
[      3599] Loading fastfile localized_common_mp
[      3602] Loading fastfile dlc1_ui_mp
[      3605] Loading fastfile dlc2_ui_mp

 

Am I right if I'll say that _killstreaks.gsc is looked for in test_mod.iwd. Then, if it not there, script is looked for in test_mod folder. Then, if it not there again, script is looked for in m2demo folder. And further down "the list". So last place for looking the script is dlc2_ui_mp?

 

But I misstaked at saying "lookng for". I mean, a couple of scripts loaded from mod.iwd (e.g it contains modified script1337.gsc), then from mod folder, then from m2demo (and if there is original script1337.gsc, it will be ignored because the game loaded this script before), etc.

 

Am I right? I just don't want to miss something and edit OLD script which isn't even used in game.

 

 

Sorry for English. I'm poor Russian from Siberia. My personal friendly bear don't want to explain me gsc things. :(

 

Опубликовано:
  • Автор
I'm a bit too tired at the moment to understand the question; but yes gsc files are loaded from the mods folder if the mod is loaded.

Yeah, I know if I'll use a mod, scripts inside it will replace original scripts. And my question is WHICH EXACTLY scripts will be replaced? From patch_alter_mp or from patch_mp or maybe from m2demo? Anyway, thanks for your quick reply. :)

Опубликовано:

Scripts in m2demo kinda 'overwrite' the ones in the .ff's, i'd say.

So yeah, if you aren't using any mod, the .gsc files from m2demo will be used.

 

Am I right? I just don't want to miss something and edit OLD script which isn't even used in game.

In case i got your remarks corretly, yes you're right, i think.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.