Cloak Plugin
-
I have put the Discovery MOD 4.84 and FLHook 1.6.0 togeather, and I have tried to configure the Cloak plugin, and I have also installed the following Plugins:
AntiCheat
Bounty
FlakCommon
DockRestrict
givecash
message
renameme
When in space, and typing /c or /cloak it just says “ERR Your ship does not have a cloaking device”, but I think that answers to the next two problems will fix it.
One problem is that I don’t know what different cloaking devices there are to put in Cloak.ini, It just has oriris_cloak as an example, Could someone tell me more cloaking devices?
The sencond problem is that I somehow have to add the cloaking devices into the file that shows what you get when you buy a ship. What file is it? I think it is loadouts.ini, Could someone confirm that?
Apart from that, I am having no problems, I can go around the Sirius sector and buy and sell tons of stuff without any problems, It is just this Cloak plugin. -
pick one
cloak_fighter
cloak_nomad
cloak_nomad_srtc
cloak_gunboat
cloak_cruiser
cloak_battleship
cloak_nomad_gunboat
cloak_nomad_battleship
cloak_osirisand then add it in goods.ini
starflier
[Good]
nickname = gf1_package
category = ship
hull = gf1_hull
addon = ge_lf_engine_01, internal, 1
addon = ge_fighter_power01, internal, 1
addon = ge_s_scanner_01, internal, 1
addon = ge_s_tractor_01, internal, 1
addon = shield01_mark01_lf, HpShield01, 1
addon = LargeWhiteSpecial, HpHeadlight, 1
addon = SlowSmallOrange, HpRunningLight01, 1
addon = SlowSmallOrange, HpRunningLight02, 1
addon = SlowSmallOrange, HpRunningLight05, 1
addon = contrail01, HpContrail01, 1
addon = contrail01, HpContrail02, 1
addon = DockingLightRedSmall, HpDockLight01, 1
addon = DockingLightRedSmall, HpDockLight02, 1with cloak:
[Good]
nickname = gf1_package
category = ship
hull = gf1_hull
addon = ge_lf_engine_01, internal, 1
addon = ge_fighter_power01, internal, 1
addon = ge_s_scanner_01, internal, 1
addon = ge_s_tractor_01, internal, 1
addon = shield01_mark01_lf, HpShield01, 1
addon = LargeWhiteSpecial, HpHeadlight, 1
addon = SlowSmallOrange, HpRunningLight01, 1
addon = SlowSmallOrange, HpRunningLight02, 1
addon = SlowSmallOrange, HpRunningLight05, 1
addon = contrail01, HpContrail01, 1
addon = contrail01, HpContrail02, 1
addon = DockingLightRedSmall, HpDockLight01, 1
addon = DockingLightRedSmall, HpDockLight02, 1
addon = cloak_fighter, HpCloak01 -
EDIT: darn, our lil spammer beat me to it…
“ERR Your ship does not have a cloaking device”
Says it all.
You have to mount a cloaking device on your ship on hard point HPcloak01 (if im not mistaken. Nearly every standard FL ship has such a hardpoint.
The cloaking devices are listed in DATA/EQUIPMENT/weapon_equip.ini
But to be able to buy them you should add them in the goods.ini and make it sellable on a base via the market_misc.ini.Else you could sell ships with allready a cloaking device attached to it.
You can add that in the goods.ini in a ships section.This is an example.
[Good] nickname = gf6_package category = ship hull = gf6_hull addon = ge_gf6_engine_01, internal, 1 addon = ge_fighter6_power01, internal, 1 addon = ge_s_scanner_01, internal, 1 addon = ge_s_tractor_01, internal, 1 addon = shield01_mark07_hf, HpShield01, 1 addon = cloak_fighter, HpCloak01, 1  < ---------- added  cloaking device. addon = LargeWhiteSpecial, HpHeadlight, 1 addon = SlowSmallOrange, HpRunningLight01, 1 addon = SlowSmallOrange, HpRunningLight02, 1 addon = SlowSmallOrange, HpRunningLight03, 1 addon = SlowSmallOrange, HpRunningLight04, 1 addon = SlowSmallOrange, HpRunningLight05, 1 addon = SlowSmallOrange, HpRunningLight06, 1 addon = SlowSmallOrange, HpRunningLight07, 1 addon = SlowSmallOrange, HpRunningLight08, 1 addon = SlowSmallOrange, HpRunningLight09, 1 addon = SlowSmallOrange, HpRunningLight10, 1 addon = contrail01, HpContrail01, 1 addon = contrail01, HpContrail02, 1 addon = DockingLightRedSmall, HpDockLight01, 1 addon = DockingLightRedSmall, HpDockLight02, 1
-
Okay, I have added the different cloaking devices, and there warmup times etc. to Cloak.ini
And I have added a cloaking device to gf6_package in goods.ini.
What ship have I added the Cloaking device to?
EDIT: I now have added it to the starflier aswell -
http://the-starport.net/index.php?option=com_docman&task=doc_details&gid=120&Itemid=43
Weird that it wasn’t uploaded once allready…
This is an excel file with most nicknames and refences in Vanilla freelancer.
Remember that this IS NOT for nicknames added by mods, like you use on the discovery mod. -
I will try that.
I tested it just now, I made a new character, it started in a starflier, I launched… Typed /c… And ERR Your ship does not have a cloaking device, I think it might have changed in discovery, because there is a gf1_package_original as well as gf1_package.
Oh… That is because I forgot to reload the MOD :-[ -
WOW - That spreadsheet must have taken a long while to make!
Thanks.
EDIT: I tryed it again, and still “ERR: Your ship does not have a cloaking device”
Ohh… I just realised… Should I have put something in market_misc.ini?
Like this:
MarketGood = cloak_fighter
MarketGood = cloak_nomad
MarketGood = cloak_nomad_srtc
MarketGood = cloak_gunboat
MarketGood = cloak_cruiser
MarketGood = cloak_battleship
MarketGood = cloak_nomad_gunboat
MarketGood = cloak_nomad_battleship
MarketGood = cloak_osiris
??? -
You do create a new char every time you launch with that starflier, not?
Its only mounted on a new purchase, otherwise you will have to edit your player file.
Add a cloak to a ship you can buy, not only to the starflier. That way you can test and test.
-
The Spreadsheet says that the patriot is “li_fighter”.
I can’t find the right package…
Hang on a moment…
I have been adding the devices to goods.ini wrong, I keep putting “addon = cloak_fighter, HpCloak01” but what I think I want is “addon = cloak_fighter, HpCloak01, 1”.
I have changed it all to the correct now, using the search and replace tool in Notepad++.
I will test it again, although I still won’t have a cloaking device on the patriot.
Okay, Results:
I can go and create a new charater, load it up then buy a patriot ship.
But when I launch, It says “Cloaking”
When I type /uncloak or /uc it says it is uncloaking, but nothing happens -
UPS!!!
my fauld…
addon = cloak_fighter, HpCloak01, 1
Means your addon is enabled by default… (its the , 1 on the end)
And since there is no way of disabeling it in the “standard” game it has to be removed.so its gonna be: addon = cloak_fighter, HpCloak01
That way its mounted, but the FL player engine has no way of interacting with it, but FLhook knows the trick.Good luck with it.
-
I think that is why the ship is already cloaked when it undocks from manhattan, because the FL Player Engine puts it like that and FLHook has no way of changing it.
But if you take away the 1 FLHook can do things that the FL Player Engine can’t.
I will Test it again.