hello fellow builders
I am wondering if there is a possibility to add custom made weapons to sbep turrets.
If that is so, how?
and if this isnt possible or too complicated for a gmod noob:
can you make turrets which base can be parented?
thx all
the pope
(which is in berlin right now)
What do you mean - to script a custom weapon designed to attach to the turret SENTs?
If that is the case, you'd have to look in to whether the turrent sent handles the attachment or if the weapon sent handles the attachment, and go from there. Chances are you don't know a whole lot about Lua, so you would get better results directly contacting someone from the SBEP team about it.
As far as turrets with parented bases, totally possible - provided the turret itself (the moving piece) isn't physically constrained to the base in any way. Usually accomplished with Expression 2. There are code pieces laying around you could copy/paste and use those on the wiremod wiki.
thx sticky nade
What would be a contact to the sbep team and second i cant find a turret that matches.
when working with e2 i can let it float above a specific location. But it is to slow to react one the mo+vements of the ship
Actually, when properly calibrated to the weight and volume of the prop, applyForce can keep it pretty rock steady above the baseplate. You'll want to use applyTorque() for the rotation though, not only to avoid gimbal lock but because applyAngForce() is much, much messier (since you have to calibrate that for individual props as well).
As far as contact information, a quick google search tells me that a facepunch user by the name of Firgof Umbra (if you've played Star Ruler you might know that name) is one of the lead developers of SBEP. Try shooting him a PM.
Sorry, you need to Log In to post a reply to this thread.