• Sent to create children SENT spamming console with Error Vertex File
    0 replies, posted
I have a sent (dumpster)which is designed to spawn melons. The melons are spawning, but they are invisible. I know this because they are programmed to attack players, and they keep hitting me and killing me, but they are invisible. I have no lua errors, but in my game console I am getting [CODE]Error Vertex File for 'props_junk/watermelon01.mdl' checksum 1037217748 should be -552311702 [/CODE] What does this even mean? Why are the invisible? Below is the code for the dumpster that is spawning the evil melons [CODE] function ENT:Think() local location = self:GetPos() local ent = ents.Create( "jumper" ) if ( !IsValid( ent ) ) then return end ent:SetPos( location + Vector(0,0,200 ) ) ent:Spawn() ent:SetModel( "models/props_junk/watermelon01.mdl" ) local phys = ent:GetPhysicsObject() if ( !IsValid( phys ) ) then ent:Remove() return end local velocity = Vector(0,0,100 ) velocity = velocity * 5000 velocity = velocity + ( VectorRand() * 100 ) -- a random element phys:ApplyForceCenter( velocity ) self:NextThink( CurTime() + math.random(2,10)) -- Make sure that Think() is called. return true end[/CODE] Thanks in advance!
Sorry, you need to Log In to post a reply to this thread.