Buy-able of cloak device? how to?
-
I know its need the flhook to make the cloak device to work, and I was setting and test it no problem.
And I was edit the hex let the cloak device can be equip.
I was try all I can think of way to make it buy-able like in st_equip.ini add:
[ShieldGenerator]
nickname = cloak_device_01
ids_name = 525139
ids_info = 525139
DA_archetype = equipment\models\st\li_refractor_shield.3db
material_library = equipment\models\li_equip.mat
HP_child = HPConnect
hit_pts = 100000
explosion_resistance = 0.500000
debris_type = debris_normal
parent_impulse = 20
child_impulse = 80
volume = 0.000000
mass = 10
regeneration_rate = 0
max_capacity = 0
toughness = 0
cloakin_fx = no_cloakeffect01
cloakout_fx = no_cloakeffect01
hp_type = hp_fighter_shield_generator
offline_rebuild_time = 0
offline_threshold = 0.150000
constant_power_draw = 0
rebuild_power_draw = 0
shield_collapse_sound = null
shield_rebuilt_sound = null
separation_explosion = sever_debris
LODranges = 0, 20
lootable = falsebut when I was buy and equip it to my ship, then launch to space, I always get the “uncloaking” error msg.
May someone can make an example to help me?
Very grateful for your help.
-
Just no remembered why i have dropped “As Shield way” or “As internal equip way”. Maybe in moment of hook choosing.
Lets make CM way:
shiparch.ini
[ship] ... ; we will give player choice what equip slot to sacrifice for cloak hp_type = hp_countermeasure_dropper, HpCM01, HpMine01 hp_type = hp_mine_dropper, HpCM01, HpMine01 ...
weapon_equip.ini
... [CloakingDevice] nickname = cloak_fighter ids_name = 3008 ids_info = 2208 hit_pts = 1000000000 DA_archetype = Equipment\models\weapons\no_fighter_gun.cmp material_library = Equipment\models\hardware.mat material_library = Ships\nomad\nomad_fx.txm HP_child = HPConnect mass = 1 volume = 2 power_usage = 0 cloakin_time = 4 cloakout_time = 4 cloakin_fx = no_cloakeffect01 cloakout_fx = no_cloakeffect01 debris_type = debris_normal ...
weapon_good.ini
... [Good] nickname = cloak_fighter equipment = cloak_fighter category = equipment price = 900000000 item_icon = equipment\models\commodities\nn_icons\equipicon_nomadpower.3db combinable = false ids_name = 3008 ids_info = 2208 DA_archetype = Equipment\models\weapons\no_fighter_gun.cmp material_library = Equipment\models\hardware.mat material_library = Ships\nomad\nomad_fx.txm ...
market_misc.ini
... [BaseGood] base = rh01_02_base MarketGood = cloak_fighter, 0, 0.75, 100, 100, 0, 1.04035 ...