X4: Foundations

X4: Foundations

HJ - CopyBehavior
81 Comments
Tyrthius 20 Apr @ 9:28am 
Works in 7.5. You need to disable UI protection mode:
Settings > Extensions > Protected UI Mode > OFF
Hebrux 19 Apr @ 9:49am 
I'm using the nexus version and that seems to work
[HHB] Hagen 3 Mar @ 9:53am 
for reasons i do not understand this mod now works with 7.5.
maybe the most likely thing that fixed it was delete everything and redownload the game and extensions.
Alone911 20 Feb @ 11:43pm 
7.5 not work
bjoernemann 20 Feb @ 12:49pm 
Does it work in 7.5?
Hebrux 30 Jul, 2024 @ 7:03pm 
@Railgunner2160
Yay! I'll check it out!

Since the author isn't playing X4 anymore I would have taken the time to fix this myself but I don't know how to mod this game lol
Hijack Hornet  [author] 26 Jul, 2024 @ 12:47am 
thanks for letting me know it still works with the latest sir nuke version
Horrible 18 Jul, 2024 @ 4:56am 
Can someone update/fix this...? Please.
Railgunner2160 14 Jul, 2024 @ 7:30pm 
The Most recent update of SirNukes API support mod has fixed the issue that had temporarily broke the mod!! So the copy function if fully working again!!
endir 24 Jun, 2024 @ 9:07pm 
oh, wait, i found what broke this old mod. Sir Nukes updated his API support mod. Went to nexus and downloaded the old version then I disabled the steam version so it wont automatically update to resolve. Hate to make this compromise, but this is just such a handy tool!
endir 24 Jun, 2024 @ 8:31pm 
When you say 'sometimes' how do you get it back? I am also seeing it missing as well, now.
Hebrux 24 Jun, 2024 @ 2:20pm 
Sometimes I stop seeing the "Copy" option as part of the menu. I'm not sure why it dissapears sometimes =(

I just had it as part of my game and now I can't find the option

Under orders for, I see:
Dock and wait
Follow until further notice
Transfer crew with
Hebrux 17 Feb, 2024 @ 4:29pm 
can confirm mod still works =)
Hijack Hornet  [author] 23 Jul, 2023 @ 12:34am 
Not without rewriting it and i'm not playing X4 anymore.
Hebrux 23 Jul, 2023 @ 12:10am 
Any way to not use Sir Nuke's dependancy?
Hebrux 31 Mar, 2023 @ 10:32pm 
Does this still work?
draeath 28 Aug, 2022 @ 11:29am 
Thanks for the clarification!
Hijack Hornet  [author] 28 Aug, 2022 @ 12:28am 
"Warning : At the moment the mod doesnt check if the reciever ships pilot meet the minimum requirement for the copied order." It just gives him the order anyway. So they will do the order even though they dont have the skills for it
Hijack Hornet  [author] 28 Aug, 2022 @ 12:27am 
It doesnt crash no.
draeath 25 Aug, 2022 @ 3:28am 
Right. What happens if it pushes an order the pilot can't do? That's what I'm asking. That sounds like undefined behavior, which is why I'm asking if it crashes or something.
draeath 23 Aug, 2022 @ 11:29pm 
> Warning : At the moment the mod doesnt check if the reciever ships pilot meet the minimum requirement for the copied order. But for now, its a lot of extra work for something i feel isnt really important.

So... uh... what happens? I'd like to add this to my game, but if I'm going to be accidentally crashing half the time because I forget to confirm order stars vs pilot skill, I think I would have to pass :D
bobblehead 15 Apr, 2022 @ 2:24pm 
So, after some research, it turns out that the problem I was having (don't know if this effects others) is that a required mod that this mod uses wasn't updated to the latest version. The required mod is kuertee_ui_extensions. Once I went to nexus and updated this mod then the HJ_CopyBehavior mod from the steam workshop started working correctly without having to also have the one from nexus installed along with it.

Hope this helps someone else that might be having this issue.

Thanks again to Hijack Hornet for a great mod that has become indispensable to me.
Hijack Hornet  [author] 25 Mar, 2022 @ 11:33am 
Ok so hear me out
I've uninstalled all mod and installed steamworkshop (stws) CopyBehavior and stws SirNuke API and it works https://drive.google.com/uc?id=11SLkwpJZ0WhyQ-aVOvTPrP2dArdAOZ4i

I got someone to try with latest DLC :
Nexux CopyBehavior + Nexus SirNuke -> Works
stws CopyBehavior + Nexus SirNuke -> Works
stws CopyBehavior + Nexus Sirnuke + stws Sirnuke -> Works

So my guess is that you have the wrong SirnukeApi version either on stws or nexus. Idk. But this is definitly not something with my mod.
I would advise to unsubscribe from all swts mods, same for nexus and start the game and make sure everything is really uninstalled. Then i would reinstall everything making sure you dont download the same mod from the two plateform.

Let me know how it went :) Sorry i could help you more...
-----
Regarding another regular issue with vanilla behavior i've updated the description.
bobblehead 25 Mar, 2022 @ 9:18am 
Yes, I tried it with the Nexus version by itself first, as you recommended earlier. It wasn't until I read G.A.'s post that I even thought to try it with both versions at the same time. Again, odd as it may sound, the result was that it worked and somehow caused other non-working mods to start working again as well. The other mods I had installed and active at the time were not working but didn't seem to be effecting your mod because when I shut them off to use only one or the other version of your mod, your mod still didn't work. So I re-enabled them all again. That's when I saw the post by G.A. and tried that right away and it worked - while also causing those other mods to work too.

Very Strange indeed.
G.A. 25 Mar, 2022 @ 5:26am 
Hijack Hornet @ The Nexus version alone is not enough. Both must be there.(maybe some magic)
Hijack Hornet  [author] 25 Mar, 2022 @ 5:02am 
Did you tried with the nexus version only ? Because i'm not using the steam version in my testing. And it might be that they changed how it works for steam.
bobblehead 25 Mar, 2022 @ 4:37am 
I can confirm that G.A.'s suggestion to use both Nexus and Steam's versions of your copy behavior mod seems to be the only way to get it to actually work. It apparently has another side effect too, once I installed both versions of this mod, other mods that hadn't been working also started working again. Urgent Orders mod and a couple others started working in X4 version 5.00 only after I installed both of your Copy Behavior versions (Nexus & Steam) at the same time.

It's very strange, but who am I to judge, it works again and somehow triggered other mods to work again as well.
Hijack Hornet  [author] 25 Mar, 2022 @ 1:54am 
Weird weird weird. I think the steam version doesnt work for everyone..
G.A. 25 Mar, 2022 @ 12:32am 
Your modification didn't want to work in my game for a long time. I just happened to find that it works if both Steam and Nexus are active together. Yes it shows a warning in the extension that it's wrong, but what, it works. Please does anyone know why this is so?
Hijack Hornet  [author] 24 Mar, 2022 @ 12:46pm 
Hey !
So since i dont have the dlc, i cant test it. However if you can find a friend of yours or someone to check if it works for him that would be great.

It should. I cant see why it wouldnt if it works with 5.0.

In the meantime, all i can recommand if to uninstall my mod on the workshop and to try it with the Nexusmod version. They are not exactly the same (because steam doesnt allow for .lua files so some are renamed differently).

I clean uninstall / reinstall of the mod on steam could also help ?
Unsubscribe, close steam completly, reopen it ( it will clear the cache that way), then resubscribe.
Finally toggle all mods off but sir nuke api and mine, and create a new save in creative with another ship so you can see if the command works.
Let me know if it works or not :)
bobblehead 24 Mar, 2022 @ 11:49am 
Thank you for your time. I'm not sure then why it doesn't work for me, I have Sir Nuke's Mod Support API installed as well as kuertee ui extensions. Perhaps it has something to do with the latest DLC? I've done an extensive audit of all the mods I have to be sure they are all up to date, any that have not been updated (that absolutely needed updating for the 5.00 version of X4) I have disabled. All of them worked just fine in version 4.20 X4.

Oh well. Thanks for your time and effort to get back to me on this, I'll have to do something because your mod really is an essential mod to me. Thanks again....and again.... ;-)
Hijack Hornet  [author] 23 Mar, 2022 @ 11:03pm 
Turns out it still works for me. Make sure you have Sir nuke Mod Support APIs as well. Maybe make sure your mods are up to date. Idk.. Let me know if that helped :)
Hijack Hornet  [author] 23 Mar, 2022 @ 9:36pm 
Hi ! I'll try and see if it shows for me. I don't have the dlc though. But i can always look if it at least works in 5.0
bobblehead 19 Mar, 2022 @ 6:48pm 
After reading the posts below I figured I must be doing something wrong, because before the X4 5.00 update this "Copy Default Behavior" worked perfectly for me - I love it! Got so used to using it that when it disappeared in the last Egosoft update I nearly panicked! Only, since the X4 5.00 update along with the new DLC, the option for this copy function doesn't even show up in the right click menu anymore. I've made certain that this mod is enabled and updated in my extensions list, but it still never shows up. As to other mods. All the mods I've been using prior to the X4 5.00 version are the same, most have been updated since the new release, some have not. In any case your GREAT mod was working along with all the other mods just fine. Now - nothing! Doesn't even show up anymore as a right click option.

Not your fault, but I'm completely bummed by this.

Thanks for your hard work and great mod.
Hijack Hornet  [author] 16 Feb, 2022 @ 6:37am 
Just FYI, if a mod has a video, it is located on the left most part of the image list, rigth on top of the "like" button ;) Have fun !
Szlaanesh 15 Feb, 2022 @ 1:40pm 
Once The existence of said video was made known, it was helpful thank you.
Hijack Hornet  [author] 15 Feb, 2022 @ 10:53am 
yes :) People usually look at the video tbh
Szlaanesh 15 Feb, 2022 @ 10:41am 
Oh I see. So the description should ACTUALLY read as follows - "Have the ship you want to be copied already set on it's assigned default behavior. THEN select the ship you want to have copy said behavior, while selected right click on the ship to be copied and select "Copy Default Order From" to assign copied orders"

Is that about right? I'm not sure when I'll get around to testing it, but thank you for making it all the same.
Hijack Hornet  [author] 15 Feb, 2022 @ 9:49am 
Hijack Hornet  [author] 15 Feb, 2022 @ 9:48am 
You select 1 or multiple ship you want to copy the behavior to, then you rigth click ANOTHER ship and select "copy". Its not a two step process where you first copy, then paste. You have to select all ships you want to past to and rigth click the one you want to copy from. There is a video showing this.
Szlaanesh 15 Feb, 2022 @ 9:05am 
No, I followed the above instructions "To use, select one or multiple ships" it says that I can select 1, so i tried 1. Is that a lie?
Hijack Hornet  [author] 14 Feb, 2022 @ 11:42pm 
Did you select at least two ships like in the video ?
Szlaanesh 14 Feb, 2022 @ 2:22pm 
The copy text just plain old doesn't show up for me, ideas?
Hebrux 24 Jan, 2022 @ 7:15am 
This mod works so well with the Mule Trading mods
Hijack Hornet  [author] 8 Jan, 2022 @ 8:05am 
@Arthur would you mind trying with other orders type and let me know whats up ? Thanks
Arthur 7 Jan, 2022 @ 11:55pm 
This does not seem to work with 4.2 at least with repeat orders
Hijack Hornet  [author] 3 Nov, 2021 @ 8:47am 
@norm maybe try to use the nexusmods version and see if it helps. Steam has some restritionon files and the mod is slightly different. I tested mostly with the nexus version. Let me know if it helped
normcameron 31 Oct, 2021 @ 3:05pm 
Anybody figured Out what this Mod conflicts with? Can't copy Tater Trade
Hijack Hornet  [author] 23 Oct, 2021 @ 7:21am 
@Hebrux Much obliged :)
Hebrux 23 Oct, 2021 @ 6:57am 
This mod literally saves me hours of micromanaging!!!! Thank you!!!!