Creating dropship with cargo

Is there there anyway to spawn npc_combinedropship with it holding a cargo?

It turns out there is…
Here’s an example that people wouldn’t post same threats:


local NPC = {    Name = "Dropship W/Jeep",
                Class = "npc_combinedropship",
                KeyValues = { CrateType = -3 },
                Category = Category    }
list.Set( "NPC", "npc_dropwjeep", NPC )

Crate Types:

  • -3 - Jeep (No crate)
  • -2 - APC (No crate)
  • -1 - Strider (No crate)
  • 0 - Roller Hopper
  • 1 - Soldier Crate
  • 2 - None

Or, ofcourse, you could just use hammer.

I think you mean pods.

Bumping an old thread… i know…

Cargo can be any kind… like strider, jeep, rollermines and so on…

I think you can. I know in hammer there is a keyvalue for the dropship to spawn with cargo.

There are 2 ways… hammer, or just add an extra line in a regular spawn code :confused:

Here’s an example:

local NPC = { Name = “Dropship W/Strider”,
Class = “npc_combinedropship”,
KeyValues = { CrateType = -1, Invulnerable = 1 },
Category = Category }

list.Set( “NPC”, “npc_dropwiths”, NPC )