Script:LoadScript("scripts/default/entities/weapons/BaseHandGrenade.lua");
--Script:LoadScript("scripts/default/entities/weapons/BasePhotonProjectile.lua");

projectileDefinition = {
	
	Param = {
		flags = particle_single_contact+particle_no_spin,
		mass = 0.5,
		size = 0.05,
		heading = {},
		initial_velocity = 30, -- default 19
		k_air_resistance = 0,
		acc_thrust = 40,
		acc_lift = 0,
		surface_idx = -1,
		gravity = {x=0, y=0, z=0 },
		min_bounce_vel = 3.5,
		collider_to_ignore = nil,
	},
	
	ExplosionParams = {
		pos = {},
		damage = 38,--200,								--used to be 32 now 38 for photon1 48 for photon2
		rmin = 0.1,--0.1,									--mod 1.0 to 0.1
		rmax = 0.2,--3.5,									--mod 5.0 to 0.2 
		radius = 0.2,--3.5,								--mod 5.0 to 0.2
		DeafnessRadius = 3.5,
		DeafnessTime = 0,									--mod 6.0 to 0
		impulsive_pressure = 100,					--mod 1000 to 100 
		shooter = nil,
		weapon = nil,
		explosion = 1,
		rmin_occlusion=0.2,
		occlusion_res=32,
		occlusion_inflate=2,
	},
	
	no_explosion=1,
	no_trail=1,
	explode_on_contact=1,
	lifetime=5000,
	
	
	model="objects/natural/rocks/throwrock.cgf",
	AISoundRadius = 10,
	AIInterest = 2.0,
	AIThreat = 0,
}

--need to add to ClassRegistry.lua, change explosion damage & radius, force model to photon
ProjDelayMine = CreateProjectile(projectileDefinition);
