Changing Gorge size

GorgeloveGorgelove Join Date: 2013-07-03 Member: 185873Members, Reinforced - Supporter, Reinforced - Silver
Is it possible using the editor or one of the script files to change a Gorges size? Or is it a fixed model size?

Comments

  • JimWestJimWest Join Date: 2010-01-03 Member: 69865Members, Reinforced - Silver
    edited August 2013
    Add this to the gorge:
    self.scale = Vector(2,2,2)
    
    function Gorge:OnAdjustModelCoords(modelCoords)
    
        local coords = modelCoords
        if self.scale and self.scale:GetLength() ~= 0 then
            coords.xAxis = coords.xAxis * self.scale.x
            coords.yAxis = coords.yAxis * self.scale.y
            coords.zAxis = coords.zAxis * self.scale.z
        end
        return coords
        
    end
    
  • GorgeloveGorgelove Join Date: 2013-07-03 Member: 185873Members, Reinforced - Supporter, Reinforced - Silver
    Thanks I'll try that. I managed to play around with the editor and found the scale in that

    qmln.jpg
Sign In or Register to comment.