Arma 3
Not enough ratings
JCaleb's Grav Weapon System
2
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Equipment, Sound, Weapon
File Size
Posted
Updated
33.183 MB
Mar 3, 2024 @ 4:46pm
Mar 4, 2024 @ 10:18am
2 Change Notes ( view )

Subscribe to download
JCaleb's Grav Weapon System

Description
What is this mod?
As the name suggests, it is a Graviton Weapons System mod for 40k. Initially, this includes only one weapon, the Grav Gun, with custom muzzleflash, sound and system.

This weapon is inspired by lore, where Grav weapons crush and do more damage the heavier their target is. This is reflected in the mod, where the Grav Gun will do more damage to heavier vehicles and less damage to lighter vehicles.
The mass of the target is calculated by the game and it depends on the presence of a PhysX LOD, which should be present on all vehicles, independent of mod and also props.
Since Infantry does not have a mass in game, it only does constant damage regardless of size, however I plan to increase it against heavier infantry units like Space Marines and Terminators.

The "crushing" effect then is simulated by the damage alone, via an exponential decay function. As the mass of the target increases, the damage increases. For example, the damage done to a Valkyrie (10.78 tons) is 2.52 times the damage done to a Jetbike (1.9 tons). A pretty graph can be found here[docs.google.com].

I went further and added a levitation round, which will make the target float, also dependant on mass. This is useful to disable vehicles and make them easier to hit with other weapons. The heavier the target, the lower it will float.
Yes, I know it isn't exactly described in lore, but this is a game and I wanted to add some variety to the weapon. **It's up to you and your group if you want to use this or not.**

Customization
The mod uses CBA settings to allow you to customize the weapon to your liking. You can change the following settings:

  • Negative Field Strength - Strength of the negative graviton field. This controls the multiplier for levitation. The higher the value the stronger the effect;
  • Positive Field Strength - Strength of the positive graviton field. This controls the multiplier for crushing. The higher the value the stronger the effect;
  • Levitation Friendly Fire - If levitation effect applies to units part of the same side as shooter. Checked means friendly fire is enabled;

Compatibility
This is compatible with any mod that doesn't add a HandleDamage event handler, as per the game's limitation, only one event handler of that type can exist.
Naturally, ACE Advanced Vehicle Damage is incompatible with this mod, as it also uses HandleDamage.

If you want to make your own weapon and use this system, all you should do is inherit from the example ammo types listed in the mod:
  • JC_GravSystem_Pistol_Levitate_Rnd
  • JC_GravSystem_Rifle_Levitate_Rnd
  • JC_GravSystem_Cannon_Levitate_Rnd
  • JC_GravSystem_Bombard_Levitate_Rnd
  • JC_GravSystem_Pistol_Crush_Rnd
  • JC_GravSystem_Rifle_Crush_Rnd
  • JC_GravSystem_Cannon_Crush_Rnd
  • JC_GravSystem_Bombard_Crush_Rnd

Known Issues
  • Setting for crush damage lacks granularity. Doesn't change the damage much;
  • Sound of grav "bullet" uses vanilla sound for bullet cracking (when a bullet passes near you);

Future Plans
  • Add the rest of the grav line of weapons;
  • Add a new setting so you can add already existing ammo types from other mods to the system;
  • Further modify damage of crushing done to heavy infantry (Space Marines & Terminators);
  • Further reduce negative/positive effect based on range, the longer the range, the weaker the effect;

Credits
  • Me, myself and my ADHD
  • Combine, models

Built with HEMTT
5 Comments
connner Mar 21, 2024 @ 11:34pm 
thanks
JCaleb  [author] Mar 21, 2024 @ 11:25pm 
It's from Black Carapace @connner
connner Mar 14, 2024 @ 3:17pm 
absulutly based also one quistion what mod did you use for that hud
JCaleb  [author] Mar 4, 2024 @ 10:19am 
Quick textures added, will be improved later, probably when we add the other guns in
JCaleb  [author] Mar 3, 2024 @ 5:11pm 
Will be adding more texture options for other legions asap.