Hack request: Define Internal/external equipment
-
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 )