Jump to content

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


Recommended Posts

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

Link to comment
Share on other sites

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

Edited by alffr0mm3lmac (see edit history)
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...