Jump to content

Can't place turret down and ammo box??

Not a Bug 1.1.20

Hey, to enable ammo boxes you should disable infinite ammo in the config file. You would see a stash appear near the bottom of the turret.

Positions of turrets are predefined in the config file. You cannot place them on vehicles in-game. For example, a turret is spawned on a double flatbed car module, train wagons e.t.c.

Also, make sure to update to the latest version , since it has some performance fixes.

image.png.118bc188591feeaf3d4d4734ea6ef307.png

Edited by _senyaa

Share this comment


Link to comment

Yes, you could add it to any entity you want. But you would need to specify it in the config. This option is located at the end of the file.

Here is the example of how it can be done -

 "[Misc] Spawn positions on other entities (full prefab name)": {
    "<FULL ENTITY PREFAB NAME (e.g. assets/content/vehicles/trains/wagons/trainwagonb.entity.prefab)>": [
      {
        "Type": "<SPECIFY THE TYPE (AATurret or MachinegunTurret)>",
        // Below you have the relative position and rotation.
        "Position": {
          "x": -0.01828,
          "y": 0.16,
          "z": -1.6145
        },
        "Rotation": {
          "x": 0.0,
          "y": 180.0,
          "z": 0.0
        }
      },
      // you can specify multiple turrets, just copy the above code and separate it with a comma.
    ]
 }

 

 

Share this comment


Link to comment

The reason why the position on entities is hardcoded is due to some game limitations. For example, players can place these turrets, so they would clip into the vehicle, so it would be permanently stuck or they would be able to be mounted at an angle which could lead to numerous bugs such as players clipping into other prefabs, bases e.t.c. So I've decided to be on the safe side and only allow deploying them on static stuff like building blocks and leave entity placement to the admins.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.4k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • 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.