Hack request: Define Internal/external equipment
-
The problem there is that cloaking devices are already external equipment, but they have no hp_type. Here’s a quick and untested patch to make cloaks the same as thrusters.
common.dll 139B74 905332->C0DE26 = *untested* use thruster hp_type for cloaking device ~adoxa
-
Damn,
Unfortunatly the hack doesn’t work. Just tried it out and all that it does is make the item disapear from the inventory. Instead is it possible you can find those offsets which define what equipment is internal and external or is it more involved than just changing the mask.
Ozed
-
Whilst ye there…
You’d do us all a great service finding some way to make the cloaks defined as shield type’s… as most of us already use that method for the rest of our extra equipment.
Just my 2 silver on the subject… hehe
-
Shields are problematic due to their levels. Here’s a patch that uses the countermeasure instead.
common.dll 139B74 905332->50DB26 = place cloaking devices on countermeasure hardpoints ~adoxa ```I did test this one, so I know it works (using thruster also worked; it seems you have to remove the existing cloak, first). Add the cloaks to market_misc.ini and they'll show up in the weapons list, which you can then buy/sell and (un)mount on the countermeasure hardpoint.
-
Is it possible to create a small plugin for these cloaks like you did for engine and power classes? So it could get limited to selected ships.
Something like “Fighter cloak” “Gunboat cloak” “Cruiser cloak” and “Battleship cloak”.It’s just an optional idea! You don’t have to do this.
-
O.M.G.!!! i totally missed this due to it getting buried on the new posts list (which really should be more than 5 these days… hmm).
Thank you so very much… this is a problem i’ve had with XLR since the cloaks were made hookable (and not some dark dirty secret…) man… don’t think im going to sleep till well into today now… hehe
-
In all honesty your still better off using hook to trigger them… and define the cooldowns/warmups.
I really like the CM idea as a cloak is a CM and not an offensive weapon… mix it up with docklocks and 88flak’s hook and you can really make players work for there special little addon. This now means i don’t have to inflate the shipmarkets with cloak “copys” and can realize my dream of allowing any ship to cloak provided the player has met the requirements to buy set cloak…
Oh happy day
EDIT:… just tested it online and off… flawless 8-) obviously your just cloaked in SP and that’s what i expected as im using hook to fire em in MP… but man… this was like the “holy grail” of FL problems (for me at least)… and you just smashed it to pieces! Muchos Kudos
-
NeXoSE wrote:
I actually want to find a way to make player can enable cloak fastly, enter /cloak in chat bit slowI believe the folks at Tekagi’s Treasure managed to define it to a hotkey, but if I remember correctly, they use FLAC. Maybe ask them?
-
cloak/uncloak by using a key, is a feature of FLAC
-
Hum, Im back there and seriously ask about the simpler way to activate cloak drive… I don’t have FLAC, and with FLHook, players need to enter “/cloak” to engaging cloak…but if they in combat, they already dead then typing…
SO, list the cloak drive on the hub and make it can be activated by click is the good way i think…
You know cloak drive can be control on server activate/deactivate so there may no problem about cloak limit like cooling time.
I just worry about if the “cloak cheat” back again… if we don’t have this problem, why we make player more enjoy with cloak?
-
@kosacid, client dll? that’s good and enough for me in this case. So if you willing to make a plugin, i will like it.
btw, can you make the plugin hook the USER_CLOAK key too?
Im thinking how to use cloak in the appropriately way, but only problem is, how to limit cloak in specific ships.
For exp: I have 2 cloak drive for different ship class, one for fighter, other some for battleship.
The fighter cloak take long time to cloak (because no enough energy to fully charge the drive at once), but use lesser power.
The battleship cloak only take 3secs to cloaked, but use further power.Now i want fighter just use fighter cloak, battleship just use battleship cloak.
To prevent fighter use battleship cloak is easy, just make cloak drive with large cargo volume, but this not prevent battleship use fighter’s cloak. How to solve this problem with game function itself? any idea please?
-
just add it to dacom.ini and drop the dll into your exe folder when you press left ctrl c and left ctrl u
you will cloak and uncloakhmm the old problem of bs ships using fighter gear
you would have to put a lvl on them so they aint mountable
ill have a look at it when i have time ive never realy looked at the cloaking stuff -
see in owere mod they come with the ship you cant buy them
but the problem i see if you selling them is exactly what you have
if they were classed like a gun the slot they go into a bs set it to say lvl9 and the fighter slot to lvl10
basicly the fighter cloak is lvl10 a bs cant mount
and im prity sure you cant class them
maby a server side control is needed
maby a list of the ships with the cloak times
or a list on what class of ships can use what cloaksso let me get this right NeXoSE your selling them ?
im a bit confused like TheDvDMan say his comes with the ship@TheDvDMan addon = cloak_nomad, HpCloak01, 1
also needs a slot added to the model