361 lines
12 KiB
Modula-2
361 lines
12 KiB
Modula-2
|
//
|
||
|
// husky
|
||
|
//
|
||
|
|
||
|
export frankie {
|
||
|
options -prefix HUS_ -rotate 90 -nomerge -sourcedir models/vehicles/edf_husky/dev_sd -destdir models/vehicles/edf_husky/ -keep base carrier_driver front_left_lower_wishbone rear_left_lower_wishbone front_left_upper_wishbone front_left_wheel rear_left_upper_wishbone rear_left_wheel front_right_lower_wishbone rear_right_lower_wishbone front_right_upper_wishbone front_right_wheel rear_right_upper_wishbone rear_right_wheel handle_bars cam_1 cam_2 driver_position left_exit right_exit rear_exit left_exhaust right_exhaust rear_light right_hand left_hand -noAnimate rear_bull_bars rear_armour front_armour front_container left_container right_container body front_bull_bars s_front_container s_left_container s_front_bull_bars s_body s_rear_bull_bars s_right_container
|
||
|
|
||
|
mesh husky_lod0.mb -dest husky.md5mesh
|
||
|
anim husky_lod0.mb -dest husky.md5anim -range 0 1
|
||
|
|
||
|
options -prefix HUS_ -rotate 90 -nomerge -noJoints -sourcedir models/vehicles/edf_husky/dev_sd -destdir models/vehicles/edf_husky/ -keep base carrier_driver front_left_lower_wishbone rear_left_lower_wishbone front_left_upper_wishbone front_left_wheel rear_left_upper_wishbone rear_left_wheel front_right_lower_wishbone rear_right_lower_wishbone front_right_upper_wishbone front_right_wheel rear_right_upper_wishbone rear_right_wheel handle_bars cam_1 cam_2 driver_position left_exit right_exit rear_exit left_exhaust right_exhaust rear_light right_hand left_hand -noAnimate rear_bull_bars rear_armour front_armour front_container left_container right_container body front_bull_bars s_front_container s_left_container s_front_bull_bars s_body s_rear_bull_bars s_right_container
|
||
|
|
||
|
mesh husky_lod3.mb -dest husky_lod1.md5mesh
|
||
|
mesh husky_lod3.mb -dest husky_lod2.md5mesh
|
||
|
mesh husky_lod3.mb -dest husky_lod3.md5mesh
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
model vehicle_husky {
|
||
|
mesh models/vehicles/edf_husky/husky.md5mesh
|
||
|
|
||
|
anim base models/vehicles/edf_husky/husky.md5anim {
|
||
|
}
|
||
|
|
||
|
anim ik_pose models/vehicles/edf_husky/husky.md5anim {
|
||
|
}
|
||
|
|
||
|
anim initial models/vehicles/edf_husky/husky.md5anim {
|
||
|
}
|
||
|
|
||
|
anim idle models/vehicles/edf_husky/husky.md5anim {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
deployObject deployobject_husky {
|
||
|
"name" "husky"
|
||
|
"title" "Husky"
|
||
|
"wait_time" "1000"
|
||
|
"def_deployable" "vehicle_husky"
|
||
|
"def_deployable_carrier" "vehicle_cargoplane"
|
||
|
"mask" "dm_default"
|
||
|
"object_radius" "2048"
|
||
|
"category" "vehicles"
|
||
|
"credit_required" "0.1"
|
||
|
}
|
||
|
|
||
|
entityDef vehicle_husky {
|
||
|
"inherit" "vehicle_base_gdf"
|
||
|
|
||
|
"editor_color" "1 .5 0"
|
||
|
"editor_mins" "-8 -8 -8"
|
||
|
"editor_maxs" "8 8 8"
|
||
|
"editor_usage" "Vehicle."
|
||
|
|
||
|
"spawnclass" "sdVehicle_RigidBody"
|
||
|
"scriptObject" "vehicle_husky"
|
||
|
"vs_vehicleScript" "husky"
|
||
|
|
||
|
"control_context" "g_bind_context_husky"
|
||
|
|
||
|
"angular_friction" "0.5"
|
||
|
"linear_friction" "0.1"
|
||
|
"bouncyness" "0.4"
|
||
|
|
||
|
"health" "400"
|
||
|
|
||
|
"stat_name" "husky"
|
||
|
|
||
|
"info_name" "game/vec/husky"
|
||
|
|
||
|
"model" "vehicle_husky"
|
||
|
|
||
|
"gui_vehicle" "guis/vehicles/edf_husky"
|
||
|
|
||
|
"parachute_deploy_delay" "2.7"
|
||
|
|
||
|
"snd_engine_start" "sounds/vehicles/husky/engine/start"
|
||
|
"snd_engine_stop" "sounds/vehicles/husky/engine/stop"
|
||
|
"snd_engine_idle" "sounds/vehicles/husky/engine/idle"
|
||
|
"snd_engine_drive" "sounds/vehicles/husky/engine/drive"
|
||
|
"snd_engine_hardaccel" "sounds/vehicles/husky/engine/hardaccel"
|
||
|
|
||
|
"snd_overdrive" "sounds/vehicles/husky/overdrive"
|
||
|
"snd_overdrive_stop" "sounds/vehicles/husky/overdrive/stop"
|
||
|
"snd_horn_loop" "sounds/vehicles/husky/horn"
|
||
|
"snd_horn_stop" "sounds/vehicles/husky/horn/stop"
|
||
|
|
||
|
"snd_health_warn" "sounds/vehicles/misc/warning/ground/gdf"
|
||
|
|
||
|
"engine_pitch_low" "0.95"
|
||
|
"engine_pitch_high" "1.2"
|
||
|
"engine_speed_low" "15"
|
||
|
"engine_speed_high" "60"
|
||
|
|
||
|
"overdrive_pitch_low" "0.9"
|
||
|
"overdrive_pitch_high" "1.5"
|
||
|
"overdrive_speed_low" "20"
|
||
|
"overdrive_speed_high" "90"
|
||
|
|
||
|
//----------------------------------------------------------
|
||
|
// Engine sound crossfade settings
|
||
|
|
||
|
"engine_accel_spool_time" "0.033"
|
||
|
"engine_decel_spool_time" "0.033"
|
||
|
|
||
|
"engine_idle_min_speed" "22.0"
|
||
|
"engine_idle_max_speed" "80.0"
|
||
|
"engine_idle_min_vol" "0.0"
|
||
|
"engine_idle_max_vol" "-15.0"
|
||
|
"engine_idle_power" "1.0"
|
||
|
"engine_idle_fade_time" "0.066"
|
||
|
|
||
|
"engine_drive_min_speed" "0.0"
|
||
|
"engine_drive_max_speed" "80.0"
|
||
|
"engine_drive_min_vol" "-10.0"
|
||
|
"engine_drive_max_vol" "0.0"
|
||
|
"engine_drive_power" "0.5"
|
||
|
"engine_drive_fade_time" "0.066"
|
||
|
|
||
|
"engine_accel_pitch_mult" "1.5"
|
||
|
"engine_accel_pitch_offset" "0.875"
|
||
|
|
||
|
"engine_accel_min_speed" "0.0"
|
||
|
"engine_accel_mid_speed" "10.0"
|
||
|
"engine_accel_max_speed" "80.0"
|
||
|
"engine_accel_min_vol" "-5.0"
|
||
|
"engine_accel_mid_vol" "5.0"
|
||
|
"engine_accel_max_vol" "-2.0"
|
||
|
"engine_accel_power_low" "0.1"
|
||
|
"engine_accel_power_high" "5.0"
|
||
|
"engine_accel_fade_time" "0.0"
|
||
|
|
||
|
"engine_accel_yaw_vol" "30.0"
|
||
|
"engine_accel_yaw_vol_mult" "0.0"
|
||
|
"engine_accel_yaw_pitch" "60.0"
|
||
|
"engine_accel_yaw_pitch_mult" "0.0"
|
||
|
|
||
|
//----------------------------------------------------------
|
||
|
|
||
|
|
||
|
"fast_accel_speed" "40"
|
||
|
"fast_accel_stop_speed" "25"
|
||
|
"slow_accel_speed" "1"
|
||
|
"slow_accel_stop_speed" "0.5"
|
||
|
"reverse_speed" "-5"
|
||
|
|
||
|
"max_sound_level" "-6"
|
||
|
|
||
|
"sound_control" "husky"
|
||
|
|
||
|
"climate_skin_key" "husky"
|
||
|
|
||
|
"crash_threshold_0" "20"
|
||
|
"crash_threshold_1" "500"
|
||
|
"crash_threshold_2" "1000"
|
||
|
"jump_threshold_0" "5"
|
||
|
"jump_threshold_1" "20"
|
||
|
"jump_threshold_2" "50"
|
||
|
|
||
|
"joint_steer" "handle_bars"
|
||
|
|
||
|
"steering_angle" "40"
|
||
|
"steering_speed_scale" "200"
|
||
|
"steering_speed_max" "150" // upper limit of steering scale
|
||
|
"steering_speed_min" "15" // lower limit of steering scale
|
||
|
"steering_return_factor" "1.5" // percentage of the max speed used to return the wheels to a straight position
|
||
|
"steering_ramp_power" "2"
|
||
|
"steering_ramp_offset" "0.7"
|
||
|
|
||
|
"simplesteer_forward_speed" "3.0"
|
||
|
"simplesteer_reverse_speed" "-4.0"
|
||
|
"simplesteer_centering_speed_min" "2.0"
|
||
|
"simplesteer_centering_speed_max" "15.0"
|
||
|
"simplesteer_centering_speed_air" "0.5"
|
||
|
"simplesteer_centering_ramp_threshold" "20.0" // beneath this speed the centering will ramp up from min to max
|
||
|
"simplesteer_reverse_angle_scale" "-0.5"
|
||
|
|
||
|
|
||
|
"brake_threshold" "50"
|
||
|
|
||
|
"decay_time" "20"
|
||
|
|
||
|
"dmg_collide" "damage_husky_collide"
|
||
|
|
||
|
"tt_enter" "vehicle_husky_enter"
|
||
|
|
||
|
|
||
|
"fx_destroy" "effects/vehicles/destroy"
|
||
|
|
||
|
"icon_size_cm" "16"
|
||
|
"mtr_commandmap" "guis/assets/commandmap/icon_vehicle"
|
||
|
"mtr_commandmap_unknown" "guis/assets/commandmap/icon_vehicle"
|
||
|
|
||
|
"table_gears" "husky_gear_speedchangetable"
|
||
|
"table_gearforces" "husky_gear_forcetable"
|
||
|
"table_gearspeeds" "husky_gear_speedtable"
|
||
|
|
||
|
"manualgear_next" "0.5"
|
||
|
"manualgear_length" "30"
|
||
|
|
||
|
"option_combat_model" "1"
|
||
|
"option_selection_combat_model" "1"
|
||
|
"option_task_interface" "1"
|
||
|
|
||
|
"fx_explode" "effects/base/explosion"
|
||
|
|
||
|
"fx_wheeldust" "effects/vehicles/dust/tire_dust_pavement"
|
||
|
"fx_wheelspin" "effects/vehicles/dust/tire_spin_pavement"
|
||
|
"fx_skid" "effects/vehicles/dust/tire_dust_pavement"
|
||
|
|
||
|
"fx_wheeldust_none" "effects/vehicles/dust/tire_dust_pavement"
|
||
|
"fx_wheelspin_none" "effects/vehicles/dust/tire_spin_pavement"
|
||
|
"fx_skid_none" "effects/vehicles/dust/tire_dust_pavement"
|
||
|
"fx_wheeldust_grass" "effects/vehicles/dust/tire_dust_grass"
|
||
|
"fx_wheelspin_grass" "effects/vehicles/dust/tire_spin_grass"
|
||
|
"fx_skid_grass" "effects/vehicles/dust/tire_dust_grass"
|
||
|
"fx_wheeldust_stone" "effects/vehicles/dust/tire_dust_stone"
|
||
|
"fx_wheelspin_stone" "effects/vehicles/dust/tire_spin_stone"
|
||
|
"fx_skid_stone" "effects/vehicles/dust/tire_dust_stone"
|
||
|
"fx_wheeldust_sand" "effects/vehicles/dust/tire_dust_sand"
|
||
|
"fx_wheelspin_sand" "effects/vehicles/dust/tire_spin_sand"
|
||
|
"fx_skid_sand" "effects/vehicles/dust/tire_dust_sand"
|
||
|
"fx_wheelspin_pavement" "effects/vehicles/dust/tire_spin_pavement"
|
||
|
"fx_wheeldust_pavement" "effects/vehicles/dust/tire_dust_pavement"
|
||
|
"fx_skid_pavement" "effects/vehicles/dust/tire_dust_pavement"
|
||
|
"fx_wheeldust_dirt" "effects/vehicles/dust/tire_dust_stone"
|
||
|
"fx_wheelspin_dirt" "effects/vehicles/dust/tire_spin_stone"
|
||
|
"fx_skid_dirt" "effects/vehicles/dust/tire_dust_stone"
|
||
|
"fx_wheeldust_dusty_road" "effects/vehicles/dust/tire_dust_sand"
|
||
|
"fx_wheelspin_dusty_road" "effects/vehicles/dust/tire_spin_sand"
|
||
|
"fx_skid_dusty_road" "effects/vehicles/dust/tire_dust_sand"
|
||
|
"fx_wheeldust_gravel" "effects/vehicles/dust/tire_dust_stone"
|
||
|
"fx_wheelspin_gravel" "effects/vehicles/dust/tire_spin_stone"
|
||
|
"fx_skid_gravel" "effects/vehicles/dust/tire_dust_stone"
|
||
|
"fx_wheeldust_default" "effects/vehicles/dust/tire_dust_pavement"
|
||
|
"fx_wheelspin_default" "effects/vehicles/dust/tire_spin_pavement"
|
||
|
"fx_skid_default" "effects/vehicles/dust/tire_dust_pavement"
|
||
|
"fx_wheeldust_snow" "effects/vehicles/dust/tire_dust_snow"
|
||
|
"fx_wheelspin_snow" "effects/vehicles/dust/tire_spin_snow"
|
||
|
"fx_skid_snow" "effects/vehicles/dust/tire_dust_snow"
|
||
|
"fx_wheeldust_concrete" "effects/vehicles/dust/tire_dust_pavement"
|
||
|
"fx_wheelspin_concrete" "effects/vehicles/dust/tire_spin_pavement"
|
||
|
"fx_skid_concrete" "effects/vehicles/dust/tire_dust_pavement"
|
||
|
|
||
|
"fx_wheeldust_water" "effects/vehicles/dust/tire_dust_water"
|
||
|
"fx_wheelspin_water" "effects/vehicles/dust/tire_spin_water"
|
||
|
"fx_skid_water" "effects/vehicles/dust/tire_dust_water"
|
||
|
|
||
|
"fx_damage_level1" "effects/vehicles/vehicle_flames_small_husky"
|
||
|
"fx_damage_level2" "effects/vehicles/vehicle_flames_medium_husky"
|
||
|
"fx_damage_level3" "effects/vehicles/vehicle_flames_large_husky"
|
||
|
"fx_damage_level_smoke" "effects/vehicles/vehicle_smoke_husky"
|
||
|
|
||
|
"fx_emped" "effects/generic_smoke/emp_small"
|
||
|
|
||
|
"emp_effect_joint" "base"
|
||
|
|
||
|
"damage_smoke" "70"
|
||
|
"damage_level1" "60"
|
||
|
"damage_level2" "45"
|
||
|
"damage_level3" "20"
|
||
|
|
||
|
"overdrive_time" "5"
|
||
|
"overdrive_chargetime" "30"
|
||
|
"overdrive_deadlength" "2"
|
||
|
"overdrive_factor" "1.5"
|
||
|
|
||
|
"gravity" "1066"
|
||
|
|
||
|
"autoRightRollSpeed" "12"
|
||
|
"autoRightPitchSpeed" "12"
|
||
|
"autoRightRaiseSpeed" "192"
|
||
|
"autoRightHeight" "32"
|
||
|
|
||
|
"joint_damage_smoke" "rear_light"
|
||
|
"joint_damage_fire" "rear_light"
|
||
|
|
||
|
"task_name" "game/vec/husky"
|
||
|
|
||
|
"collection_antivehicle" "antivehicle"
|
||
|
"collection_vehicles_light" "vehicles_light"
|
||
|
"collection_vehicles_gdf" "vehicles_gdf"
|
||
|
"collection_type" "husky"
|
||
|
|
||
|
"input_mode" "car"
|
||
|
"vehicle_control" "husky"
|
||
|
|
||
|
"min_gear_speed" "10"
|
||
|
"max_gear_speed" "50"
|
||
|
"power_curve_scale" "2.5"
|
||
|
|
||
|
"parachute_offset" "0 0 48"
|
||
|
|
||
|
"wake_point_0" "40 30 0"
|
||
|
"wake_point_1" "40 -30 0"
|
||
|
"wake_point_2" "-40 -25 0"
|
||
|
"wake_point_3" "-40 25 0"
|
||
|
|
||
|
"always_drop" "1"
|
||
|
|
||
|
"push_scale" "0.1"
|
||
|
|
||
|
//DECOY STUFF
|
||
|
|
||
|
"def_projectile_decoy" "projectile_decoy_husky"
|
||
|
"projectile_decoy_joint" "rear_light"
|
||
|
"projectile_decoy_rate" "3"
|
||
|
"projectile_decoy_charge" "100"
|
||
|
"projectile_decoy_max" "3"
|
||
|
"projectile_decoy_velocity" "50 0 500"
|
||
|
|
||
|
//mal: give the bots an easy means of identifying a vehicle and its traits
|
||
|
"vehicle_num" "0"
|
||
|
"vehicle_team" "0"
|
||
|
"vehicle_flags" "3"
|
||
|
|
||
|
"qc_spotted" "quickchat/context/attack/vehiclespotted"
|
||
|
}
|
||
|
|
||
|
damageDef damage_husky_collide {
|
||
|
damage "damage_husky_collide"
|
||
|
|
||
|
prof_damage "pro_vehicle_damage"
|
||
|
|
||
|
team_kill_cvar "g_allowComplaint_vehicles"
|
||
|
|
||
|
stat_name "husky_weapons"
|
||
|
|
||
|
tt_obituary "tooltips/killmsgs/vehicles/husky"
|
||
|
tt_obituary_unknown "tooltips/killmsgs/vehicles/husky/empty"
|
||
|
tt_obituary_team_kill "tooltips/killmsgs/vehicles/husky/teamkill"
|
||
|
tt_obituary_self "tooltips/killmsgs/vehicles/driving"
|
||
|
}
|
||
|
|
||
|
damageFilter damage_husky_collide {
|
||
|
type {
|
||
|
target "target_player_all"
|
||
|
damage 100
|
||
|
}
|
||
|
|
||
|
type {
|
||
|
target "target_veh_all"
|
||
|
damage 100
|
||
|
}
|
||
|
type {
|
||
|
target "target_supply_crate"
|
||
|
damage 200
|
||
|
}
|
||
|
type {
|
||
|
target "target_deployables_all"
|
||
|
damage 100
|
||
|
}
|
||
|
}
|
||
|
|
||
|
toolTip vehicle_husky_enter {
|
||
|
length 3
|
||
|
text "game/tt/husky" // "Have Fun!"
|
||
|
}
|