hiho, is there a way to know wich prefabs work when added to dynamic monument list? For instance, junkpile works but supplydrop doesnt. Thanks
Dynamic monuments/prefabs list
Any entity should work, but I doubt making supply drops dynamic monuments is a good idea as they spawn in the sky. Not sure what you are going for exactly.
When adding something to a dynamic monument via /maspawn or other command, you have to aim at the entity (i.e., the suply drop) for the plugin to realize. If you want to spawn something near the dynamic monument, you can reposition the addon after it has been placed.
hahaha just testing some crazy logics
WhiteThunder
Any entity should work, but I doubt making supply drops dynamic monuments is a good idea as they spawn in the sky. Not sure what you are going for exactly.
When adding something to a dynamic monument via /maspawn or other command, you have to aim at the entity (i.e., the suply drop) for the plugin to realize. If you want to spawn something near the dynamic monument, you can reposition the addon after it has been placed.
yep loving telekinesis, wasnt using b4 shame on me thinking it was too complicated to use.... its a whole new level of adding stuff much more precision.
Well im trying to add npc spawn points to the supply_drop dynamic monument, but when i aim at it it wont recognize as a valid monument, probably i have to aim at the cargo plane, now i have to figure how to spawn a static cargo plante to be able to do that
Cargo plane will definitely not work for what you want, that's a different entity which spawns near the edge of the map.
I tested supply drop and noticed that when doing it at an actual monument, the addon spawns on the other side of the supply drop. That is because the plugin's raycast went through the supply drop. I have pushed a change to GitHub which adds the Vehicle_World layer to the raycast so that it will hit supply drops now.
It's also quite easy to edit the data file if you want to just directly add something. Just place your spawn point on some other entity, and then change the monument prefab to the supply drop prefab.
For your use case of spawning NPCs with a supply drop, I imagine you don't want the NPCs to spawn when the supply drop spawns in the air. It would probably be better to wait for the supply drop to land before spawning your addons. A simple plugin could be made which uses the OnSupplyDropLanded Oxide hook to spawn another entity on the supply drop which is a dynamic monument, or to use the Custom Monuments API to register the supply drop as a custom dynamic monument only at the time it lands. You might also find an issue where the NPCs despawn as soon as the supply drop is emptied, which could be an exploit for players to run up and grab the loot to make the NPCs go away.
yep went after it Muttley style, to see if i could take a hike while trying to spawn a test sg/sp... it isnt even a solid falled right through it
WhiteThunder
Cargo plane will definitely not work for what you want, that's a different entity which spawns near the edge of the map.
I tested supply drop and noticed that when doing it at an actual monument, the addon spawns on the other side of the supply drop. That is because the plugin's raycast went through the supply drop. I have pushed a change to GitHub which adds the Vehicle_World layer to the raycast so that it will hit supply drops now.
It's also quite easy to edit the data file if you want to just directly add something. Just place your spawn point on some other entity, and then change the monument prefab to the supply drop prefab.
For your use case of spawning NPCs with a supply drop, I imagine you don't want the NPCs to spawn when the supply drop spawns in the air. It would probably be better to wait for the supply drop to land before spawning your addons. A simple plugin could be made which uses the
OnSupplyDropLandedOxide hook to spawn another entity on the supply drop which is a dynamic monument, or to use the Custom Monuments API to register the supply drop as a custom dynamic monument only at the time it lands. You might also find an issue where the NPCs despawn as soon as the supply drop is emptied, which could be an exploit for players to run up and grab the loot to make the NPCs go away.
😍🤩🤟
Merged post
as u said, not that simple... managed to add some scientist spawns but they all get generic killed/removed as soon as they start moving.
Except for the turret/stationary ones like cargoship and ch47. These are kept, as they dont move.