Jump to content

Question

Work in Progress 1.6

Stormo

Posted

Hello! First of all, I want to say that this is a really great map!

I have a question. Maybe I'm doing something wrong, but for some reason, BetterNpc NPCs are not spawning at the custom monuments.

I placed the NPC configuration files in the data/BetterNpc/Custom folder and enabled NPC spawning in the plugin settings, but they still don't appear at any of the custom monuments added to the map.

I also noticed something else: whenever I reload the BetterNpc plugin, the NPC spawning option somehow gets reset to false. I haven't been able to figure out why this happens or how to fix it.

Regular BetterNpc NPCs spawn across the map without any issues, so it seems that the problem only affects the custom monuments.

Could you please help me understand what might be causing this issue and how I can fix it?

  • Curator
Shemov

Posted

Hi! Glad you liked the map. At the time of the last map tests with bots, everything was fine. I can assume that you're taking files from the RU folder while the entire plugin is the EN version, and vice versa - make sure the selected plugin version matches the BetterNpc configs

  • Like 1
  • Curator
Shemov

Posted

Changed Status from Pending to Work in Progress

Stormo

Posted

20 minutes ago, Shemov said:

Hi! Glad you liked the map. At the time of the last map tests with bots, everything was fine. I can assume that you're taking files from the RU folder while the entire plugin is the EN version, and vice versa - make sure the selected plugin version matches the BetterNpc configs

I found the issue! BetterNpc has been updated, and the Russian version now has a different configuration format. The files in your Custom folder use a different structure, which is why the NPCs were not spawning correctly.

{
  "ID карты": 0.0,
  "Название маркера на карте (оставить пустым, если используется Позиция+Вращение)": "",
  "Позиция (X, Y, Z) (оставить пустым, если используется название маркера на карте)": "(913.6, 16.1, -771.4)",
  "Вращение (X, Y, Z) (оставить пустым, если используется название маркера на карте)": "(0.0, 0.0, 0.0)",
  "Размер монумента (X, Y, Z)": "(20, 20, 20)",
  "Удалить стандартных NPC? [true/false]": true,
  "Включен? [true/false]": true,
  "Наборы NPC": [
    {
      "Включен? [true/false]": true,
      "Минимальное кол-во днем": 5,
      "Максимальное кол-во днем": 7,
      "Минимальное кол-во ночью": 5,
      "Максимальное кол-во ночью": 7,
      "Минимальное время респавна после смерти [sec.]": 3600,
      "Максимальное время респавна после смерти [sec.]": 3600,
      "Название пресета NPC из плагина NpcSpawn": "Oilman-4d2319",
      "Награды за убийство NPC (ключ - название плагина, значение - сколько очков выдать)": {},
      "Тип спавна [Random/Custom]": "Custom",
      "Список точек спавна (X, Y, Z) (используется если тип спавна - Custom)": [
        "(-52.7, -9.7, 74.3)",
        "(-8.7, -9.6, 97.5)",
        "(17.4, -9.7, 53.2)",
        "(-6.9, -9.7, 38.8)",
        "(-30.9, -9.7, 17.1)",
        "(9.7, -9.7, -39.9)",
        "(24.3, -9.7, -76.1)",
        "(67.8, -9.7, -41.1)",
        "(71.2, -6.8, 3.4)",
        "(15.5, -9.7, -8.2)",
        "(33.7, -9.7, 22.7)",
        "(4.9, -0.1, -10.7)",
        "(-16.7, -0.1, -3.6)",
        "(-0.1, -0.1, 7.3)",
        "(46.4, -9.7, -11.8)",
        "(-27.6, -9.7, -53.8)",
        "(-31.3, -9.7, 55.9)"
      ]
    }
  ]
}

 

  • Curator
Shemov

Posted

I don't quite understand. Is the problem solved, or is there a problem in the map's configs?

Stormo

Posted

9 minutes ago, Shemov said:

I don't quite understand. Is the problem solved, or is there a problem in the map's configs?

Please take a look. The first file is the one currently included with your map in the ru folder. The second file is the original configuration from BetterNpc, which I used as a base. I modified it and tested it on my server, and everything started working correctly.
 

{
  "Enabled? [true/false]": true,
  "Monument size (X, Y, Z)": "(9, 9, 9)",
  "Remove default NPCs? [true/false]": true,
  "Map ID": 0.0,
  "Map marker name (leave empty if using Position+Rotation)": "",
  "Position (X, Y, Z) (leave empty if using Map marker name)": "(-479.32, 111.91, -1419.22)",
  "Rotation (X, Y, Z) (leave empty if using Map marker name)": "(0.0, 0.0, 0.0)",
  "Presets": [
    {
      "Enabled? [true/false]": true,
      "Minimum numbers - Day": 64,
      "Maximum numbers - Day": 73,
      "Minimum numbers - Night": 25,
      "Maximum numbers - Night": 40,
      "Minimum respawn time after death [sec.]": 600,
      "Maximum respawn time after death [sec.]": 600,
      "The name of the NPC preset from the NpcSpawn plugin": "MonumentBot1",
      "NPC Configuration (used if preset is empty)": null,
      "Rewards for killing the NPC (key - plugin name, value - points to give)": {},
      "Spawn Type [Random/Custom]": "Custom",
      "List of spawn positions (X, Y, Z) (used if Spawn Type - Custom)": [
        "(44.99, 0.00, 14.88)",
        "(47.72, 0.07, -7.01)",
        "(49.54, 31.62, -36.97)",
        "(1721.10, -23.44, 634.16)",
        "(1757.12, -23.99, 628.45)",
        "(1755.20, -24.08, 583.16)",
        "(1741.46, -23.83, 594.45)",
        "(1833.01, -26.45, 594.37)",
        "(1764.30, -30.58, 2547.17)",
        "(1783.54, -30.58, 2568.51)",
        "(1765.73, -30.57, 2543.90)",
        "(1803.88, -29.34, 2463.46)",
        "(1687.88, 24.39, 2353.32)",
        "(1142.99, -62.03, 2606.99)",
        "(1162.82, -62.20, 2607.59)",
        "(1195.92, -61.67, 2605.23)",
        "(1189.37, -61.67, 2600.55)",
        "(1234.80, -61.48, 2565.31)",
        "(1201.54, -62.13, 2545.28)",
        "(1140.78, -62.13, 2555.48)",
        "(1136.38, -62.03, 2558.35)",
        "(1148.70, -59.18, 2575.70)",
        "(1157.58, -59.18, 2597.28)",
        "(1195.58, -62.13, 2565.40)",
        "(813.33, -62.99, 2343.42)",
        "(835.05, -62.98, 2359.85)",
        "(817.50, -62.99, 2342.17)",
        "(834.43, -62.48, 2338.31)",
        "(593.54, -30.80, 2107.65)",
        "(-140.81, 26.08, 2023.67)",
        "(-107.33, 26.08, 1991.59)",
        "(-120.56, 26.20, 1939.17)",
        "(-182.50, 26.08, 1919.59)",
        "(-222.89, 26.08, 1941.04)",
        "(-241.75, 26.08, 1975.37)",
        "(-208.96, 26.08, 2021.72)",
        "(-217.45, 26.08, 2034.48)",
        "(-164.42, 10.97, 1956.82)",
        "(-185.94, 10.97, 2019.17)",
        "(-718.00, 1.59, 1932.84)",
        "(-712.84, 16.54, 1922.70)",
        "(-764.23, 1.58, 1895.02)",
        "(-766.36, 1.58, 1899.04)",
        "(-800.12, 1.59, 1934.97)",
        "(-813.34, 1.60, 1954.76)",
        "(-827.40, 1.58, 1970.75)",
        "(-800.86, 1.58, 2013.81)",
        "(-749.92, 1.58, 2034.52)",
        "(-713.23, 1.59, 1997.76)",
        "(-702.68, 1.58, 1954.98)",
        "(-756.56, -13.54, 1936.06)",
        "(-787.12, -13.52, 1980.61)",
        "(-726.97, -13.52, 1973.09)",
        "(559.48, 48.96, 1495.98)",
        "(521.79, 48.96, 1495.92)",
        "(482.31, 48.96, 1507.11)",
        "(468.46, 48.96, 1533.52)",
        "(468.79, 48.98, 1551.54)",
        "(483.88, 48.96, 1590.82)",
        "(507.23, 48.95, 1610.58)",
        "(568.48, 48.96, 1587.39)",
        "(574.70, 48.95, 1556.70)",
        "(524.92, 33.83, 1514.02)",
        "(481.93, 33.88, 1546.18)",
        "(487.77, 33.85, 1537.71)",
        "(543.84, 33.85, 1553.88)",
        "(509.75, 34.24, 1552.00)",
        "(-684.74, -52.67, 1348.22)",
        "(-721.12, -52.67, 1346.67)",
        "(-692.14, -52.66, 1326.46)",
        "(271.92, 3.81, 967.09)",
        "(282.08, 2.62, 954.82)",
        "(260.88, 2.90, 945.61)",
        "(269.97, 2.96, 995.28)"
      ],
      "Spawn at all custom positions? (only works if Spawn Type = Custom) [true/false]": false
    }
  ]
}

2
 

{
  "Включен? [true/false]": true,
  "Размер монумента (X, Y, Z)": "(9, 9, 9)",
  "Удалить стандартных NPC? [true/false]": true,
  "ID карты": 0.0,
  "Название маркера на карте (оставить пустым, если используется Позиция+Вращение)": "",
  "Позиция (X, Y, Z) (оставить пустым, если используется название маркера на карте)": "(-479.32, 111.91, -1419.22)",
  "Вращение (X, Y, Z) (оставить пустым, если используется название маркера на карте)": "(0.0, 0.0, 0.0)",
  "Наборы NPC": [
    {
      "Включен? [true/false]": true,
      "Минимальное кол-во днем": 64,
      "Максимальное кол-во днем": 73,
      "Минимальное кол-во ночью": 25,
      "Максимальное кол-во ночью": 40,
      "Минимальное время респавна после смерти [sec.]": 600,
      "Максимальное время респавна после смерти [sec.]": 600,
      "Название пресета NPC из плагина NpcSpawn": "MonumentBot1",
      "Конфигурация NPC (если пресет не указан)": null,
      "Награды за убийство NPC (ключ - название плагина, значение - сколько очков выдать)": {},
      "Тип спавна [Random/Custom]": "Custom",
      "Список точек спавна (X, Y, Z) (используется если тип спавна - Custom)": [
        "(44.99, 0.00, 14.88)",
        "(47.72, 0.07, -7.01)",
        "(49.54, 31.62, -36.97)",
        "(1721.10, -23.44, 634.16)",
        "(1757.12, -23.99, 628.45)",
        "(1755.20, -24.08, 583.16)",
        "(1741.46, -23.83, 594.45)",
        "(1833.01, -26.45, 594.37)",
        "(1764.30, -30.58, 2547.17)",
        "(1783.54, -30.58, 2568.51)",
        "(1765.73, -30.57, 2543.90)",
        "(1803.88, -29.34, 2463.46)",
        "(1687.88, 24.39, 2353.32)",
        "(1142.99, -62.03, 2606.99)",
        "(1162.82, -62.20, 2607.59)",
        "(1195.92, -61.67, 2605.23)",
        "(1189.37, -61.67, 2600.55)",
        "(1234.80, -61.48, 2565.31)",
        "(1201.54, -62.13, 2545.28)",
        "(1140.78, -62.13, 2555.48)",
        "(1136.38, -62.03, 2558.35)",
        "(1148.70, -59.18, 2575.70)",
        "(1157.58, -59.18, 2597.28)",
        "(1195.58, -62.13, 2565.40)",
        "(813.33, -62.99, 2343.42)",
        "(835.05, -62.98, 2359.85)",
        "(817.50, -62.99, 2342.17)",
        "(834.43, -62.48, 2338.31)",
        "(593.54, -30.80, 2107.65)",
        "(-140.81, 26.08, 2023.67)",
        "(-107.33, 26.08, 1991.59)",
        "(-120.56, 26.20, 1939.17)",
        "(-182.50, 26.08, 1919.59)",
        "(-222.89, 26.08, 1941.04)",
        "(-241.75, 26.08, 1975.37)",
        "(-208.96, 26.08, 2021.72)",
        "(-217.45, 26.08, 2034.48)",
        "(-164.42, 10.97, 1956.82)",
        "(-185.94, 10.97, 2019.17)",
        "(-718.00, 1.59, 1932.84)",
        "(-712.84, 16.54, 1922.70)",
        "(-764.23, 1.58, 1895.02)",
        "(-766.36, 1.58, 1899.04)",
        "(-800.12, 1.59, 1934.97)",
        "(-813.34, 1.60, 1954.76)",
        "(-827.40, 1.58, 1970.75)",
        "(-800.86, 1.58, 2013.81)",
        "(-749.92, 1.58, 2034.52)",
        "(-713.23, 1.59, 1997.76)",
        "(-702.68, 1.58, 1954.98)",
        "(-756.56, -13.54, 1936.06)",
        "(-787.12, -13.52, 1980.61)",
        "(-726.97, -13.52, 1973.09)",
        "(559.48, 48.96, 1495.98)",
        "(521.79, 48.96, 1495.92)",
        "(482.31, 48.96, 1507.11)",
        "(468.46, 48.96, 1533.52)",
        "(468.79, 48.98, 1551.54)",
        "(483.88, 48.96, 1590.82)",
        "(507.23, 48.95, 1610.58)",
        "(568.48, 48.96, 1587.39)",
        "(574.70, 48.95, 1556.70)",
        "(524.92, 33.83, 1514.02)",
        "(481.93, 33.88, 1546.18)",
        "(487.77, 33.85, 1537.71)",
        "(543.84, 33.85, 1553.88)",
        "(509.75, 34.24, 1552.00)",
        "(-684.74, -52.67, 1348.22)",
        "(-721.12, -52.67, 1346.67)",
        "(-692.14, -52.66, 1326.46)",
        "(271.92, 3.81, 967.09)",
        "(282.08, 2.62, 954.82)",
        "(260.88, 2.90, 945.61)",
        "(269.97, 2.96, 995.28)"
      ],
      "Спавнить во всех кастомных позициях? (работает только если тип спавна = Custom) [true/false]": false
    }
  ]
}

 

  • Curator
Shemov

Posted

Thank you

  • Like 1
Stormo

Posted

2 minutes ago, Shemov said:

Thank you

I have one more quick question. Some players are wondering where they can get helicopters on this map. Are helicopters available at specific locations, or do I need to add helicopter vendors myself using plugins?

  • Curator
Shemov

Posted

The vendor for heli is located on the outskirts of the combined outpost

  • Like 1

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.3m
Total downloads
Customers
12.5k
Customers served
Files Sold
177k
Total sales
Payments
3.9m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.