Jump to content

Cargo Ship Improvements?

Pending 2.3.1

jestermgee
jestermgee

Posted

So I have things working and the Cargo Ship I hoped would be more difficult now but find it's probably easier as it stands. The stationary NPC replacements no longer shoot at a sniper from harbor even if I increase their listen range. Also, I find often no spawns of NPCs in the cargo hold areas. Workaround currently is to disable the stationary spawns and allow the default NPCs to also spawn so there are just more roaming ones but this is not difficult still, just requires a lot of ammo. 

I would like to generate a few new spawn points on the ship notably one at the rear where people will usually fly a mini to land. I'd also like to add some in the bottom area of the cargo hold. I cannot figure out how to generate a new spawn coordinate local to the current monument. I have tried to generate a spawn in a test file using /SpawnPointPos Test and this creates a custom file with a spawn location however this location appears to be a global position and not local to the current monument/event I am standing in. 

Is there a way to set additional spawn locations for cargo or suggestions to make it more challenging?

 

jestermgee

Posted

I will add that I have upgraded the NPCs to Heavy Scientists with a minigun and that does add some challenge but really would like to find out how to get a spawn point on the rear of the ship and more in the hold since many will bypass the deck and just hit the hold where there are just 2 lazy scientists

aimacak

Posted

Hello, I’ve sent a friend request to your nickname on Discord, can you accept it? @shrpndfcsd

aimacak

Posted

It doesn't matter.
Cargoship differs from regular spawn points because it has specific nuances related to the nav mesh, and it’s also constantly moving. For these reasons, if you’re using a preset that isn’t a stationary NPC, I advise you not to try to specify coordinates there — the coordinates will be searched for automatically. You can change the number of NPCs you want, as I did in my example for the first preset.

I’ve also added a fourth NPC preset for you, in which I specified the coordinates I liked. I found them using RustEdit.
You need to place cargoshiptest at the zero coordinates, and then use objects, for example, an Npc spawner, to place the NPC wherever you like. After that, you need to transfer the local coordinates to BetterNpc.
But, as I mentioned above, there are some nuances with the navmesh in Cargo, so in the preset I’ve added, you can only use stationary NPCs.
 

{
  "Enabled? [true/false]": true,
  "Remove default NPCs? [true/false]": true,
  "Respawn NPCs when the cargo ship docks at the harbor? [true/false]": true,
  "Respawn NPCs when new crates spawn? [true/false]": false,
  "Presets": [
    {
      "Enabled? [true/false]": true,
      "Minimum numbers - Day": 50,
      "Maximum numbers - Day": 50,
      "Minimum numbers - Night": 50,
      "Maximum numbers - Night": 50,
      "The name of the NPC preset from the NpcSpawn plugin": "Scientist-Cargo-Moving",
      "NPC Configuration (used if preset is empty)": null,
      "Rewards for killing the NPC (key - plugin name, value - points to give)": {},
      "List of spawn positions (X, Y, Z) (used if Spawn Type - Custom)": []
    },
    {
      "Enabled? [true/false]": true,
      "Minimum numbers - Day": 2,
      "Maximum numbers - Day": 2,
      "Minimum numbers - Night": 2,
      "Maximum numbers - Night": 2,
      "The name of the NPC preset from the NpcSpawn plugin": "Scientist-Cargo-Stationary-1",
      "NPC Configuration (used if preset is empty)": null,
      "Rewards for killing the NPC (key - plugin name, value - points to give)": {},
      "List of spawn positions (X, Y, Z) (used if Spawn Type - Custom)": [
        "(2.80, 24.69, -40.16)",
        "(1.49, 18.50, -38.79)"
      ]
    },
    {
      "Enabled? [true/false]": true,
      "Minimum numbers - Day": 3,
      "Maximum numbers - Day": 3,
      "Minimum numbers - Night": 3,
      "Maximum numbers - Night": 3,
      "The name of the NPC preset from the NpcSpawn plugin": "Scientist-Cargo-Stationary-2",
      "NPC Configuration (used if preset is empty)": null,
      "Rewards for killing the NPC (key - plugin name, value - points to give)": {},
      "List of spawn positions (X, Y, Z) (used if Spawn Type - Custom)": [
        "(-0.18, 23.26, 67.59)",
        "(10.69, 27.61, -38.89)",
        "(-10.59, 27.61, -38.83)"
      ]
    },
    {
      "Enabled? [true/false]": true,
      "Minimum numbers - Day": 21,
      "Maximum numbers - Day": 21,
      "Minimum numbers - Night": 21,
      "Maximum numbers - Night": 21,
      "The name of the NPC preset from the NpcSpawn plugin": "Scientist-Cargo-Stationary-1",
      "NPC Configuration (used if preset is empty)": null,
      "Rewards for killing the NPC (key - plugin name, value - points to give)": {},
      "List of spawn positions (X, Y, Z) (used if Spawn Type - Custom)": [
        "(6.0, 9.5, -57.0)",
        "(-6.0, 9.5, -57.0)",
        "(7.5, 12.5, -49.5)",
        "(-7.5, 12.5, -49.5)",
        "(0.0, 15.5, -49.5)",
        "(9.0, 24.5, -45.0)",
        "(-9.0, 24.5, -45.0)",
        "(9.0, 3.5, -42.0)",
        "(-9.0, 3.5, -42.0)",
        "(6.0, 0.5, -27.0)",
        "(-6.0, 0.5, -27.0)",
        "(6.0, 0.5, -12.0)",
        "(-6.0, 0.5, -12.0)",
        "(6.0, 0.5, 4.5)",
        "(-6.0, 0.5, 4.5)",
        "(0.0, 0.5, 13.5)",
        "(6.0, 0.5, 19.5)",
        "(-6.0, 0.5, 19.5)",
        "(6.0, 0.5, 39.0)",
        "(-6.0, 0.5, 39.0)",
        "(0.0, 3.5, 52.5)"
      ]
    }
  ]
}

 

jestermgee

Posted

Thanks for the info. I figured Cargo was a little more complex than standard monuments due to the fact there are 2 variants so the top deck can differ and it's a moving monument. 

Not up to speed using RustEdit or how to add local spawn points so will have to dig into that a bit. The extra template you provided is probably enough for me to make something work for the moment, quick test adding an extra heavy NPC and they appear in decent locations so I think I will use the default NPCs as normal with some extra roaming ones from the template mixed with these heavy stationary gunners just to make it a bit more of a challenge. Gives me something to work with at least. 

aimacak

Posted

I’m not really an expert on it either, but it’s all quite simple:
create an empty map
prefab list -> cargoshiptest, drag it onto the map, change the coordinates in the window that appears to 0,0,0,
prefab lsit -> Npc Spawner or something similar -> move it to the spot you like, and change Global to Local in the window

and now you have the coordinates for BetterNpc 🙂

Let me know when we can close the ticket, I’m not rushing you, just for mutual understanding 😉

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.1m
Total downloads
Customers
12.1k
Customers served
Files Sold
171.7k
Total sales
Payments
3.7m
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.