-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from TheWillard/grenadeLauncherAmmo
Bounciness of 40mm smoke grenades
- Loading branch information
Showing
13 changed files
with
105 additions
and
28 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
x\grad\addons\grenadeLauncherAmmo |
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,8 @@ | ||
### grenadeLauncherAmmo | ||
|
||
* Increases brightness of 40mm flares to a level where they are usable for illumination. | ||
* Decreases bounciness of 40mm smoke grenades | ||
|
||
#### Maintainer(s) | ||
|
||
* Fusselwurm |
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,20 @@ | ||
#include "script_component.hpp" | ||
|
||
class CfgPatches { | ||
class ADDON { | ||
author = "$STR_grad_Author"; | ||
name = QUOTE(ADDON); | ||
url = "$STR_grad_URL"; | ||
requiredVersion = 1.0; | ||
requiredAddons[] = {"grad_main", "A3_Data_F", "A3_Weapons_F"}; | ||
units[] = {}; | ||
weapons[] = {}; | ||
VERSION_CONFIG; | ||
authors[] = { | ||
"Fusselwurm <[email protected]>", | ||
"Willard" | ||
}; | ||
}; | ||
}; | ||
|
||
#include "cfgAmmo.hpp" |
2 changes: 1 addition & 1 deletion
2
addons/brightFlares/script_component.hpp → .../grenadeLauncherAmmo/script_component.hpp
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#define COMPONENT brightFlares | ||
#define COMPONENT grenadeLauncherAmmo | ||
|
||
#include "\x\grad\addons\main\script_mod.hpp" | ||
#include "\x\grad\addons\main\script_macros.hpp" |
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 @@ | ||
x\grad\addons\grenadeLauncherAmmoRhs |
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,7 @@ | ||
### grenadeLauncherAmmoRhs | ||
|
||
* Decreases bounciness of the RHS 40mm smoke grenades | ||
|
||
#### Maintainer(s) | ||
|
||
* Fusselwurm |
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,37 @@ | ||
class CfgAmmo { | ||
class SmokeShell; | ||
class rhs_40mm_smoke_white: SmokeShell | ||
{ | ||
simulation = "shotSmoke"; | ||
deflectionSlowDown = 0.4; | ||
}; | ||
|
||
class SmokeShellRed; | ||
class rhs_40mm_smoke_red: SmokeShellRed | ||
{ | ||
simulation = "shotSmoke"; | ||
deflectionSlowDown = 0.4; | ||
}; | ||
|
||
class SmokeShellGreen; | ||
class rhs_40mm_smoke_green: SmokeShellGreen | ||
{ | ||
simulation = "shotSmoke"; | ||
deflectionSlowDown = 0.4; | ||
}; | ||
|
||
class SmokeShellYellow; | ||
class rhs_40mm_smoke_yellow: SmokeShellYellow | ||
{ | ||
simulation = "shotSmoke"; | ||
deflectionSlowDown = 0.4; | ||
}; | ||
|
||
class rhs_g_vog25; | ||
class rhs_g_vg40md_white: rhs_g_vog25 | ||
{ | ||
simulation = "shotSmoke"; | ||
deflecting = 30; | ||
deflectionSlowDown = 0.4; | ||
} | ||
}; |
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,19 @@ | ||
#include "script_component.hpp" | ||
|
||
class CfgPatches { | ||
class ADDON { | ||
author = "$STR_grad_Author"; | ||
name = QUOTE(ADDON); | ||
url = "$STR_grad_URL"; | ||
requiredVersion = 1.0; | ||
requiredAddons[] = {"grad_main", "A3_Weapons_F", "rhs_c_weapons", "rhsusf_c_weapons"}; | ||
units[] = {}; | ||
weapons[] = {}; | ||
VERSION_CONFIG; | ||
authors[] = { | ||
"Willard" | ||
}; | ||
}; | ||
}; | ||
|
||
#include "cfgAmmo.hpp" |
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,4 @@ | ||
#define COMPONENT grenadeLauncherAmmoRhs | ||
|
||
#include "\x\grad\addons\main\script_mod.hpp" | ||
#include "\x\grad\addons\main\script_macros.hpp" |