
-- leave me
	local actor = ACTOR_preload()
-- leave me

	-- default for this beastie
	actor[cp_actor_name]		= "trailer-trash"
	actor[cp_model_dir]			= "beasties"
	actor[cp_model_name]		= "trailer-trash"

	actor[cp_move_type]			= cmt_track + cmt_apply_no_dirn + cmt_repelled
	actor[cp_i_collide_with_beasties]	= cat_player + cat_fence

	actor[cp_score]				= 30
	actor[cp_hit_power]			= 5.0

	-- movement

	actor[cp_i_am_repelled_by]		= cat_block
	actor[cp_repel_dist]			= 10.0


	actor[cp_move_speed_min]		= 0.05 -- 0.015
	actor[cp_move_speed_max]		= 0.1 -- 0.03
	actor[cp_move_inertia_decn]		= 0.5
	actor[cp_move_inertia_accn]		= 0.995

	actor[cp_weight]				= 2.0 -- 1.0
	actor[cp_max_explosion_multiply]	= 1.0

	actor[cp_spin_speed_min]		= 2.0 -- 6.0
	actor[cp_spin_speed_max]		= 5.0 -- 12.0
--
	actor[cp_move_acceleration]		= 1.0
	actor[cp_move_deceleration]		= 1.0

--	actor[cp_turn_lock_angle_inner]		= 85.0
--	actor[cp_turn_lock_angle_outer]		= 95.0
	actor[cp_turn_speed_still]			= 3.0
	actor[cp_turn_acceleration_still]	= 0.3
	actor[cp_turn_inertia_still]		= 0.0
	actor[cp_turn_speed_moving]			= 2.0
	actor[cp_turn_acceleration_moving]	= 0.3
	actor[cp_turn_inertia_moving]		= 0.0

	actor[cp_random_offset_x]			= 10.0
	actor[cp_random_offset_z]			= 10.0

	actor[cp_random_trajectory_offset]				= 30.0
	actor[cp_random_trajectory_offset_delay_min]	= 0.1
	actor[cp_random_trajectory_offset_delay_max]	= 1.0
--
	actor[cp_health_percent]		= 10.0

	actor[cp_launch_hue_shift] = color

	actor[cp_bullet_spray_angle]	= 45.0

	actor[cp_difficulty_adjust_speed] = 40.0
-- actor[cp_difficulty_adjust_shoot] = 100.0

-- leave me
	c_preload_model( actor )
-- leave me

	c_set_random_anim( "throb", 100.0, 1000.0, 0.0, 0.0 )

	c_set_use_explosion_for( "bye_bye", "trailer-trash-flash2", exp_no_align, 0.0, 0.0, 3000.0, 3000.0, {0.0} )
	c_set_use_explosion_for( "bye_bye", "trailer-trash-flash", exp_no_align, 0.0, 0.3, 800.0, 800.0, {0.0} )
	c_add_particle_to_explosion( "trailer-trash-flash", "explode", "", "trailer-trash-exp" )

	c_add_sound_to_explosion( "trailer-trash-flash", "explode", "trailer-trash-exp" )

	-- new state
	-- set new stuff
	actor[cp_move_speed_min]		= 0.2 -- 0.015
	actor[cp_move_speed_max]		= 0.3 -- 0.03
	actor[cp_move_inertia_decn]		= 0.5
	actor[cp_move_inertia_accn]		= 0.9

	actor[cp_weight]				= 0.3 -- 1.0
	actor[cp_max_explosion_multiply]	= 1.0

	actor[cp_spin_speed_min]		= 5.0 -- 6.0
	actor[cp_spin_speed_max]		= 10.0 -- 12.0
--
	actor[cp_move_acceleration]		= 1.0
	actor[cp_move_deceleration]		= 1.0


--	actor[cp_turn_lock_angle_inner]		= 85.0
--	actor[cp_turn_lock_angle_outer]		= 95.0
	actor[cp_turn_speed_still]			= 3.0
	actor[cp_turn_acceleration_still]	= 0.3
	actor[cp_turn_inertia_still]		= 0.0
	actor[cp_turn_speed_moving]			= 2.0
	actor[cp_turn_acceleration_moving]	= 0.3
	actor[cp_turn_inertia_moving]		= 0.0
	-- send out
	c_set_trigger_state( "my_time_alive", 2.0, 2.0, actor )
	-- new state

