14 #ifndef __diguyAgentParams_H
15 #define __diguyAgentParams_H
21 #define CPLUSPLUS_ONLY
29 class bdiScenarioAgentParams;
30 class bdiScenarioAgent;
126 void set_behavior_path_shape(
const char* behavior_path_shape_name);
135 const char* get_behavior_path_shape();
147 void set_behavior_region(
const char* behavior_region_name);
156 const char* get_behavior_region();
183 void set_behavior_region_border_is_solid(
int is_solid);
191 int get_behavior_region_border_is_solid();
205 void set_focus_character(
const char* focus_character_name);
213 const char* get_focus_character();
227 void set_focus_group(
const char* focus_group_name);
235 const char* get_focus_group();
243 void set_focus_affects_gaze(
int focus_affects_gaze);
251 int get_focus_affects_gaze();
259 void set_max_focus_distance(
float distance);
266 float get_max_focus_distance();
275 void set_move_on_t_min(
float t_min);
283 float get_move_on_t_min();
291 void set_move_on_t_max(
float t_max);
299 float get_move_on_t_max();
314 void set_attack_distance(
float distance);
322 float get_attack_distance();
330 void set_attack_fire_interval(
float time_interval);
338 float get_attack_fire_interval();
353 void set_attack_stands_ground(
int value);
360 int get_attack_stands_ground();
370 void set_attack_zone(
float x,
float y,
float z,
float radius);
377 int get_attack_zone(
float* x,
float* y,
float* z,
float* radius);
388 void set_attack_zone_enabled(
int use_attack_zone);
395 int get_attack_zone_enabled();
410 void set_wander_max_wander_dist(
float distance);
418 void set_wander_sets_desired_orientation(
int sets_desired_orientation);
432 void set_pursue_speed_match_enabled(
int enabled);
441 int get_pursue_speed_match_enabled();
449 void set_pursue_speed_match_update_dt(
float dt);
456 float get_pursue_speed_match_update_dt();
473 void set_pursue_speed_match_max_factor(
float factor);
481 float get_pursue_speed_match_max_factor();
495 void set_pursue_offset(
float x,
float y,
float z);
502 int get_pursue_offset(
float* x,
float* y,
float* z);
517 void set_path_follow_pause_t_when_off_path(
int pause_t);
524 int get_path_follow_pause_t_when_off_path();
532 void set_path_follow_unpause_t_at_radius(
float radius);
539 float get_path_follow_unpause_t_at_radius();
548 void set_path_follow_position_lookahead_distance(
float distance);
555 float get_path_follow_position_lookahead_distance();
590 void set_wedged_trap_time_threshold(
float threshold);
598 float get_wedged_trap_time_threshold();
626 void set_first_no_progress_trap_time_threshold(
float threshold);
635 float get_first_no_progress_trap_time_threshold();
661 void set_second_no_progress_trap_time_threshold(
float threshold);
670 float get_second_no_progress_trap_time_threshold();
679 void set_untrap_method_random_turn_max_tries(
int max_tries);
687 int get_untrap_method_random_turn_max_tries();
695 void set_untrap_method_ghost_duration(
float duration);
703 float get_untrap_method_ghost_duration();
772 void set_speed_type_radius_hysteresis(
float hysteresis_distance);
780 float get_speed_type_radius_hysteresis();
814 void set_radius_variation(
float distance);
822 float get_radius_variation();
831 int set_turning_motions_enabled(
int enabled);
839 int get_turning_motions_enabled();
902 void set_max_orientation_change_rate(
float max_orientation_change_rate);
910 float get_max_orientation_change_rate();
922 void set_influence_center_shift(
float x,
float y,
float z);
938 void set_vehicle_base_influence_box(
float min_x,
float min_y,
float min_z,
939 float max_x,
float max_y,
float max_z);
946 void get_vehicle_base_influence_box(
float* min_x,
float* min_y,
float* min_z,
947 float* max_x,
float* max_y,
float* max_z);
954 void set_influence_box_enabled(
int enabled = 1);
961 int get_influence_box_enabled();
964 void set_influence_box_forward_multiplier(
float value);
965 float get_influence_box_forward_multiplier();
968 void set_influence_box_sideways_multiplier(
float value);
969 float get_influence_box_sideways_multiplier();
972 void set_influence_box_angular_multiplier(
float value);
973 float get_influence_box_angular_multiplier();
987 void set_feeler_enabled(
int feeler_index,
995 int get_feeler_enabled(
int feeler_index);
1005 void set_feeler_rz_offset(
int feeler_index,
1006 float feeler_rz_offset);
1014 float get_feeler_rz_offset(
int feeler_index);
1023 void set_feeler_height(
int feeler_index,
1024 float feeler_height);
1031 float get_feeler_height(
int feeler_index);
1041 void set_feeler_collision_distance(
int feeler_index,
1042 float collision_distance);
1050 float get_feeler_collision_distance(
int feeler_index);
1060 void set_feeler_turn_distance(
int feeler_index,
1061 float turn_distance);
1069 float get_feeler_turn_distance(
int feeler_index);
1077 void set_feeler_turn_direction(
int feeler_index,
1108 void set_path_planner_preferred_region_mask(
int mask);
1119 int get_path_planner_preferred_region_mask();
1130 void set_path_planner_preferred_cost_bias(
float value);
1138 float get_path_planner_preferred_cost_bias();
1156 void set_path_planner_neutral_cost_bias(
float value);
1164 float get_path_planner_neutral_cost_bias();
1179 void set_path_planner_repulsed_region_mask(
int mask);
1187 int get_path_planner_repulsed_region_mask();
1202 void set_path_planner_repulsed_cost_bias(
float value);
1210 float get_path_planner_repulsed_cost_bias();
1219 void set_path_planner_fallback_region(
const char* fallback_region_name);
1227 const char* get_path_planner_fallback_region();
1236 void set_wander_uses_path_planner(
int wander_uses_path_planner);
1244 int get_wander_uses_path_planner();
1255 void set_pursue_uses_path_planner(
int pursue_uses_path_planner);
1263 int get_pursue_uses_path_planner();
1280 void set_max_LOS_travel_distance(
float distance);
1288 float get_max_LOS_travel_distance();
1302 void set_desired_navpath_distance_threshold(
float threshold);
1311 float get_desired_navpath_distance_threshold();
1324 void set_path_planner_cost_rule(
int mask);
1325 int get_path_planner_cost_rule();
1327 float get_near_destination_distance();
1328 void set_near_destination_distance(
float dist);
1330 int get_navpath_current_waypoint_index();
1331 int get_navpath_num_waypoints();
1335 float get_navpath_offset_y();
1336 void set_navpath_offset_y(
float y);
1342 #ifdef CPLUSPLUS_ONLY
1344 bdiScenarioAgentParams* get_scripted_object() {
return m_scripted_object;}
1361 bdiScenarioAgentParams* m_scripted_object;
1362 bdiScenarioAgent* m_agent_object;
1364 friend class bdiScenarioAgentParams;
1365 friend class bdiScenarioAgent;