Jump to content


Blast Force


1 reply to this topic

#1 Admiral

    Semi-Pro

  • Member
  • 213 posts

Posted 08 November 2012 - 00:10

I hope someone can help me with this small issue: Where can I find the data that adjusts the blast force from explosions or unit firing. Some weapons blast the unit that is attacked out of the screen.

Thanks.

#2 Stalker

    All Purpose ZH Modder

  • Project Team
  • 568 posts
  • Projects: secret stuff.

Posted 08 November 2012 - 08:56

It's in Weapon.ini

ShockWaveAmount = xx
ShockWaveRadius = xx
ShockWaveTaperOff = xx

e.g.
;------------------------------------------------------------------------------
Weapon Nuke_NukeMissileWeapon
  PrimaryDamage   			= 150.0          
  PrimaryDamageRadius 		= 50.0
  SecondaryDamage 			= 50.0        
  SecondaryDamageRadius   	= 60.0        
  DamageType              	= EXPLOSION
  DeathType       			= EXPLODED
  AttackRange     			= 320.0
  MinimumAttackRange      	= 80.0 ; used to be 100.0, but that was too large for mig/missile speed
  ProjectileObject        	= NapalmMissile
  ProjectileExhaust   		= MissileExhaust
  VeterancyProjectileExhaust  = HEROIC HeroicMissileExhaust
  FireFX                  	= WeaponFX_NapalmMissile
  FireSound       			= MigJetNapalmWeapon
  RadiusDamageAffects 		= ALLIES ENEMIES NEUTRALS NOT_SIMILAR  
  AcceptableAimDelta      	= 30
  DelayBetweenShots   		= 300 			; time between shots, msec
  ClipSize                	= 2                    	; how many shots in a Clip (0 == infinite)
  ClipReloadTime          	= 2000   			; how long to reload a Clip, msec
  AutoReloadsClip 			= RETURN_TO_BASE     			; must return to base to reload this weapon
  AntiGround              	= Yes
  ProjectileDetonationFX  	= Nuke_WeaponFX_NukeCannon
  ProjectileDetonationOCL 	= OCL_RadiationFieldMedium
  DamageDealtAtSelfPosition   = Yes
  ProjectileCollidesWith  	= STRUCTURES
  AntiAirborneVehicle 		= Yes
  AntiAirborneInfantry    	= Yes
  ShowsAmmoPips   			= Yes
  ShockWaveAmount 			= 50.0 ; represents the shockwave amount. The larger the amount, the greater and more dramatic the shockwave effect  
  ShockWaveRadius 			= 50.0 ; should be no more than the primary/secondary damage radius, whichever is larger.
  ShockWaveTaperOff   		= 0.40	; 0.33 means at the shockwave edge, the shockwave amount is 33%.
End

Edited by Stalker, 08 November 2012 - 08:58.

Posted Image



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users