Build

Build, spawn, plant, upgrade, deploy anything the way that you want it.

Total Downloads: 21,176 - First Release: Nov 8, 2014 - Last Update: Jul 26, 2018

4.9/5, 50 likes
  1. is there a way to use this to place signs down. like the old days, would like to make a table. but it only places standing up. thank you
     
  2. HeyGuys, I found how to use the /buildgrade x all, it's a bit weird but to get it work you need to place something with left click and directly rightclick it.
     
  3. To the dev, I highly suggest adding a configuration option (or straight-away enforcing the following) to allow spawned objects to be saved 100% between server sessions. For example, if you spawn barrels and loot crates, they won't be saved if server stops, thus when the server restarts they will not be on the map anymore.

    The code that does it is really simple (I added one logical line, rest is the same):
    Code:
    private static void SpawnAnimal(string prefab, Vector3 pos, Quaternion angles)
    {
        var createdPrefab = GameManager.server.CreateEntity(prefab, pos, angles, true);
        BaseEntity entity = createdPrefab?.GetComponent<BaseEntity>();    if (entity != null)
        {
            entity.enableSaving = true;
            entity.Spawn();
        }
    }
    It's the SpawnAnimal function in your plugin, so I think this will be a nice QoL improvement (and I believe this can work for other similar functions you have)!
     
  4. "entity.enableSaving = true;" is also set by the "Spawn();" function, which calls the function "ServerInit()".
    So in result, this changes nothing.
     
  5. Can you please test it out and spawn a loot crate and barrel, save the server, restart and join again?

    I wrote my reply exactly because they weren't saving and I had to add this code in for them to actually be properly saved... It does change a lot for me personally I guess, and do note I'm talking about loot crates, barrels, trash piles, etc. (and not objects like trees, lamps, beds).

    Edit: Unloaded all mods, spawned the object afterwards, still the same, so no interference was causing this.

    Edit 2: enableSaving is not set within Spawn(), but as a defauly instance variable of BaseEntity. Clearly it gets set to false somewhere along the way when I spawn a barrel/loot crate and I explicitly printed the field in console before and after running Spawn().
     
    Last edited by a moderator: Sep 14, 2016
  6. where do i fing the /plant id's for the trees, ores and other things when i do /buildhelp resources it doesn't show the tree's or ores or anything like that
     
  7. Haven't thoroughly went through it, but >here is a paste< of the prefabs that 'PrefabSniffer' plugin output.
     
  8. Running this command, it will list them in your client console. Simply hit F1 afterwards.
    If the list is too long (in most cases true), then you can view them in your game clients log file:
    Code:
    %ProgramFiles(x86)%\Steam\SteamApps\common\Rust\RustClient_Data\output_log.txt
    paste this in your explorer bar...
     
  9. Hello,

    Can someone point me in the direction of an asset list to use with /plant <number>
    The rust.wikia doesnt appear to have this info ie - Pumpkin
    .. Looking to locate the id to use with /plant to plant a pumpkin?

    Thanks
     
  10. I posted a complete list link a reply up. Am on mobile and is difficult to link it again, but it's there.
     
    Last edited by a moderator: Sep 15, 2016
  11. Awesome, Thankyou!
     
  12. Fujikura, can you add the ability to spawn deployables on the players position via console comand ?
    For example, i typing something like that - build.plant (steamid) (ID)
    I have some ideas for making more fun on the server and would be appreciate for such ability :)
     
  13. Why me :)
    I'm not the owner of the plugin, but thanks anyway for that...
    I do mostly answer on many plugins, because i know them all very deep by using on my sold server about 100 plugins :p
    Regards, Fuji
     
  14. Oh, sorry :) I thought that you are a plugin developer
     
  15. No need for excuses^^ I do develop some others, but not this one
     
  16. Is there a way to edit/config NPC's (Name is always "Blaster :D") who where placed with this plugin?
     
  17. It appears that even if you dont long click you will get a mass spawn with any NPC. Or it thinks a double click is a mass spawn as well.
     
  18. Anyone know of a way to get all the Plant IDs like on the internet they do not all show up in console
     
  19. Prefabs (#00558034) at PasteBucket full list