Hack request: Define Internal/external equipment
-
@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 -
kosacid wrote:
so let me get this right NeXoSE your selling them ?
im a bit confused like TheDvDMan say his comes with the shipI can’t give the list because my mod under developing so there is no new ship have been added.
But if i cannot make the cloak can be use by limited ships, i may still go in the old way to sell cloak with ship and make it cannot be unmount.
@DVD, hey, you may try to add a new slot for your ship like this:
hp_type = hp_countermeasure_dropper, HpCloak01
then you can by and mount cloak in right slot which be supported by FLHook.
-
-
@NeXoSE you will be suplying the ini with ship names and settings not me lol
the ini will be some thing like this[CloakDevices]
cloak_fighter
cloak_nomad[CloakControl]
shipname=55000, 25000, 10000so no matter what cloak is mounted it will be set to that time
gives you more control over how long it will stay cloaked and cool down
and the cloak list just contains the names of course it depends on what mounted what fx you will get -
But even that, player still able to get the cloak and install it to their ship (But cloak drive will not work on their ship), right?
I think this will make player confused then they want to buy a cloak supported ship. And back to the way, this will not solve my problem: How to limit cloak drives can be mount to the correct ship class.
So, sell cloak with ship still is the best way so far…
But thank you for your job, maybe someone else need it
-
common.dll 139B74 905332->F0672F = *untested* use gun hp_type for cloaking device ~He||oween
-
common.dll 139B74 905332->F0672F = use gun hp_type for cloaking device ~He||oween
With this method when cloak is mounted - turret hp is locked
So i have found better way to make cloak as internal equipment:
common.dll 139B74 905332->40172D = use cloaking device as internal equipment ~He||oween
-
Does that mean every ship can mount one then? Or is there some way to limit it?
-
Quarks wrote:
Does that mean every ship can mount one then? Or is there some way to limit it?Yes. Every hook may limit equipment )