Skip to content

Commit 5033c2c

Browse files
committed
Iowa Visibility Fix
1 parent 05fab8e commit 5033c2c

5 files changed

Lines changed: 10 additions & 95 deletions

File tree

Weapon Mods/TaitMod_Fletcher/Data/Scripts/CoreParts/Large Calibre/380mmAPAmmo.cs

Lines changed: 4 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -173,73 +173,12 @@ partial class Parts
173173
CustomSound = "",
174174
},
175175
},
176-
Ewar = new EwarDef
177-
{
178-
Enable = false, // Enables the EWAR , Electronic-Warfare System
179-
Type = EnergySink, // EnergySink, Emp, Offense, Nav, Dot, AntiSmart, JumpNull, Anchor, Tractor, Pull, Push,
180-
Mode = Effect, // Effect , Field
181-
Strength = 10000f,
182-
Radius = 100f, // Meters
183-
Duration = 100, // In Ticks
184-
StackDuration = true, // Combined Durations
185-
Depletable = true,
186-
MaxStacks = 10, // Max Debuffs at once
187-
NoHitParticle = false,
188-
/*
189-
EnergySink : Targets & Shutdowns Power Supplies, such as Batteries & Reactor
190-
Emp : Targets & Shutdown any Block capable of being powered
191-
Offense : Targets & Shutdowns Weaponry
192-
Nav : Targets & Shutdown Gyros, Thrusters, or Locks them down
193-
Dot : Deals Damage to Blocks in radius
194-
AntiSmart : Effects & Scrambles the Targeting List of Affected Missiles
195-
JumpNull : Shutdown & Stops any Active Jumps, or JumpDrive Units in radius
196-
Tractor : Affects target with Physics
197-
Pull : Affects target with Physics
198-
Push : Affects target with Physics
199-
Anchor : Affects target with Physics
200-
201-
*/
202-
Force = new PushPullDef
203-
{
204-
ForceFrom = ProjectileLastPosition, // ProjectileLastPosition, ProjectileOrigin, HitPosition, TargetCenter, TargetCenterOfMass
205-
ForceTo = HitPosition, // ProjectileLastPosition, ProjectileOrigin, HitPosition, TargetCenter, TargetCenterOfMass
206-
Position = TargetCenterOfMass, // ProjectileLastPosition, ProjectileOrigin, HitPosition, TargetCenter, TargetCenterOfMass
207-
DisableRelativeMass = false,
208-
TractorRange = 0,
209-
ShooterFeelsForce = false,
210-
},
211-
Field = new FieldDef
212-
{
213-
Interval = 0, // Time between each pulse, in game ticks (60 == 1 second).
214-
PulseChance = 0, // Chance from 0 - 100 that an entity in the field will be hit by any given pulse.
215-
GrowTime = 0, // How many ticks it should take the field to grow to full size.
216-
HideModel = false, // Hide the projectile model if it has one.
217-
ShowParticle = false, // Set to show block damage effect when ewared.
218-
TriggerRange = 250f, //range at which fields are triggered
219-
Particle = new ParticleDef // Particle effect to generate at the field's position.
220-
{
221-
Name = "", // SubtypeId of field particle effect.
222-
Extras = new ParticleOptionDef
223-
{
224-
Scale = 1, // Scale of effect.
225-
},
226-
},
227-
},
228-
},
229-
Beams = new BeamDef
230-
{
231-
Enable = false, // Enable beam behaviour. Please have 3600 RPM, when this Setting is enabled. Please do not fire Beams into Voxels.
232-
VirtualBeams = false, // Only one damaging beam, but with the effectiveness of the visual beams combined (better performance).
233-
ConvergeBeams = false, // When using virtual beams, converge the visual beams to the location of the real beam.
234-
RotateRealBeam = false, // The real beam is rotated between all visual beams, instead of centered between them.
235-
OneParticle = false, // Only spawn one particle hit per beam weapon.
236-
},
237176
Trajectory = new TrajectoryDef
238177
{
239178
Guidance = None, // None, Remote, TravelTo, Smart, DetectTravelTo, DetectSmart, DetectFixed
240179
TargetLossDegree = 80f, // Degrees, Is pointed forward
241180
TargetLossTime = 0, // 0 is disabled, Measured in game ticks (6 = 100ms, 60 = 1 seconds, etc..).
242-
MaxLifeTime = 2000, // 0 is disabled, Measured in game ticks (6 = 100ms, 60 = 1 seconds, etc..). Please have a value for this, It stops Bad things.
181+
MaxLifeTime = 600, // 0 is disabled, Measured in game ticks (6 = 100ms, 60 = 1 seconds, etc..). Please have a value for this, It stops Bad things.
243182
AccelPerSec = 0f, // Meters Per Second. This is the spawning Speed of the Projectile, and used by turning.
244183
DesiredSpeed = 1300, // voxel phasing if you go above 5100
245184
MaxTrajectory = 10000f, // Max Distance the projectile or beam can Travel.
@@ -248,30 +187,6 @@ partial class Parts
248187
SpeedVariance = Random(start: 0, end: 0), // subtracts value from DesiredSpeed. Be warned, you can make your projectile go backwards.
249188
RangeVariance = Random(start: 5, end: 10), // subtracts value from MaxTrajectory
250189
MaxTrajectoryTime = 0, // How long the weapon must fire before it reaches MaxTrajectory.
251-
Smarts = new SmartsDef
252-
{
253-
Inaccuracy = 5f, // 0 is perfect, hit accuracy will be a random num of meters between 0 and this value.
254-
Aggressiveness = 1f, // controls how responsive tracking is.
255-
MaxLateralThrust = 0.5, // controls how sharp the trajectile may turn
256-
TrackingDelay = 1, // Measured in Shape diameter units traveled.
257-
MaxChaseTime = 450, // Measured in game ticks (6 = 100ms, 60 = 1 seconds, etc..).
258-
OverideTarget = true, // when set to true ammo picks its own target, does not use hardpoint's.
259-
CheckFutureIntersection = false, // Utilize obstacle avoidance?
260-
MaxTargets = 3, // Number of targets allowed before ending, 0 = unlimited
261-
NoTargetExpire = false, // Expire without ever having a target at TargetLossTime
262-
Roam = false, // Roam current area after target loss
263-
KeepAliveAfterTargetLoss = false, // Whether to stop early death of projectile on target loss
264-
OffsetRatio = 0f, // The ratio to offset the random direction (0 to 1)
265-
OffsetTime = 0, // how often to offset degree, measured in game ticks (6 = 100ms, 60 = 1 seconds, etc..)
266-
},
267-
Mines = new MinesDef // Note: This is being investigated. Please report to Github, any issues.
268-
{
269-
DetectRadius = 0,
270-
DeCloakRadius = 0,
271-
FieldTime = 0,
272-
Cloak = false,
273-
Persist = false,
274-
},
275190
},
276191
AmmoGraphics = new GraphicDef
277192
{
@@ -333,13 +248,13 @@ partial class Parts
333248
Lines = new LineDef
334249
{
335250
TracerMaterial = "ProjectileTrailLine", // WeaponLaser, ProjectileTrailLine, WarpBubble, etc..
336-
ColorVariance = Random(start: 1.0f, end: 1.3f), // multiply the color by random values within range.
251+
ColorVariance = Random(start: 0f, end: 0f), // multiply the color by random values within range.
337252
WidthVariance = Random(start: 0f, end: 0.1f), // adds random value to default width (negatives shrinks width)
338253
Tracer = new TracerBaseDef
339254
{
340255
Enable = true,
341-
Length = 10f,
342-
Width = 0.1f,
256+
Length = 20f,
257+
Width = 0.25f,
343258
Color = Color(red: 25f, green: 25f, blue: 24f, alpha: 0.8f),
344259
},
345260
Trail = new TrailDef

Weapon Mods/TaitMod_Fletcher/Data/Scripts/CoreParts/Large Calibre/380mmHEAmmo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,13 +333,13 @@ partial class Parts
333333
Lines = new LineDef
334334
{
335335
TracerMaterial = "ProjectileTrailLine", // WeaponLaser, ProjectileTrailLine, WarpBubble, etc..
336-
ColorVariance = Random(start: 1.0f, end: 1.3f), // multiply the color by random values within range.
336+
ColorVariance = Random(start: 0f, end: 0f), // multiply the color by random values within range.
337337
WidthVariance = Random(start: 0f, end: 0.1f), // adds random value to default width (negatives shrinks width)
338338
Tracer = new TracerBaseDef
339339
{
340340
Enable = true,
341-
Length = 10f,
342-
Width = 0.1f,
341+
Length = 20f,
342+
Width = 0.25f,
343343
Color = Color(red: 40.80f, green: 8.20f, blue: 1.6f, alpha: 0.1f),
344344
},
345345
Trail = new TrailDef

Weapon Mods/TaitMod_Fletcher/Data/Scripts/CoreParts/Large Calibre/380mmQuadGun.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ partial class Parts {
189189
},
190190
},
191191
Ammos = new[] {
192-
FA380mmShell,FA380mmAPShell // Must list all primary, shrapnel, and pattern ammos.
192+
FA380mmShell, FA380mmAPShell, // Must list all primary, shrapnel, and pattern ammos.
193193
},
194194
//Animations = Weapon75_Animation,
195195
//Upgrades = UpgradeModules,

Weapon Mods/TaitMod_Fletcher/Data/Scripts/CoreParts/Large Calibre/381mmGunTwinAlt.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ partial class Parts {
187187
},
188188
},
189189
Ammos = new[] {
190-
FA380mmShell,FA380mmAPShell // Must list all primary, shrapnel, and pattern ammos.
190+
FA380mmShell, FA380mmAPShell, // Must list all primary, shrapnel, and pattern ammos.
191191
},
192192
//Animations = Weapon75_Animation,
193193
//Upgrades = UpgradeModules,

Weapon Mods/TaitMod_Fletcher/Data/Scripts/CoreParts/Large Calibre/381mmTwinGun.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ partial class Parts {
187187
},
188188
},
189189
Ammos = new[] {
190-
FA380mmShell,FA380mmAPShell,// Must list all primary, shrapnel, and pattern ammos.
190+
FA380mmShell, FA380mmAPShell, // Must list all primary, shrapnel, and pattern ammos.
191191
},
192192
//Animations = Weapon75_Animation,
193193
//Upgrades = UpgradeModules,

0 commit comments

Comments
 (0)