Script:LoadScript("scripts/default/entities/weapons/BaseProjectile.lua");

projectileDefinition = {
	Param = {
		mass = 0.05,
		size = 0.05,
		heading = {},
		flags=particle_single_contact+particle_no_spin,
		initial_velocity = 140, 					  
		k_air_resistance = 0.3,
		acc_thrust = 0,
		acc_lift = 0,
		surface_idx = -1,
		gravity = {x=0, y=0, z=0 },
		collider_to_ignore = nil,
	},
	
	ExplosionParams = {
		pos = {},
		damage = 95,								--was 120 now 95 else too powerful								
		rmin = 0.1,												 
		rmax = 0.3,									
		radius = 0.3,											
		DeafnessRadius = 0.3,
		DeafnessTime = 4.0,								
		impulsive_pressure = 150,						
		shake_factor = 0.4,								
		shooter = nil,
		weapon = nil,
		explosion = 1,
		rmin_occlusion=0.2,
		occlusion_res=32,
		occlusion_inflate=2,
	},
	
	SmokeEffect = "misc.bluehit.a",
	
	matEffect = "neutron_explosion",										
	mark_terrain = 1,
	force_objtype = 2,
	projectileObject = "Objects/weapons/muzzle_flash/mf_shocker_fpv.cgf",
	projectileObjectScale = 5.0,
	fDeformRadius = 0.5,	
	explodeOnContact = 1,
	lifetime=5000,

}



NeutronBolt = CreateProjectile(projectileDefinition);