Lights, let''s figure them out.
I've been following Argh's posts lately on adding the ability to rearange/buy/sell lights, such as:
"I'm not totally sure... but I'm pretty sure that you could set up a Package that just had lights in it, without a Hull.
And I don't see any reason (at least no real logical one) why it might not be possible to code up Lights as Goods that you could simply buy in whatever configuration you wanted. After all... they're all mounted, just like any other equipment..."
and
"You could do this pretty easily by using the code I built for the XML Toolkit Mod for Power Upgrades. Simply create "Power Upgrades" (with no stat boosts, etc.- just the necessary entries and nothing else) use an invisible CMP (an easy job- just list a standard Shield CMP without listing a MAT) that had a given Light attached to a Hardpoint on that CMP via its Good entry. That'd allow you to buy/sell/rearrange lights however you wanted."
well, i have it *sorta* working. What I have doesn't necessarly add the lights themselvs. currently I have it appearing as shield objects instead to see if it would place them in the right hardpoints, which it did.
i'll paste what i have done below, and hopefully we can figure lights once and for all..
*st_equip
[ShieldGenerator
nickname = SlowSmallGreen1
ids_name = 263746
ids_info = 263746
color = 128, 255, 128
min_color = 32, 64, 32
bulb_size = 0.100000
glow_size = 0.750000
flare_cone = 110, 40
avg_delay = 2
blink_duration = 3
DA_archetype = equipment\models\st\ku_displacement_shield.3db
material_library = equipment\models\li_equip.mat
HP_child = HpConnect
hit_pts = 1000
explosion_resistance = 0.500000
debris_type = debris_normal
parent_impulse = 20
child_impulse = 80
volume = 0.000000
hp_type = hp_fighter_shield_special_1
power_usage = 0
lootable = false
separation_explosion = sever_debris
LODranges = 0, 20
*misc_good
[Good
nickname = SlowSmallGreen1
equipment = SlowSmallGreen1
category = equipment
price = 500
item_icon = equipment\models\commodities\nn_icons\EQUIPICON_thruster.3db
combinable = false
ids_name = 263746
ids_info = 263746
shop_archetype = equipment\models\st\ku_displacement_shield.3db
;material_library = equipment\models\li_equip.mat
shiparch:
hp_type = hp_fighter_shield_special_1, HpRunningLight01, HpRunningLight02, HpRunningLight03, HpRunningLight04, HpRunningLight05, HpRunningLight06, HpRunningLight07, HpRunningLight08, HpRunningLight09, HpRunningLight10
"I'm not totally sure... but I'm pretty sure that you could set up a Package that just had lights in it, without a Hull.
And I don't see any reason (at least no real logical one) why it might not be possible to code up Lights as Goods that you could simply buy in whatever configuration you wanted. After all... they're all mounted, just like any other equipment..."
and
"You could do this pretty easily by using the code I built for the XML Toolkit Mod for Power Upgrades. Simply create "Power Upgrades" (with no stat boosts, etc.- just the necessary entries and nothing else) use an invisible CMP (an easy job- just list a standard Shield CMP without listing a MAT) that had a given Light attached to a Hardpoint on that CMP via its Good entry. That'd allow you to buy/sell/rearrange lights however you wanted."
well, i have it *sorta* working. What I have doesn't necessarly add the lights themselvs. currently I have it appearing as shield objects instead to see if it would place them in the right hardpoints, which it did.
i'll paste what i have done below, and hopefully we can figure lights once and for all..
*st_equip
[ShieldGenerator
nickname = SlowSmallGreen1
ids_name = 263746
ids_info = 263746
color = 128, 255, 128
min_color = 32, 64, 32
bulb_size = 0.100000
glow_size = 0.750000
flare_cone = 110, 40
avg_delay = 2
blink_duration = 3
DA_archetype = equipment\models\st\ku_displacement_shield.3db
material_library = equipment\models\li_equip.mat
HP_child = HpConnect
hit_pts = 1000
explosion_resistance = 0.500000
debris_type = debris_normal
parent_impulse = 20
child_impulse = 80
volume = 0.000000
hp_type = hp_fighter_shield_special_1
power_usage = 0
lootable = false
separation_explosion = sever_debris
LODranges = 0, 20
*misc_good
[Good
nickname = SlowSmallGreen1
equipment = SlowSmallGreen1
category = equipment
price = 500
item_icon = equipment\models\commodities\nn_icons\EQUIPICON_thruster.3db
combinable = false
ids_name = 263746
ids_info = 263746
shop_archetype = equipment\models\st\ku_displacement_shield.3db
;material_library = equipment\models\li_equip.mat
shiparch:
hp_type = hp_fighter_shield_special_1, HpRunningLight01, HpRunningLight02, HpRunningLight03, HpRunningLight04, HpRunningLight05, HpRunningLight06, HpRunningLight07, HpRunningLight08, HpRunningLight09, HpRunningLight10