Weapon Racks spawned via Copy Paste (/mapaste) sometimes come without installed weapons. Even if it spawn correct - players can take weapon.
Weapon Racks - don't allow players to pickup installet weaponsSolved
Currently MA doesn't do much to the pasted entities, it basically just spawns them in, unlike the entities spawned via maspawn which have various properties adjusted.
If you don't want to allow players to interact with weapon racks that are part of a paste, since CopyPaste already supports flags, you should be able to simply edit the copy paste data file to add the Busy flag to the weapon rack entity. It will look something like the following. This example is just some random entity I got from a paste, I just replaced "flags": {} with "flags": {"Busy": true},. You will need to find the entry for your weapon rack entity.
{
"flags": {
"Busy": true
},
"grade": 3,
"ownerid": 76561############,
"pos": {
"x": "-1.644048",
"y": "3.319378",
"z": "4.596509"
},
"prefabname": "assets/prefabs/building core/floor/floor.prefab",
"rot": {
"x": "1.407793E-07",
"y": "-0.001908183",
"z": "9.275185E-08"
},
"skinid": 0
},If your weapon rack entity already has some flags, you can simply append the flag like the following.
"flags": {
"On": true,
"Reserved1": true,
"Busy": true
}, Thanks 👍
Locked automatically