-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GAU-8 Enhancement #4497
Closed
Closed
Add GAU-8 Enhancement #4497
Changes from 7 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
1355a62
First Integration on Enhanced GAU-8
sargken d0e8a74
Changed mail of author 'Zabuza'
Zabuzard 7b14246
Finished Port of GAU8
sargken 6f09c0a
Style Fixes
sargken a5d525d
RHS Integration
sargken ca053a4
Add Name
sargken da655e7
Sweet Code Tweaks
sargken 38f1a35
Merge branch 'master' of https://github.com/sargken/ACE3 into sargken…
PabstMirror c19ced1
Use muzzelEffect / CfgFunctions
PabstMirror 6253145
Merge remote-tracking branch 'refs/remotes/acemod/master'
sargken 3021006
Example and Private Fix
sargken d387e2f
Fixing RHS A-10 Compat
sargken 908bfe4
Merge branch 'sargken-master' of https://github.com/acemod/ACE3
sargken 9c8d4fa
Cleanup
sargken 4f51da7
Cleanup 2
sargken 72ef10a
Merge branch 'master' into master
sargken File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
class CfgCloudlets { | ||
class ACE_Gau8DefaultCldlt { | ||
angle = 0; | ||
animationName = ""; | ||
animationSpeed[] = {1}; | ||
animationSpeedCoef = 1; | ||
beforeDestroyScript = ""; | ||
circleRadius = 0; | ||
circleVelocity[] = {0,0,0}; | ||
colorCoef[] = {1,1,1,1}; | ||
colorVar[] = {0,0,0,0}; | ||
lifeTimeVar = 0; | ||
MoveVelocityVarConst[] = {0,0,0}; | ||
onTimerScript = ""; | ||
particleFSFrameCount = 1; | ||
particleFSIndex = 0; | ||
particleFSLoop = 1; | ||
particleFSNtieth = 16; | ||
particleShape = "\A3\data_f\ParticleEffects\Universal\Universal"; | ||
particleType = "Billboard"; | ||
position[] = {0,0,0}; | ||
positionVar[] = {0,0,0}; | ||
positionVarConst[] = {0,0,0}; | ||
randomDirectionIntensity = 0; | ||
randomDirectionIntensityVar = 0; | ||
randomDirectionPeriod = 0; | ||
randomDirectionPeriodVar = 0; | ||
rotationVelocity = 0; | ||
rotationVelocityVar = 0; | ||
sizeCoef = 1; | ||
timerPeriod = 1; | ||
}; | ||
class ACE_Gau8ShellExplCldlt: ACE_Gau8DefaultCldlt { | ||
angleVar = 1; | ||
color[] = {{1,1,1,-6},{1,1,1,0}}; | ||
interval = 0.029999999; | ||
lifeTime = 0.5; | ||
moveVelocity[] = {0,1,0}; | ||
MoveVelocityVar[] = {0.2,0.5,0.2}; | ||
particleFSFrameCount = 32; | ||
particleFSLoop = 0; | ||
positionVar[] = {0.40000001,0.1,0.40000001}; | ||
randomDirectionIntensity = 0.2; | ||
randomDirectionPeriod = 0.2; | ||
rotationVelocityVar = 90; | ||
rubbing = 0.1; | ||
size[] = {"0.0125 * intensity + 4","0.0125 * intensity + 1"}; | ||
sizeVar = 0.5; | ||
volume = 7.9000001; | ||
weight = 10; | ||
}; | ||
class ACE_Gau8ShellSprksCldlt: ACE_Gau8DefaultCldlt { | ||
angleVar = 360; | ||
animationSpeed[] = {1000}; | ||
color[] = {{1,1,1,-50}}; | ||
interval = 0.003; | ||
lifeTime = 4; | ||
lifeTimeVar = 1; | ||
moveVelocity[] = {0,5,0}; | ||
MoveVelocityVar[] = {4,2,4}; | ||
particleFSFrameCount = 2; | ||
particleFSIndex = 13; | ||
particleFSLoop = 0; | ||
positionVar[] = {2,0.5,2}; | ||
rotationVelocity = 1; | ||
rotationVelocityVar = 2; | ||
rubbing = 0; | ||
size[] = {0.5,0.40000001,0.40000001,0.40000001,0.40000001,0.30000001,0.30000001,0.30000001,0.2,0.1}; | ||
sizeVar = 0; | ||
timerPeriod = 0; | ||
volume = 8; | ||
weight = 24; | ||
}; | ||
class ACE_Gau8ShellSmkCldlt: ACE_Gau8DefaultCldlt { | ||
angleVar = 360; | ||
animationSpeed[] = {1.5,0.5,0.25,0.25}; | ||
circleRadius = 2; | ||
circleVelocity[] = {0.30000001,0,0.30000001}; | ||
color[] = {{0.5,0.5,0.5,0.40000001},{0.5,0.5,0.5,0.22},{0.60000002,0.60000002,0.60000002,0.090000004},{0.80000001,0.80000001,0.80000001,0.0099999998}}; | ||
colorVar[] = {0,0,0,0.30000001}; | ||
interval = 0.0070000002; | ||
lifeTime = 6; | ||
lifeTimeVar = 1.5; | ||
moveVelocity[] = {0,12,0}; | ||
MoveVelocityVar[] = {0.5,12,0.5}; | ||
particleFSFrameCount = 48; | ||
particleFSIndex = 7; | ||
positionVar[] = {0.2,0.2,0.2}; | ||
randomDirectionIntensity = 0.1; | ||
randomDirectionIntensityVar = 0.050000001; | ||
randomDirectionPeriod = 0.2; | ||
randomDirectionperiodVar = 0.2; | ||
rotationVelocity = 1; | ||
rotationVelocityVar = 120; | ||
rubbing = 0.5; | ||
size[] = {6,20}; | ||
sizeVar = 0.30000001; | ||
volume = 1; | ||
weight = 3; | ||
}; | ||
class ACE_Gau8ShellDstCldlt: ACE_Gau8DefaultCldlt { | ||
angleVar = 0; | ||
animationSpeed[] = {1000}; | ||
circleRadius = 5; | ||
circleVelocity[] = {1,1,1}; | ||
color[] = { | ||
{0.079999998,0.067000002,0.052000001,0}, | ||
{0.60000002,0.5,0.40000001,0.5}, | ||
{0.60000002,0.5,0.40000001,0.40000001}, | ||
{0.60000002,0.5,0.40000001,0.30000001}, | ||
{0.60000002,0.5,0.40000001,0.15000001}, | ||
{0.60000002,0.5,0.40000001,0} | ||
}; | ||
interval = 0.029999999; | ||
lifeTime = 30; | ||
lifeTimeVar = 5; | ||
moveVelocity[] = {0,1,0}; | ||
MoveVelocityVar[] = {0.1,1,0.1}; | ||
particleFSFrameCount = 13; | ||
particleFSIndex = 12; | ||
particleFSLoop = 0; | ||
positionVar[] = {2,1,2}; | ||
rotationVelocity = 1; | ||
rotationVelocityVar = 20; | ||
rubbing = 0.0099999998; | ||
size[] = {18,22}; | ||
sizeVar = 0.30000001; | ||
volume = 0.039999999; | ||
weight = 0.052999999; | ||
}; | ||
class ACE_Gau8ShellDrtCldlt: ACE_Gau8DefaultCldlt { | ||
angleVar = 1; | ||
animationSpeed[] = {1000}; | ||
color[] = {{0.60000002,0.60000002,1,1},{0.60000002,0.60000002,1,0}}; | ||
interval = "0.01 * interval + 0.01"; | ||
lifeTime = 5; | ||
lifeTimeVar = 1.5; | ||
moveVelocity[] = {0,"0.1 * intensity + 10",0}; | ||
MoveVelocityVar[] = {2,4,2}; | ||
particleFSFrameCount = 9; | ||
particleFSIndex = 12; | ||
particleFSLoop = 0; | ||
rotationVelocity = 1; | ||
rubbing = 0; | ||
size[] = {6,12}; | ||
sizeVar = 0.2; | ||
timerPeriod = 0.1; | ||
volume = 0.1; | ||
weight = 24; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
class Extended_PreInit_EventHandlers { | ||
class ADDON { | ||
init = QUOTE(call COMPILE_FILE(XEH_preInit)); | ||
}; | ||
}; | ||
|
||
class Extended_FiredBIS_EventHandlers { | ||
class Plane { | ||
class ADDON { | ||
firedBIS = QUOTE(_this call FUNC(gau8_muzzleEffect)); | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
class CfgLights { | ||
class ACE_Gau8ShellExplLght { | ||
ambient[] = {0,0,0,0}; | ||
blinking = "false"; | ||
brightness = 200; | ||
color[] = {255,220,80}; | ||
diffuse[] = {255,210,80}; | ||
drawLight = 0; | ||
flareSize = 20; | ||
flareMaxDistance = 4000; | ||
intensity = 600; | ||
position[] = {0,50,0}; | ||
size = 1; | ||
useFlare = 1; | ||
class Attenuation { | ||
start = 0; | ||
constant = 0; | ||
linear = 0; | ||
quadratic = 0; | ||
hardLimitStart = 0; | ||
hardLimitEnd = 0; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
class CfgSoundSets { | ||
class ACE_GAU8_30mm_Exp_SoundSet { | ||
soundShaders[] = {"ACE_GAU8_30mm_closeExp_SoundShader"}; | ||
volumeFactor = 1.5; | ||
volumeCurve = "InverseSquare2Curve"; | ||
spatial = 1; | ||
doppler = 0; | ||
loop = 0; | ||
sound3DProcessingType = "ExplosionLight3DProcessingType"; | ||
distanceFilter = "none"; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
class CfgSoundShaders { | ||
class ACE_GAU8_30mm_closeExp_SoundShader { | ||
samples[] = { | ||
{QPATHTOF(sounds\ammo\GAU8_Hit1),1}, | ||
{QPATHTOF(sounds\ammo\GAU8_Hit1),1}, | ||
{QPATHTOF(sounds\ammo\GAU8_Hit1),1} | ||
}; | ||
volume = 1; | ||
range = 2000; | ||
rangeCurve[] = { | ||
{0,1}, | ||
{800,0.75}, | ||
{2000,0} | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For reference, the 120mm HE has a hit value of 220 and an indirectHit of 60.
The old indirectHit value was 4.
Are these values sane for a 30mm gatling gun?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it and it's not as bad as I feared. Maybe it can be tweaked later to try to make it less destructive to buildings, but for now it's okay as far as I can tell.