Jump to content

Example

Not a Bug 1.0.15

Thales
Thales

Posted

Hello, I'm trying to spawn an electricity pole, but I can't because I get the error that the prefab is not an entity. Is there any way to solve this? This is the prefab: assets/bundled/prefabs/autospawn/decor/powerline-small/powerline_pole_a.prefab

Tks in advance.

Nikedemos

Posted

Hi there!

Indeed, `powerline_pole_a` it is not a spawnable entity in vanilla Rust. Custom Entities does not have the power to make any prefab existing in-game spawnable. It can only register new spawnable prefab names with custom server-side logic - but only those based on other, already existing spawnable entities. I highly encourage you to read the product page to get the full idea of its capabilities!

As such, Custom Entities is a framework/dependency meant for other plugin developers, and NOT end users (server owners, admins). On its own, it doesn't do anything - only combined with dependant plugins. But even such a dependant plugin would not be able to bypass the limitations of normal Rust. Entities are special prefabs that have networking enabled both in the server and the client, so they can be spawned/moved/killed at any time. Non-entity prefabs, however, must be pre-placed on the map where they stay forever as permanent fixtures.

Hope this clears any misunderstandings!

Nikedemos

Posted

Changed Status from Pending to Not a Bug

1.8m

Downloads

Total number of downloads.

8.2k

Customers

Total customers served.

123.5k

Files Sold

Total number of files sold.

2.5m

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.