Fixed comments, removed google drive files

This commit is contained in:
cardboardbread committed 2026-09-18 05:55:09 -04:00
1 parent 74162a93be
commit 36427c2a83
241 files changed
+1762 -1922

No files matched your search

+17 -17
View File
@@ -1,12 +1,12 @@
#****************************************************************************
#**
#** File : /cdimage/units/LAKARNOV/LAKARNOV_script.lua
#** Author(s): John Comes, David Tomandl, Jessica St. Croix, Gordon Duclos, Andres Mendez, Kami, FuegoTigre
#**
#** Summary : Karnov (3055) Transport Script
#**
#** Copyright © 2006 Gas Powered Games, Inc. All rights reserved.
#****************************************************************************
--#****************************************************************************
--#**
--#** File : /cdimage/units/LAKARNOV/LAKARNOV_script.lua
--#** Author(s): John Comes, David Tomandl, Jessica St. Croix, Gordon Duclos, Andres Mendez, Kami, FuegoTigre
--#**
--#** Summary : Karnov (3055) Transport Script
--#**
--#** Copyright � 2006 Gas Powered Games, Inc. All rights reserved.
--#****************************************************************************
local explosion = import('/lua/defaultexplosions.lua')
local util = import('/lua/utilities.lua')
@@ -32,14 +32,14 @@ LAKARNOV = Class(TAirUnit) {
TAirUnit.OnStopBeingBuilt(self,builder,layer)
self.EngineManipulators = {}
# create the engine thrust manipulators
--# create the engine thrust manipulators
for k, v in self.EngineRotateBones do
table.insert(self.EngineManipulators, CreateThrustController(self, "thruster", v))
end
# set up the thursting arcs for the engines
--# set up the thursting arcs for the engines
for keys,values in self.EngineManipulators do
# XMAX,XMIN,YMAX,YMIN,ZMAX,ZMIN, TURNMULT, TURNSPEED
--# XMAX,XMIN,YMAX,YMIN,ZMAX,ZMIN, TURNMULT, TURNSPEED
values:SetThrustingParam( 0.0, 0.0, -0.1, 0.1, -0.0, 0.0, 1.0, 0.25 )
end
@@ -50,15 +50,15 @@ LAKARNOV = Class(TAirUnit) {
self:ForkThread(self.ExpandThread)
end,
# When one of our attached units gets killed, detach it
--# When one of our attached units gets killed, detach it
OnAttachedKilled = function(self, attached)
attached:DetachFrom()
end,
OnKilled = function(self, instigator, type, overkillRatio)
TAirUnit.OnKilled(self, instigator, type, overkillRatio)
# TransportDetachAllUnits takes 1 bool parameter. If true, randomly destroys some of the transported
# units, otherwise successfully detaches all.
--# TransportDetachAllUnits takes 1 bool parameter. If true, randomly destroys some of the transported
--# units, otherwise successfully detaches all.
self:TransportDetachAllUnits(true)
end,
@@ -71,7 +71,7 @@ LAKARNOV = Class(TAirUnit) {
end
end,
# Override air destruction effects so we can do something custom here
--# Override air destruction effects so we can do something custom here
CreateUnitAirDestructionEffects = function( self, scale )
self:ForkThread(self.AirDestructionEffectsThread, self )
end,
@@ -86,7 +86,7 @@ LAKARNOV = Class(TAirUnit) {
OnCreate = function(self)
TAirUnit.OnCreate(self)
#CreateSlider(unit, bone, [goal_x, goal_y, goal_z, [speed,
--#CreateSlider(unit, bone, [goal_x, goal_y, goal_z, [speed,
self.Sliders = {}
self.Sliders[1] = CreateSlider(self, 'Char01')
self.Sliders[1]:SetGoal(0, 0, -35)