• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Using the Junk Sledge Prefab in place of an SMG Turret Model

alffr0mm3lmac

New member
Basically I am making a melee electricity powered Auto Turret and I would like to use the Junk Sledge model.  I am seeing that the way it is spawned from an item is far different than the code for blocks.  Has anyone ever tried to do something like this or is it even possible?

Any help would be great!

Thanks,

Alf

 
Alright so I got the Junk Sledge Model to show up but now I have the problem where I cannot wire any power sources to/from the turret block itself :(  it looks so cute with the size it is too lol

I'm going to guess that since it isn't in the Entities/Traps/*** model path that is probably can't have an electrical hookup?  Hopefully that is incorrect but if not oh well

 
Last edited by a moderator:
Entities and blocks use different hitboxes, with different tags. On a block you need a tag with T_Mesh_B for it to be interacted with, but an entity does not need that tag. So chances are you wont be able to interact with it, as it doesn't have the hitbox with the correct tags.

 
Back
Top