Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- easylua.StartEntity("bt_turret")
- if SERVER then
- ENT.SeatPos = Vector(0, 0, 20)
- ENT.SeatAng = Angle(0, -90, 0)
- ENT.ForwardSpeed = 5
- function ENT:Initialize()
- self:SetModel("models/props_c17/FurnitureWashingmachine001a.mdl")
- self:PhysicsInit(SOLID_VPHYSICS)
- self:StartMotionController()
- end
- function ENT:Think()
- self:NextThink(0)
- end
- else
- local outfit = {
- {
- ["children"] = {
- [1] = {
- ["children"] = {
- [1] = {
- ["children"] = {
- [1] = {
- ["children"] = {
- [1] = {
- ["children"] = {
- [1] = {
- ["children"] = {
- [1] = {
- ["children"] = {
- [1] = {
- ["children"] = {
- [1] = {
- ["children"] = {
- },
- ["self"] = {
- ["MaxPitch"] = 122,
- ["UniqueID"] = "1634796593",
- ["Name"] = "no sound",
- ["Sound"] = "weapons/airboat/airboat_gun_loop2.wav",
- ["ClassName"] = "sound",
- ["SoundLevel"] = 180,
- ["Pitch"] = 0.3,
- ["Volume"] = 3,
- ["GlobalID"] = "2634312895",
- ["MinPitch"] = 111,
- },
- },
- },
- ["self"] = {
- ["Position"] = Vector(0.00020599365234375, 0.03515625, 10.42578125),
- ["UniqueID"] = "3056042281",
- ["Material"] = "models/combine_mine/combine_mine03",
- ["Size"] = 0.2,
- ["GlobalID"] = "599193616",
- ["Angles"] = Angle(0, -90, 0),
- ["ClassName"] = "model",
- ["Model"] = "models/props_junk/CinderBlock01a.mdl",
- ["EditorExpand"] = true,
- },
- },
- },
- ["self"] = {
- ["Position"] = Vector(0.0045394897460938, 0, 11.232421875),
- ["Name"] = "getinfaget",
- ["Material"] = "models/combine_mine/combine_mine03",
- ["Size"] = 0.725,
- ["UniqueID"] = "3022558742",
- ["ClassName"] = "model",
- ["GlobalID"] = "3965407520",
- ["Model"] = "models/props_lab/pipesystem02c.mdl",
- ["EditorExpand"] = true,
- },
- },
- },
- ["self"] = {
- ["UniqueID"] = "3011242502",
- ["GlobalID"] = "2064426072",
- ["Scale"] = Vector(1, 1, 3.2999999523163),
- ["EditorExpand"] = true,
- ["Angles"] = Angle(0, 179.96875, 179.96875),
- ["Size"] = 0.35,
- ["PositionOffset"] = Vector(0, 0, -0.40000000596046),
- ["ClassName"] = "model",
- ["Material"] = "models/combine_advisor/arm",
- ["Model"] = "models/props_lab/jar01a.mdl",
- ["Position"] = Vector(2.0758972167969, -0.009765625, 0),
- },
- },
- },
- ["self"] = {
- ["Position"] = Vector(5.4541015625, -0.93359375, -2.2611083984375),
- ["UniqueID"] = "3545807086",
- ["Material"] = "models/combine_advisor/arm",
- ["Size"] = 1.525,
- ["GlobalID"] = "663630350",
- ["Angles"] = Angle(90, 90, -90),
- ["ClassName"] = "model",
- ["Model"] = "models/Items/battery.mdl",
- ["EditorExpand"] = true,
- },
- },
- [2] = {
- ["children"] = {
- },
- ["self"] = {
- ["ClassName"] = "model",
- ["Angles"] = Angle(0, 0, 180),
- ["Position"] = Vector(0.2255859375, -1.46484375, 3.0320434570313),
- ["Size"] = 1.475,
- ["EditorExpand"] = true,
- ["UniqueID"] = "1352780721",
- ["Model"] = "models/Gibs/manhack_gib03.mdl",
- ["GlobalID"] = "1683558312",
- },
- },
- },
- ["self"] = {
- ["Model"] = "models/props_lab/rotato.mdl",
- ["ClassName"] = "model",
- ["Position"] = Vector(-1.736328125, -5.0283203125, 19.561279296875),
- ["Size"] = 1.5,
- ["EditorExpand"] = true,
- ["UniqueID"] = "2258319664",
- ["Name"] = "pitch",
- ["GlobalID"] = "3257453559",
- ["Name"] = "LOL",
- },
- },
- [2] = {
- ["children"] = {
- },
- ["self"] = {
- ["Angles"] = Angle(0, -180, 0),
- ["Position"] = Vector(0.208984375, 7.345703125, 13.675720214844),
- ["ClassName"] = "model",
- ["Size"] = 0.55,
- ["UniqueID"] = "3644771370",
- ["Model"] = "models/Items/BoxMRounds.mdl",
- ["GlobalID"] = "3000251333",
- },
- },
- },
- ["self"] = {
- ["Model"] = "models/props_combine/combine_binocular01.mdl",
- ["AngleOffset"] = Angle(0.96875, 0, 0),
- ["Position"] = Vector(0, 0, 21.453125),
- ["EditorExpand"] = true,
- ["UniqueID"] = "1372556600",
- ["GlobalID"] = "4072409744",
- ["Name"] = "yaw",
- ["ClassName"] = "model",
- },
- },
- },
- ["self"] = {
- ["GlobalID"] = "568219671",
- ["UniqueID"] = "820610735",
- ["ClassName"] = "model",
- ["Size"] = 0.65,
- ["EditorExpand"] = true,
- ["Model"] = "models/props_combine/combine_mortar01b.mdl",
- ["Position"] = Vector(0, 0, -21.62841796875),
- },
- },
- },
- ["self"] = {
- ["ClassName"] = "group",
- ["EditorExpand"] = true,
- ["GlobalID"] = "1106860931",
- ["UniqueID"] = "1067486361",
- ["Name"] = "my outfit",
- ["Description"] = "add parts to me!",
- },
- },
- }
- pac.SetupENT(ENT, self)
- ENT.dunno = NULL
- function ENT:Initialize()
- self:AttachPACPart(outfit)
- self.dunno = self:FindPACPart(outfit, "LOL")
- end
- function ENT:OnRemove()
- self:RemovePACPart(outfit)
- end
- function ENT:Think()
- if self.dunno:IsValid() then
- self.dunno:SetAngles(Angle(RealTime(), RealTime(), RealTime())*100)
- end
- end
- function ENT:Draw()
- --self:DrawModel()
- end
- end
- easylua.EndEntity(true, true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement