Skip to content

Commit

Permalink
Shrink wildkat
Browse files Browse the repository at this point in the history
Shrink Koyote
Shrink Bomber
Convert aegis to a short range high damage beamlaser
Drastically reduce the cruising altitudes of aircraft
  • Loading branch information
ForbodingAngel committed Dec 11, 2018
1 parent 48066fa commit 8b75f2b
Show file tree
Hide file tree
Showing 25 changed files with 49 additions and 62 deletions.
Binary file added Objects3D/ebomber2-small.s3o
Binary file not shown.
Binary file added Objects3D/efighter2-small.s3o
Binary file not shown.
Binary file added Objects3D/efighter3-small.s3o
Binary file not shown.
Binary file added Objects3D/egunship3-small.s3o
Binary file not shown.
21 changes: 1 addition & 20 deletions Scripts/elaserbattery.bos
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

piece base, beams, firepoint1, lilypad; // these are the pieces of the model

static-var CanFire, shooting_num, terraintype;
static-var shooting_num, terraintype;

// Signal definitions
#define SIG_AIM 2 // this is a aim define <- o_O This is a kill flag
Expand Down Expand Up @@ -62,26 +62,11 @@ terraintype = setSFXoccupy_argument;
}


cannotfire()
{
while( TRUE )
{
if (!CanFire)
{
emit-sfx 1025 from firepoint1;
}
sleep 1500;
}
}

Create() // tells it what to do on creation
{
CanFire=TRUE;
shooting_num=1;
while( get BUILD_PERCENT_LEFT )
sleep 400;
start-script SmokeUnit();
start-script cannotfire();
}

RestoreAfterDelay() // restore function to turn the turret and so forth back to start
Expand All @@ -92,15 +77,11 @@ AimWeapon1(heading, pitch) // aiming animation and firing authorization
{
signal SIG_AIM;
set-signal-mask SIG_AIM;
while(!CanFire)
sleep 200;
start-script RestoreAfterDelay();
return (1);
}

FireWeapon1() // what do while firing, fires 1 barrel then the next , and resets
{
emit-sfx GDMARTY from firepoint1;
}

AimFromWeapon1(piecenum) // where it aims the weapon from
Expand Down
Binary file modified Scripts/elaserbattery.cob
Binary file not shown.
2 changes: 1 addition & 1 deletion Units-Configs-Basedefs/basedefs/air/eairemp_basedef.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ unitDef = {
canstop = "1",
category = "LIGHT VTOL",
collide = false,
cruiseAlt = 500,
cruiseAlt = 160,
description = [[EMP Attack Craft]],
energyMake = 0,
energyStorage = 0,
Expand Down
6 changes: 3 additions & 3 deletions Units-Configs-Basedefs/basedefs/air/ebomber_basedef.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ unitDef = {
canstop = true,
category = "ARMORED VTOL",
collide = true,
cruiseAlt = 300,
cruiseAlt = 120,
description = [[Unit Type: Bomber • Uses +]] .. supply .. [[ Supply]],
energyMake = 0,
energyStorage = 0,
energyUse = 0,
explodeAs = "largeExplosionGeneric",
footprintX = 7,
footprintZ = 7,
footprintX = 4,
footprintZ = 4,
floater = true,
hoverAttack = false,
iconType = "air_bomb",
Expand Down
6 changes: 3 additions & 3 deletions Units-Configs-Basedefs/basedefs/air/efighter_basedef.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ unitDef = {
canstop = true,
category = "LIGHT VTOL",
collide = true,
cruiseAlt = 350,
cruiseAlt = 140,
description = [[Light Gunship • Uses +]] .. supply .. [[ Supply]],
energyMake = 0,
energyStorage = 0,
energyUse = 0,
explodeAs = "mediumExplosionGenericWhite",
floater = true,
footprintX = 5,
footprintZ = 5,
footprintX = 3,
footprintZ = 3,
hoverAttack = false,
iconType = "air_lit",
idleAutoHeal = .5,
Expand Down
6 changes: 3 additions & 3 deletions Units-Configs-Basedefs/basedefs/air/egunship2_basedef.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ unitDef = {
canstop = true,
category = "ARMORED VTOL",
collide = true,
cruiseAlt = 450,
cruiseAlt = 125,
description = [[Anti-Armor Gunship • Uses +]] .. supply .. [[ Supply]],
energyMake = 0,
energyStorage = 0,
energyUse = 0,
explodeAs = "mediumExplosionGenericRed",
floater = true,
footprintX = 4,
footprintZ = 4,
footprintX = 2,
footprintZ = 2,
hoverAttack = false,
iconType = "air_arm",
idleAutoHeal = .5,
Expand Down
2 changes: 1 addition & 1 deletion Units-Configs-Basedefs/basedefs/air/ekrow_basedef.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ unitDef = {
canstop = true,
category = "ARMORED VTOL",
collide = true,
cruiseAlt = 250,
cruiseAlt = 150,
description = [[Unit Type: Endbringer Flying Fortress]],
energyMake = 0,
energyStorage = 0,
Expand Down
44 changes: 25 additions & 19 deletions Units-Configs-Basedefs/basedefs/buildings/elaserbattery_basedef.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ unitDef = {
selfDestructAs = "mediumBuildingExplosionGeneric",
side = "CORE",
sightDistance = 100,
airsightdistance = 2000,
airsightdistance = 1000,
smoothAnim = true,
unitname = unitName,
workerTime = 0,
Expand Down Expand Up @@ -88,36 +88,42 @@ unitDef = {

weaponDefs = {
lighteweapon = {
AreaOfEffect = 25,
predictboost = 0.3,
AreaOfEffect = 0,
avoidFeature = false,
avoidFriendly = false,
beamTime = 0.1,
collideFeature = false,
collideFriendly = false,
--cegTag = "railgun",
coreThickness = 0.5,
duration = 0.9,
duration = 0.1,
energypershot = 0,
explosionGenerator = "custom:genericshellexplosion-small-purple",
fallOffRate = 0.1,
explosionGenerator = "custom:genericshellexplosion-medium-sparks-burn",
fallOffRate = 1,
fireStarter = 50,
impulseFactor = 0,
interceptedByShieldType = 4,
impulsefactor = 0.1,

largebeamlaser = true,
laserflaresize = 8,
minintensity = 1,
name = "Laser",
range = 2000,
range = 1000,
reloadtime = 0.1,
WeaponType = "LaserCannon",
rgbColor = "1 0.75 0",
rgbColor2 = "1 1 1",
WeaponType = "BeamLaser",
rgbColor = "0.25 0 0.6",
rgbColor2 = "0.8 0.8 0.8",
soundTrigger = true,
soundstart = "weapons/efighterlaser.wav",
texture1 = "shot",
texture2 = "empty",
thickness = 8,
tolerance = 1000,
soundstart = "weapons/aegis.wav",
-- soundHit = "weapons/amphibmedtankshothit.wav",
scrollspeed = 5,
texture1 = "lightning",
texture2 = "laserend",
thickness = 6,
tolerance = 3000,
turret = true,
sprayangle = 1000,
weaponVelocity = 3000,
waterweapon = true,
weaponVelocity = 1000,
waterweapon = true,
customparams = {
isupgraded = isUpgraded,
damagetype = "elaserbattery",
Expand Down
2 changes: 1 addition & 1 deletion Units/eair/ebomber.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ isUpgraded = [[0]]

humanName = [[Kamper]]

objectName = "ebomber2.s3o"
objectName = "ebomber2-small.s3o"
script = "ebomber2.cob"


Expand Down
2 changes: 1 addition & 1 deletion Units/eair/ebomber2_up1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ isUpgraded = [[1]]

humanName = [[Kamper Mark II]]

objectName = "ebomber2.s3o"
objectName = "ebomber2-small.s3o"
script = "ebomber2.cob"


Expand Down
2 changes: 1 addition & 1 deletion Units/eair/ebomber2_up2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ isUpgraded = [[2]]

humanName = [[Kamper Mark III]]

objectName = "ebomber2.s3o"
objectName = "ebomber2-small.s3o"
script = "ebomber2.cob"


Expand Down
2 changes: 1 addition & 1 deletion Units/eair/ebomber2_up3.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ isUpgraded = [[3]]

humanName = [[Kamper Mark IV]]

objectName = "ebomber2.s3o"
objectName = "ebomber2-small.s3o"
script = "ebomber2.cob"


Expand Down
2 changes: 1 addition & 1 deletion Units/eair/efighter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ isUpgraded = [[0]]

humanName = [[Koyote]]

objectName = "efighter2.s3o"
objectName = "efighter2-small.s3o"
script = "efighter2.cob"


Expand Down
2 changes: 1 addition & 1 deletion Units/eair/efighter_up1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ isUpgraded = [[1]]

humanName = [[Koyote Mark II]]

objectName = "efighter2.s3o"
objectName = "efighter2-small.s3o"
script = "efighter2.cob"


Expand Down
2 changes: 1 addition & 1 deletion Units/eair/efighter_up2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ isUpgraded = [[2]]

humanName = [[Koyote Mark III]]

objectName = "efighter2.s3o"
objectName = "efighter2-small.s3o"
script = "efighter2.cob"


Expand Down
2 changes: 1 addition & 1 deletion Units/eair/efighter_up3.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ isUpgraded = [[3]]

humanName = [[Koyote Mark IV]]

objectName = "efighter2.s3o"
objectName = "efighter2-small.s3o"
script = "efighter2.cob"


Expand Down
2 changes: 1 addition & 1 deletion Units/eair/egunship2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ isUpgraded = [[0]]

humanName = [[Wildkat]]

objectName = "egunship3.s3o"
objectName = "egunship3-small.s3o"
script = "egunship3.cob"


Expand Down
2 changes: 1 addition & 1 deletion Units/eair/egunship2_up1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ isUpgraded = [[1]]

humanName = [[Wildkat Mark II]]

objectName = "egunship3.s3o"
objectName = "egunship3-small.s3o"
script = "egunship3.cob"


Expand Down
2 changes: 1 addition & 1 deletion Units/eair/egunship2_up2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ isUpgraded = [[2]]

humanName = [[Wildkat Mark III]]

objectName = "egunship3.s3o"
objectName = "egunship3-small.s3o"
script = "egunship3.cob"


Expand Down
2 changes: 1 addition & 1 deletion Units/eair/egunship2_up3.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ isUpgraded = [[3]]

humanName = [[Wildkat Mark IV]]

objectName = "egunship3.s3o"
objectName = "egunship3-small.s3o"
script = "egunship3.cob"


Expand Down
Binary file added sounds/weapons/aegis.wav
Binary file not shown.

0 comments on commit 8b75f2b

Please sign in to comment.