File information

Last updated

Original upload

Created by

TrueBlueBanana

Uploaded by

Alexadre44

Virus scan

Safe to use

Tags for this mod

62 comments

  1. iomatix
    iomatix
    • member
    • 7 kudos
    Hello, 
    First of all, thank you for such a creative tool.

    My question is straight forward.
    Do you have plans to include VRO preset with dedicated values?
    1. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      Thank you for your comment.At the moment, there are no plans to update the tool with VRO values.To be honest, I'm not working on it at the moment and it's possible that the concept of the tool will evolve into a tool for modders.
    2. iomatix
      iomatix
      • member
      • 7 kudos
      Thanks for the reply!
      Turning this into a tool for modders sounds like a great direction. It could be a valuable resource for the community, making customization and integration much easier. Looking forward to seeing how it evolves!
  2. MtDZkT
    MtDZkT
    • member
    • 0 kudos
    Hello, could you see if possible to add the s class ship weapon customization. Thank you
    1. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      Hello. At the moment, the mod is stagnating because I'm taking a break for health reasons. But adding weapons is at the top of my list of priorities for the future.
  3. goldrush8
    goldrush8
    • premium
    • 1 kudos
    Just found this mod from it being linked in the X4 Rebirthed collection, and I have to say, this is an amazing tool!!

    The ability to make custom turrets without the need to model or program them manually is absolutely amazing and i can't wait to see more from this mod.
    I have a feeling I'll be creating an entirely new turret lineup soon!

    Cheers to you Alexadre44!
    1. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      Thanks for your feedback!
      Please let me know if you have any comments or ideas.
  4. SiyrKoi
    SiyrKoi
    • supporter
    • 0 kudos
    I had issues with it detecting the proper Java install path (Got 8 Installed as well and that one sits in the Path directory)
    Couldn't really get it to work using powershell.
    So i just created a bat file that starts it:

    @echo off
    cd /d "D:\Unpack\x4mods\CustomTurrets"
    "C:\Program Files\Eclipse Adoptium\jre-21.0.6.7-hotspot\bin\java.exe" -jar "CustomFaction-0.1.4-runner.jar"
    pause


    This works for me. Just change the Paths to the proper one for your System
    Those ones are on my system:
    D:\Unpack\x4mods\CustomTurrets
    C:\Program Files\Eclipse Adoptium\jre-21.0.6.7-hotspot\bin\java.exe

    Hope this helps someone!
    (I got no Error correction in the code at all so if something happens it's on you just do this if you know what you're doing)
  5. MtDZkT
    MtDZkT
    • member
    • 0 kudos
    hello when i run shell file it stared ru for a moment the close it self . could you post a video of guiding using this mod . thank
    1. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      Unfortunately, there's not much more we can do. 

      So that I can get more information, please take the following steps:
      * Run a powershell in the folder (right-click in folder, run in terminal).
      * Use the command: .\start.ps1

      The application should launch. If there are any errors, please send me a message with the errors displayed.
      If you have the "Quarkus" display, you can open your browser at http://localhost:8080
    2. MtDZkT
      MtDZkT
      • member
      • 0 kudos
      hello i could you check what problem i have with it this is the video . i have install java 23 . cant even run shell file. dont know what is wrong with it
    3. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      Can you open the start.ps1 and replace the file by:

      # Define the jar file name
      $toolVersion = "0.1.3"
      $jarFileName = "X4CustomFaction-$toolVersion.jar"
      $requiredJavaVersion = 21

      # Start the transcript
      $transcriptPath = "./transcript.log"
      Start-Transcript -Path $transcriptPath

      # Check if Java is installed
      $javaVersion = & java -version 2>&1
      if ($javaVersion[0] -match 'version "(\d+)\.')
      {
      $majorVersion = [int]$matches[1]

      # Check if the Java version is 21 or more
      if ($majorVersion -ge $requiredJavaVersion)
      {
        Write-Output "Java version $majorVersion is installed."
        # Start the jar file
        Write-Output "Starting the application..."
        java -jar $jarFileName
      }
      else
      {
        Write-Output "Java version $requiredJavaVersion or higher is required. Current version is $majorVersion"
        Write-Output "Please install Java version $requiredJavaVersion or higher. See: https://www.oracle.com/java/technologies/downloads/"
      }
      }
      else
      {
      Write-Output "Java is not installed or the version could not be determined."
      Write-Output "Please install Java version $requiredJavaVersion or higher. See: https://www.oracle.com/java/technologies/downloads/"
      }
      Pause

      Once done, restart the script.

      A file named "transcript.log" should be created. Can you provide me the file ?
    4. MtDZkT
      MtDZkT
      • member
      • 0 kudos
      don't see any transcript.log , it seems the shell can't be executed for some reason . Look like my end got problem . Any way thank for taking your time helping me
    5. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      Try to open a power in the folder directly:
      * Run a powershell in the folder (right-click in folder, run in terminal).
      * Execute the command java -jar X4CustomFaction-$toolVersion.jar
    6. MtDZkT
      MtDZkT
      • member
      • 0 kudos
      Hello This is the content in transcrip log
      **********************
      Windows PowerShell transcript start
      Start time: 20250317224348
      Username: Long\long
      RunAs User: Long\long
      Configuration Name:
      Machine: LONG (Microsoft Windows NT 10.0.26100.0)
      Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -file  H:\Custom faction jar-1600-0-1-4-1742121247\start.ps1
      Process ID: 14940
      PSVersion: 5.1.26100.2161
      PSEdition: Desktop
      PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.26100.2161
      BuildVersion: 10.0.26100.2161
      CLRVersion: 4.0.30319.42000
      WSManStackVersion: 3.0
      PSRemotingProtocolVersion: 2.3
      SerializationVersion: 1.1.0.1
      **********************
      Transcript started, output file is ./transcript.log
      Java version 23 is installed.
      Starting the application...
      Error: Unable to access jarfile X4CustomFaction-0.1.3.jar
      PS>$global:?
      True
      **********************
      Windows PowerShell transcript end
      End time: 20250317224354
      *********************
    7. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      Thanks for the file.
      It seems that the script do not access to the jar file... I don't know why, maibe a permission issue.

      Can you try to:
      1- Execute powershell as administrator (Startup menu, search powershell, right click and run as administrator)
      2- Execute the following command ("E:\X4CustomFaction-0.1.3\" is the path to the folder according to the video you provided)
      cd "E:\X4CustomFaction-0.1.3\"3- Execute the command
      .\start.ps1
    8. MtDZkT
      MtDZkT
      • member
      • 0 kudos
      hello thank for taking your time helping me . i just change the default app to run jar file then access the http://localhost:8080 bam it work , dont know what happening but its work  . thanh for you surport
  6. philippegr55
    philippegr55
    • supporter
    • 0 kudos
    Great mod really enjoying it so far! Would be nice to be allowed to set the remaining customization points in home under settings! This would allow users to stay vanilla or mod the turrets further to make all sorts of really nice combinations! Keep it up! ;)
    1. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      Thanks for the feedback. I'm mot sure to understand your suggestion. Can you provide me more details?
    2. philippegr55
      philippegr55
      • supporter
      • 0 kudos


      Here is an exemple of what I mean! :) You could add a way for players to change the default remaining points. Default being 150 points!
    3. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      New version 0.1.4 available with a minor correction and your suggestion ;)
      FYI: I haven't done any advanced testing, so if you run into any problems, let me know.
    4. philippegr55
      philippegr55
      • supporter
      • 0 kudos
      Thank you much appreciated! Keep up the good work! If I see a game breaking bug in game worth mentionning I'll let you know! Take care! I'll keep an eye on your work! You should setup donations I know how tedious it can be modding games, made a few mods myself in the past! ;P
  7. Ravenlash
    Ravenlash
    • member
    • 16 kudos
    You made me giddy with excitement. Looking forward for this tool for my next playthrough!
    1. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      Thanks for the enthusiasm!
      Don't forget that the tool is still in early stage. It will continue to evolve and that breaking changes are possible.
    2. Ravenlash
      Ravenlash
      • member
      • 16 kudos
      Ofcourse I am aware of it. I'm still waiting for the Diplomacy update to come round before starting my next playthrough - so I still have quite a few months of waiting lol

      But I am definitely am tracking the updates on this tool. It would be cool if I would be able to grab ships and station modules from custom mods like SWI especially. As I had tried once to export the ships from that mod to use them in a vanilla playthrough so my faction would look unique as if we're developing our own ships etc. Sadly that didn't work out, so I am hoping this tool would allow me to do that!
    3. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      I'm also looking forward to diplomacy!

      The integration of assets from other mods is not currently planned at all. The current scope of the tools is the use of in-game assets only.
    4. Ravenlash
      Ravenlash
      • member
      • 16 kudos
      If you're able to have it work with custom ships would be awesome, as I typically use VRO overhaul.

      But nonetheless, its not mandatory and am just overall happy with the tool as is planned by you! Thank you for making it a reality to begin with even! :D
  8. solarie
    solarie
    • member
    • 0 kudos
    i try to run this i have java 23 and when i launce it with powershell it just say in blue text quarkus ? what am i doing wrong?
    1. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      Nothing, keep the powershell opened and go to your browser at http://localhost:8080 
    2. solarie
      solarie
      • member
      • 0 kudos
      Ah thanks :D 
    3. solarie
      solarie
      • member
      • 0 kudos
      is there a way to even further make the weapons stronger, ? 
    4. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      At this moment, no.
      The goal is to preserve the balance, not to create a modding/cheat tool.
      BUT I already see the limitations with the existing system. MAIBE in the future it will be possible to freely set some values, but with a non négligeable cost. 
    5. solarie
      solarie
      • member
      • 0 kudos
      Yeah that would be awsome. the more one ramp up the damage the more energy it use or somthing. either way i trust your judment on this and cant wait to see where this lead. Great work love it so far.
  9. Ormold
    Ormold
    • member
    • 0 kudos
    Hi maybe im just sutpid, but if i start the "start.ps1" with powershell there is just a short window with a blue background an nothing happens.
    1. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      A pause instruction is missing at the end of the script to allow error messages to be viewed. Apparently, I'm the stupid one who forgot to include it :D

      Open the script with Notepad, and at the very end, add the following line:
      Pause

      This will show the error (java must not be installed or with an insufficient version)
  10. Serrage
    Serrage
    • member
    • 0 kudos
    Uhhh, I kinda get it but as a newbie to this powershell stuff can you create a video? (I just googled it and they probably could too but just a tip)

    Fyi there is no sound to the terran M bolt turret when used with the Argon bullet/ common wealth bullet/ gatling. 

    I probably messed something up but the sounds from the L turret I made are fine and making sounds when firing. 
    1. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      Hello,
      Thanks for the feedback, I updated the zip with a little script to help with the start.
      I'll check the issue regarding the M bolt turret.
    2. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      FYI: Sound will be fixed in the next version.
    3. Serrage
      Serrage
      • member
      • 0 kudos
      Amazing, can't wait to try it out. thanks!
    4. Serrage
      Serrage
      • member
      • 0 kudos
      Btw was that only the Terran bolt that didn't have sounds? I was going to give it another shot to make a custom Argon one today when I get time.
    5. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      Nop. It was coming from the CW bolt bullet. You can use an other bullet skin, it should be ok
    6. Serrage
      Serrage
      • member
      • 0 kudos
      Also I just noticed on a Pulse gun you can equip it with a Gatling Bullet. I thought it was kind of cool and tried the experiment in-game but it didn't have any sound. PROBABLY because the new update for Common Wealth sound is still missing. Still pretty cool to use a Gatling bullet with a pulse turret lol

      UPDATE: I realized you can't select pulse for Pulse M Turret's, instead only Plasma 
    7. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      I do not have any issue selecting the bullet "Pulse laser" for a "Pulse" turret. Can you give me more information ?
    8. Serrage
      Serrage
      • member
      • 0 kudos
      Ohhh Pulse laser is the turret projectile. Nevermind I'm dumb
    9. Serrage
      Serrage
      • member
      • 0 kudos
      Do you happen to know if that patch for the sounds fix will come out soon? Really looking forward to it
    10. Alexadre44
      Alexadre44
      • member
      • 1 kudos
      I'm working on a new version that adds the need for research to unlock turrets.  The first version is almost ready, but I wanted to add some new turrets before releasing it. Depending on my testing and available time, I may release the version without the new turrets. I think it'll be early next week.

      If the sound really bothers you and you want to correct it manually, here's the procedure:
      * In the generated mod folder, in “\assets\fx\weaponfx\cf\macros”, there are several files.
      * Open the file corresponding to the turret to be corrected (it should contain the following ligne at the beginning of the file)<component ref=”bullet_gen_s_gatling_01_mk1“/>. After the “<effects>” tag, add 
      <sounds>
      <firing ref=“turret_gatling_muzzle” />
      </sounds>

      Full file example:
      <?xml version="1.0" encoding="utf-8"?>
      <macros>
      <macro name="bullet_cf_m_turret_1_macro" class="bullet">
      <component ref="bullet_gen_s_gatling_01_mk1"/>
      <properties>
      <ammunition value="15"
      reload="0.98"/>
      <bullet speed="1074"
      lifetime="3.04"
      amount="1"
      barrelamount="2"
      icon="weapon_laser_mk1"
      angle="0.54"
      maxhits="2"
      ricochet="0.01"
      timeDiff="0.03"
      scale="0"
      attach="0"
      restitution="0.3"/>
      <reload rate="10.00"/>
      <damage value="9"
      shield="0" repair="0"/>
      <effects>
      <impact ref="impact_gen_s_gatling_01_mk1"
      inside="impact_gen_s_gatling_01_mk1_inside"/>
      <bigobjectimpact ref="impact_gen_s_gatling_01_mk1_bigobject"
      inside="impact_gen_s_gatling_01_mk1_bigobject_inside"/>
      <launch ref="muzzle_turret_gen_m_gatling_01_mk1"/>
      </effects>
      <sounds>
      <firing ref="turret_gatling_muzzle" />
      </sounds>
      <weapon system="turret_midRange"/>
      </properties>
      </macro>
      </macros>
    11. Serrage
      Serrage
      • member
      • 0 kudos
      Thanks Alexandre! Wish I could buy you a coffee!