Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Fallen Empire: Legions
- Copyright (C) GarageGames.com, Inc.
- */
- datablock GrenadeProjectileData(EmpGrenadeExplosionProjectile)
- {
- // effects
- explosionMidair = "EmpComboExplosion";
- explosionTerrain = "EmpComboExplosion";
- explosionObject = "EmpComboExplosion";
- };
- /*
- datablock GrenadeProjectileData(EmpComboExplosionProjectile)
- {
- explosionMidair = "SniperBeamExplosion";
- explosionTerrain = "SniperBeamExplosion";
- explosionObject = "SniperBeamExplosion";
- };
- */
- new ScriptObject(EmpGrenadeIcon)
- {
- class = IconInfo;
- name = EmpGrenade;
- containerIcon = "client/gui/images/hud/weaponIcons/grenadeLauncherAmmo";
- ammoIcon = "client/gui/images/hud/weaponIcons/grenadeLauncherAmmo";
- };
- datablock ItemData(EmpGrenade)
- {
- class = Grenade;
- longName = "EMP Grenade";
- iconInfo = EmpGrenadeIcon;
- Description = "Low damage , Low impulse grenades. Enemy players within 20m will have their cores shutdown for 3 seconds.";
- shapefile = "legions/data/shapes/weapons/handGrenades/fragGrenade.dts";
- scale = "0.4 0.4 0.4";
- mass = 200;
- friction = 1;
- drag = 0.2;
- gravityMod = 2.85;
- elasticity = 0.35;
- damageRadius = 30;
- innerDamageRadius = 7;
- radiusDamage = 20;
- damageType = $DamageType::FragGrenade;
- areaImpulse = 3500;
- areaImpulseSelf = 4200;
- explosionProjectile = EmpGrenadeExplosionProjectile;
- comboExplosionProjectile = EmpGrenadeExplosionProjectile;
- comboDamageRadius = 15;
- comboRadiusDamage = 30;
- comboDamageType = $DamageType::FragCombo;
- comboAreaImpulse = 3000;
- comboAreaImpulseSelf = 1800;
- comboRadiusDamageSelf = 30;
- maxThrowSpeed = 130;
- minThrowSpeed = 30;
- minVertThrowModifier = 0.3;
- maxVertThrowModifier = 0.25;
- forwardVelInheritFactor = 1.0;
- sideVelInheritFactor = 0.5;
- throwTimeout = 1000;
- projectileCollisionRadius[0] = 3.0;
- projectileCollisionRadius[1] = 0.4;
- EMPnade = 1;
- time[0] = 0.10;
- time[1] = 1.0;
- callbackTimer = 0.9;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement