Alcander's Freelimits
-
I figured scanner/tractor beam/armor would be universal, so didnāt worry about it. But if you want it, Iāll go ahead and add it, since it shouldnāt take much. Theyāll all still use the shield, though, and no, unmounting the shield canāt be helped.
The second version isnāt looking good. Iāve managed to make it display what type it is (like in āElite Engine-Class 10ā), but thatās using External Equipment, not Internal, and it doesnāt show up in the mount point. Iāll keep trying, but donāt get your hopes up.
-
Another possibility could be to make more than 10 shield classes? Itād still be the same HP type, but you could use, say, 1 to 10 for shields, 11 to 15 for power and 16 to 20 for scanners (just an example).
Donāt know the inner workings of what youāre doing, but I thought it could be an alternative.
-
The main problem lies in internal equipment not having a hard point, but one is required to make all this work. Thatās where the second version comes in, if I can get it workingā¦
Now that you bring it up, though, shouldnāt be that difficult to extend what Iāve done to add additional types (gunboat, cruiser, battleship, whatever) and more classes (but isnāt 10 enough?) to all the existing hard points.
-
maybeā¦ if you just let the shield slot empty and create a new one for the shields to be mounted much like you are doing with the engines, power plants, etcā¦
i donā t know itās just an ideaā¦ well, at least every internal would be in the same basketā¦
does it make sense?
-
Sorted it out, so find attached EngClass2 (although itās still engclass.dll). Engines and Powerplants are now truly mountable equipment. Hope you all can follow my instructions okay, 'cos if you get it wrong, they wonāt work rightā¦
Now, how far would you like to see this developed? I was thinking may as well go all the way. That means every item of equipment has five types and 20 classes. The types are no type (like the guns and turrets are now), fighter, elite, freighter and capital. Would you like guns and missiles to become separate types? I was also going to have five āuserā items, available for whatever you want (such as Evolutions shield capacitor/generator and power booster). Iād also move Armor into External Equipment.
-
adoxa wrote:
Now, how far would you like to see this developed? I was thinking may as well go all the way. That means every item of equipment has five types and 20 classes. The types are no type (like the guns and turrets are now), fighter, elite, freighter and capital. Would you like guns and missiles to become separate types? I was also going to have five āuserā items, available for whatever you want (such as Evolutions shield capacitor/generator and power booster). Iād also move Armor into External Equipment.Yes! It would make expanding choices easy without crazy FLHook/FLAC mounting group plugins. The inability to create new hardpoint types/classes was the reason for these plugins in the first place. With this patch, it fixes it all.
hp_fighter_gun_special_1-10
hp_elite_gun_special_1-10
hp_freighter_gun_special_1-10
hp_capital_gun_special_1-10hp_fighter_missile_special_1-10
hp_elite_missile_special_1-10hp_fighter_turret_special_1-10
hp_elite_turret_special_1-10
hp_freighter_turret_special_1-10
hp_capital_turret_special_1-10hp_fighter_engine_special_1-10
hp_elite_engine_special_1-10
hp_freighter_engine_special_1-10
hp_capital_engine_special_1-10hp_fighter_power_special_1-10
hp_elite_power_special_1-10
hp_freighter_power_special_1-10
hp_capital_power_special_1-10hp_fighter_armor_special_1-10
hp_elite_armor_special_1-10
hp_freighter_armor_special_1-10
hp_capital_armor_special_1-10 -
a very nice peice of work
can I add seperate classes for torpedos 1-10 and mines to the list. torps especially and capital class torps / flak weapons
-
I tried to test this out, but seem to be messing it up somewhere. Iāve provided the code below (additions to facilitate the engclass.dll are highlighted in yellow). Could you please tell me where Iām messing it up?
Edit: I have properly defined the engclass.dll in the dacom.ini [Libraries] section.
misc_equip.ini
[Power]
nickname = med_scout_power
ids_name = 472018
ids_info = 492018
volume = 0.000000
mass = 10
DA_archetype = equipment\models\hardware\li_fusion_reactor.3db
material_library = equipment\models\hardware.mat
capacity = 6400
charge_rate = 640
thrust_capacity = 1000
thrust_charge_rate = 100
lootable = false
hp_type = hp_fighter_power_special_2misc_good.ini
[Good]
nickname = med_scout_power
equipment = med_scout_power
category = equipment
price = 500
item_icon = equipment\models\commodities\nn_icons\EQUIPICON_powerplant.3db
combinable = false
ids_name = 472018
ids_info = 492018
shop_archetype = equipment\models\hardware\li_fusion_reactor.3db
material_library = equipment\models\hardware.mat
attachment_archetype = equipment\models\hardware\li_fusion_reactor.3db
material_library = equipment\models\hardware.matshiparch.ini
[Ship]
ids_name = 237034 ;Patriot Medium Scout
ids_info = 495003 ;Medium Scout Full Stats
ids_info1 = 66571 ;Patriot Infocard
ids_info2 = 495021 ;Half Stat Normal Left ;Standard Infocard
ids_info3 = 495004 ;Medium ScoutHalf Stats
nickname = li_fighter ;Patriot Liberty Medium Scout
ship_class = 0; Scout
type = FIGHTER
msg_id_prefix = gcs_refer_shiparch_Liblf
mission_property = can_use_berths
DA_archetype = ships\liberty\li_fighter\li_fighter.cmp
material_library = ships\liberty\li_playerships.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
cockpit = cockpits\liberty\l_fighter.ini
pilot_mesh = generic_pilot
LODranges = 0, 40, 60, 140, 300, 1000
fuse = li_fighter_gas01, 0, -1
fuse = li_fighter_smoke01, 0, -1
fuse = intermed_damage_smallship02, 0, 600
fuse = intermed_damage_smallship03, 0, 400
fuse = drop_cargo_fuse, 0, 1
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
explosion_arch = explosion_li_fighter
camera_offset = 6, 22
camera_angular_acceleration = 0.050000
camera_horizontal_turn_angle = 23
camera_vertical_turn_up_angle = 5
camera_vertical_turn_down_angle = 30
camera_turn_look_ahead_slerp_amount = 1
bay_door_anim = Sc_open baydoor
bay_doors_open_snd = cargo_doors_open
bay_doors_close_snd = cargo_doors_close
HP_bay_surface = HpBayDoor01
HP_bay_external = HpBayDoor02
num_exhaust_nozzles = 1
HP_tractor_source = HpTractor_Source
hit_pts = 4000
nanobot_limit = 25
shield_battery_limit = 25
hold_size = 35
steering_torque = 20000, 20000, 96150
angular_drag = 11350, 11350, 40210
rotation_inertia = 2805, 2805, 2805
nudge_force = 30000
strafe_force = 20000
strafe_power_usage = 2
mass = 100
linear_drag = 1
max_bank_angle = 35
hp_type = hp_gun_special_4, HpWeapon03, HpWeapon04
hp_type = hp_gun_special_3, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04
hp_type = hp_gun_special_2, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04
hp_type = hp_gun_special_1, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04
hp_type = hp_fighter_shield_special_3, HpShield01
hp_type = hp_fighter_shield_special_2, HpShield01
hp_type = hp_fighter_shield_special_1, HpShield01
hp_type = hp_thruster, HpThruster01
hp_type = hp_mine_dropper, HpMine01
hp_type = hp_countermeasure_dropper, HpCM01
shield_link = l_fighter_shield01, HpMount, HpShield01
hp_type = hp_fighter_power_special_2, HpCloak01goods.ini
[Good]
nickname = lf_hull ;Patriot
category = shiphull
ship = li_fighter
price = 75000
ids_name = 12001
item_icon = Equipment\models\commodities\nn_icons\li_fighter.3db[Good]
nickname = lf_package ;Patriot
category = ship
hull = lf_hull
addon = li_scout_engine, internal, 1
addon = med_scout_power, HPCloak01, 1
addon = ge_s_scanner_01, internal, 1
addon = ge_s_tractor_01, internal, 1
addon = scout_01_01, HpShield01, 1
addon = LargeWhiteSpecial, HpHeadlight, 1
addon = SlowSmallBlue, HpRunningLight01, 1
addon = SlowSmallBlue, HpRunningLight02, 1
addon = SlowSmallBlue, HpRunningLight03, 1
addon = SlowSmallBlue, HpRunningLight04, 1
addon = contrail01, HpContrail01, 1
addon = contrail01, HpContrail02, 1
addon = DockingLightRedSmall, HpDocklight01, 1
addon = DockingLightRedSmall, HpDocklight02, 1 -
@Forsaken: Added your lines to the normal Patriot and discovered the crash. Turns out when I changed how Internal Equipment is transferred, I neglected to test it. Sorry about that. The new version has replaced the earlier attachment. And donāt forget you have to change the save games to use the new hardpoints, too.
BTW, should it be āhard pointā or āhardpointā? I tend to think of it as one word, which is what the error messages and manual use, but the in-game messages have it as two words.
@NeXoSE: Sure, as long as you change all the other data to match it, as well as the resource strings. Youāll also need to change ā+= 60ā to ā+= 70ā in Patch (knew I should have defined that).
-
Sweetā¦ another nagging longtime FL limitation quashed!!
Thankx Adoxa this should provide some ā¦ interesting work this week for me (lol)
-
Tiny Problemā¦ not shure if this is how its meant to work thoughā¦
I took pics to show easy whatās going downā¦Oki as you can seeā¦ its worksā¦ just wont mount hereās the relevant codeā¦
For the ship
[Good]
addon = xc_hf_engine, Hpxx01, 1
addon = basic_vhf01, Hpxx02, 1
[Ship]
hp_type = hp_fighter_engine_special_1, Hpxx01
hp_type = hp_fighter_power_special_1, Hpxx02Engine & Powerplant
[Engine]
nickname = xc_hf_engine
ids_name = 590022
ids_info = 589964
volume = 0.000000
mass = 10
max_force = 98000
linear_drag = 599
power_usage = 0
reverse_fraction = 0.400000
cruise_charge_time = 5.000000
cruise_power_usage = 100
flame_effect = gf_br_smallengine01_fire
trail_effect = gf_br_smallengine01_trail
trail_effect_player = gf_br_smallengine01_playtrail
cruise_disrupt_effect = xc_md_cruisedisruption
cruise_speed = 500
character_start_sound = engine_ku_freighter_start
character_loop_sound = engine_no_loop
character_pitch_range = -50, 25
rumble_sound = rumble_nomad
rumble_atten_range = -5, 0
rumble_pitch_range = -25, 25
engine_kill_sound = engine_oe_h_fighter_kill
cruise_start_sound = engine_oe_h_fighter_start
cruise_loop_sound = engine_oe_h_fighter_loop
cruise_stop_sound = engine_ci_cruise_stop
cruise_disrupt_sound = cruise_disrupt
cruise_backfire_sound = cruise_backfire
indestructible = false
outside_cone_attenuation = -3
inside_sound_cone = 60
outside_sound_cone = 180
lootable = false
HP_child = HPConnect
hp_type = hp_fighter_engine_special_1
DA_archetype = equipment\models\HARDWARE\nomad_power_cell.3db
material_library = ships\nomad\nomad_fx.txm[Power]
nickname = Basic_VHF01
ids_name = 590681
ids_info = 590008
volume = 0
mass = 10
DA_archetype = equipment\models\hardware\li_fusion_reactor.3db
material_library = equipment\models\hardware.mat
capacity = 17500
charge_rate = 3200
thrust_capacity = 1800
thrust_charge_rate = 180
lootable = false
hp_type = hp_fighter_power_special_1[Good]
nickname = xc_hf_engine
ids_name = 590022
ids_info = 589964
equipment = xc_hf_engine
price = 1500000
item_icon = equipment\models\commodities\nn_icons\equipicon_engine.3db
shop_archetype = equipment\models\commodities\crates\crate_grey.3db
category = equipment
combinable = false[Good]
nickname = Basic_VHF01
ids_name = 590681
ids_info = 590008
equipment = Basic_VHF01
price = 1500000
item_icon = equipment\models\commodities\nn_icons\equipicon_powerplant.3db
shop_archetype = equipment\models\hardware\li_fusion_reactor.3db
material_library = equipment\models\hardware.mat
category = equipment
combinable = falsePowerplant worksā¦ Ive had switchable ones for a while nowā¦ itās nice to be able to level them thoughā¦ Just the engineāsā¦
Awesome as always Adoxa!
8-)EDIT: just to let knowā¦ Iāve tryed different HP*** 's including the Engine oneā¦ Ive got min 5 HPxx aready on all my ships so it just works easyer for this test (or just easyerā¦) For thisā¦ i grabed my newest ships and altered a few to enable swaping engines over per the instuctions (and the start ship as well).
Is there a proper place i should place my Engine Good dataā¦ currently its in āEngine_Good.iniā maybe putting them elsewhere might fix/help ie: misc_good.iniā¦ thereās about 6 different things that could be the issueā¦ im betting its the āsimplestāā¦ as freakin alwaysā¦ lol but i dont wanna fix untill im shureā¦ as thats a ton of work for a āmaybeā