From 29f49ea143a31ff034bd463890c9ef4612fedf02 Mon Sep 17 00:00:00 2001 From: D4rkl1ght3r <86805404+D4rkl1ght3r@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:32:36 +0100 Subject: [PATCH] Add Liberty Cruiser --- DATA/COCKPITS/li_cruiser.ini | 15 +++++ DATA/EQUIPMENT/goods.ini | 33 ++++++++++ DATA/EQUIPMENT/market_ships.ini | 1 + DATA/EQUIPMENT/weapon_equip.ini | 104 +++++++++++++++++++++++++++++++- DATA/SHIPS/shiparch.ini | 46 ++++++++++++++ 5 files changed, 198 insertions(+), 1 deletion(-) create mode 100644 DATA/COCKPITS/li_cruiser.ini diff --git a/DATA/COCKPITS/li_cruiser.ini b/DATA/COCKPITS/li_cruiser.ini new file mode 100644 index 00000000..e46dda54 --- /dev/null +++ b/DATA/COCKPITS/li_cruiser.ini @@ -0,0 +1,15 @@ +[Cockpit] +mesh = cockpits\liberty\models\li_freighter_cockpit.cmp +int_brightness = 0.500000 +head_turn = 30, 10 + +[CockpitCamera] + +[TurretCamera] +tether = 0.000000, 40, 220 +yaw_rotate_speed = 2.000000 +pitch_rotate_speed = 1.500000 +accel_speed = 5 + +[RearViewCamera] +view_position = 0, 25, 170 \ No newline at end of file diff --git a/DATA/EQUIPMENT/goods.ini b/DATA/EQUIPMENT/goods.ini index f6494b84..b28c1736 100644 --- a/DATA/EQUIPMENT/goods.ini +++ b/DATA/EQUIPMENT/goods.ini @@ -3264,3 +3264,36 @@ addon = contrail01, HpContrail01, 1 addon = contrail01, HpContrail02, 1 addon = DockingLightRedSmall, HpDockLight01, 1 addon = DockingLightRedSmall, HpDockLight02, 1 + + + +; Liberty Cruiser Player + +[Good] +nickname = licr_hull +category = shiphull +ship = li_cruiser_player +price = 5000000 +ids_name = 237031 +item_icon = Equipment\models\commodities\nn_icons\li_cruiser.3db + +[Good] +nickname = licr_package +category = ship +hull = licr_hull +addon = ge_fighter_power01, internal, 1 +addon = ge_s_scanner_02, internal, 1 +addon = ge_s_tractor_01, internal, 1 +addon = ge_lc_engine_01, internal, 1 +addon = sfx_rumble_cruiser +addon = rh_battleship_turret03_a_player, HpWeapon01 +addon = li_cruiser_turret01_player, HpTurret_L5_01 +addon = li_cruiser_turret01_player, HpTurret_L5_02 +addon = li_cruiser_turret01_player, HpTurret_L5_05 +addon = armor_scale_13, internal, 1 +addon = LargeWhiteSpecial, HpHeadLight01 +addon = LargeWhiteSpecial, HpHeadLight02 +addon = SlowLargeBlue, HpRunningLight03 +addon = SlowLargeBlue, HpRunningLight06 +addon = SlowLargeBlue, HpRunningLight08 +addon = SlowLargeBlue, HpRunningLight09 diff --git a/DATA/EQUIPMENT/market_ships.ini b/DATA/EQUIPMENT/market_ships.ini index 325a42e6..fea2fb4f 100644 --- a/DATA/EQUIPMENT/market_ships.ini +++ b/DATA/EQUIPMENT/market_ships.ini @@ -169,6 +169,7 @@ marketgood = pf_package, 2, -1, 1, 1, 0, 1, 1 [BaseGood] base = Li01_14_base marketgood = heavylifter_package, 1, -1, 1, 1, 0, 1, 1 +marketgood = licr_package, 16, -1, 1, 1, 0, 1, 1 [BaseGood] base = Li01_15_base diff --git a/DATA/EQUIPMENT/weapon_equip.ini b/DATA/EQUIPMENT/weapon_equip.ini index cf20719b..54e4dcb5 100644 --- a/DATA/EQUIPMENT/weapon_equip.ini +++ b/DATA/EQUIPMENT/weapon_equip.ini @@ -32691,4 +32691,106 @@ LODranges = 0, 999999 [LOD] obj = barrel -LODranges = 0, 999999 \ No newline at end of file +LODranges = 0, 999999 + +[Munition] +nickname = li_cruiser_turret01_player_ammo +hp_type = hp_gun +requires_ammo = false +hit_pts = 2 +hull_damage = 440 +energy_damage = 0 +one_shot_sound = fire_capship +munition_hit_effect = li_capgun_01_impact +const_effect = li_capgun_01_proj +lifetime = 1.000000 +force_gun_ori = false +mass = 1 +volume = 0.000100 + +[Gun] +nickname = li_cruiser_turret01_player +ids_name = 263376 +ids_info = 264376 +DA_archetype = equipment\models\turret\li_turret05.cmp +material_library = equipment\models\li_turret.mat +HP_child = HPConnect +hit_pts = 4800 +explosion_resistance = 1 +debris_type = debris_turret_med +parent_impulse = 20 +volume = 600 +child_impulse = 80 +mass = 10 +damage_per_fire = 0 +power_usage = 0 +refire_delay = 0.500000 +muzzle_velocity = 1222.199951 +toughness = 0.800000 +flash_particle_name = li_capgun_01_flash +flash_radius = 15 +light_anim = l_gun01_flash +projectile_archetype = li_cruiser_turret01_player_ammo +separation_explosion = sever_debris +auto_turret = true +turn_rate = 90 +lootable = false + +[LOD] +obj = Root +LODranges = 0, 350 + +[LOD] +obj = barrel +LODranges = 0, 400 + +[Munition] +nickname = rh_battleship_turret03_a_player_ammo +hp_type = hp_gun +requires_ammo = false +hit_pts = 2 +hull_damage = 150000 +energy_damage = 0 +one_shot_sound = fire_capship_forward_gun +munition_hit_effect = explosion_licruiser_maingun +const_effect = li_cruiser_maingun +lifetime = 3.0 +force_gun_ori = true +mass = 1 +volume = 0.000100 + +[Gun] +nickname = rh_battleship_turret03_a_player +ids_name = 263481 +ids_info = 264481 +DA_archetype = equipment\models\turret\li_cruiser_gun01.cmp +material_library = equipment\models\li_turret.mat +HP_child = HPConnect +hit_pts = 0 +explosion_resistance = 1.000000 +debris_type = debris_turret_med +parent_impulse = 20 +child_impulse = 80 +volume = 0 +mass = 10 +damage_per_fire = 0 +power_usage = 0 +refire_delay = 10 +muzzle_velocity = 400 +toughness = 5.300000 +flash_particle_name = rtc_nomadtorpedo_flash +flash_radius = 100 +light_anim = l_gun01_flash +projectile_archetype = rh_battleship_turret03_a_player_ammo +separation_explosion = sever_debris +auto_turret = true +turn_rate = 0 +lootable = false + +[LOD] +obj = Root +LODranges = 0, 1200 + +[LOD] +obj = barrel +LODranges = 0, 1000 \ No newline at end of file diff --git a/DATA/SHIPS/shiparch.ini b/DATA/SHIPS/shiparch.ini index 2030c27d..2e5170fe 100644 --- a/DATA/SHIPS/shiparch.ini +++ b/DATA/SHIPS/shiparch.ini @@ -9799,3 +9799,49 @@ dmg_obj = cv_fighter5_top_wing_cap hit_pts = 3135 root_health_proxy = true +; Liberty Cruiser + +[Ship] +ids_name = 237031 +ids_info = 0 ;GENERATEXMLRES(li_cruiser_fullstats) +ids_info1 = 0 ;GENERATEXMLRES(li_cruiser_description) +ids_info2 = 66608 +ids_info3 = 0 ;GENERATEXMLRES(li_cruiser_stats) +nickname = li_cruiser_player +LODranges = 0, 200, 400, 600, 1000, 6000 +msg_id_prefix = gcs_refer_shiparch_Libc +mission_property = can_use_med_moors +type = FREIGHTER +DA_archetype = ships\liberty\li_cruiser\li_cruiser.cmp +material_library = ships\liberty\li_capships.mat +material_library = fx\envmapbasic.mat +envmap_material = envmapbasic +hit_pts = 43300 +explosion_arch = explosion_instant +fuse = li_cruiser_body_fuse, 0.000000, 1 +fuse = li_cruiser_burning_fuse01, 0.000000, 10825 +fuse = li_cruiser_burning_fuse02, 0.000000, 5413 +surface_hit_effects = 0, small_hull_hit_light01, small_hull_hit_light02, small_hull_hit_light03 +surface_hit_effects = 150, small_hull_hit_medium01, small_hull_hit_medium02, small_hull_hit_medium03 +surface_hit_effects = 300, small_hull_hit_heavy01, small_hull_hit_heavy02, small_hull_hit_heavy03 +steering_torque = 1320000000, 1320000000, 1320000000 +angular_drag = 6400000000, 6400000000, 6400000000 +rotation_inertia = 200000000, 1800000000, 1800000000 +nudge_force = 300000.000000 +HP_bay_surface = HpBayDoor01 +HP_bay_external = HpBayDoor02 +HP_tractor_source = HpTractor_Source +num_exhaust_nozzles = 4 +nanobot_limit = 0 +shield_battery_limit = 0 +linear_drag = 2.000000 +strafe_force = 250000 +mass = 5000.000000 +hold_size = 200 +cockpit = cockpits\li_cruiser.ini +camera_offset = 28, 200 +camera_angular_acceleration = 0.100000 +camera_horizontal_turn_angle = 8 +camera_vertical_turn_up_angle = 5 +camera_vertical_turn_down_angle = 12 +camera_turn_look_ahead_slerp_amount = 1.000000 \ No newline at end of file