Modding the Split Railgun values ?-please help

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
teiwo
Posts: 14
Joined: Thu, 29. Nov 18, 03:45
x4

Modding the Split Railgun values ?-please help

Post by teiwo » Sun, 5. Apr 20, 07:11

No Modding Expert at all.What I successfully did in the past
was taking an existing rebalancing mod, deleting all the files
I didnt need and with the remaining files (Plasma weapons)
changing stats to increase Range and accuracy.
Worked just fine.

Now with new split Boson Lance ( I guess this equals the "SPL-Railgun"-Files)
I would like to adjust this weapon so that it doesnt get overheated
after one or two shots.

I used the XRCatTool to unpack the ext_01 Catfile so I could see
whats in the original files.

I then put in my Mod
...assets/fx/weaponfx/macros/

bullet_spl_s_railgun_01_mk2_macro.xml

<?xml version="1.0" encoding="utf-8"?>
<diff>
<replace sel="//macros/macro/properties/heat/@initial">990000</replace>
<replace sel="//macros/macro/properties/reload/@time">0.2</replace>
</diff>

and

...assets/props/WeaponsSystems/heavy/macros

weapon_spl_s_railgun_01_mk2_macro.xml

<diff>
<replace sel="//macros/macro/properties/heat/@cooldelay">0.2</replace>
<replace sel="//macros/macro/properties/heat/@coolrate">4000</replace>
</diff>

I changed these Values (and others) back and forth to the extreme, but there
are no noticeable changes to the cooling/reloading of the gun in Game.

Xapper
Posts: 2
Joined: Fri, 3. Apr 20, 15:36

Re: Modding the Split Railgun values ?-please help

Post by Xapper » Sun, 5. Apr 20, 21:53

Did a bit of trial and error.
Since you're modding a mod in the eyes of the game engine, the file tree needs to look a little different as well.
What did the trick for me was putting the stuff in extensions/*enter mod name here*/extensions/ego_dlc_split/assets/...
The content xml still goes before the second extensions folder.

teiwo
Posts: 14
Joined: Thu, 29. Nov 18, 03:45
x4

Re: Modding the Split Railgun values ?-please help

Post by teiwo » Mon, 6. Apr 20, 07:01

Yes, this works !
Thank you for your help.

13913408324
Posts: 89
Joined: Wed, 3. Oct 18, 05:02
x4

Re: Modding the Split Railgun values ?-please help

Post by 13913408324 » Mon, 6. Apr 20, 11:53

F:\STEAM\steamapps\common\X4 Foundations\extensions\ego_dlc_split\mymod\extensions\ego_dlc_split\assets\...... :gruebel:???

Xapper
Posts: 2
Joined: Fri, 3. Apr 20, 15:36

Re: Modding the Split Railgun values ?-please help

Post by Xapper » Tue, 7. Apr 20, 04:11

13913408324 wrote:
Mon, 6. Apr 20, 11:53
F:\STEAM\steamapps\common\X4 Foundations\extensions\ego_dlc_split\mymod\extensions\ego_dlc_split\assets\...... :gruebel:???
No, not quite.

F:\STEAM\steamapps\common\X4 Foundations\extensions\mymod\extensions\ego_dlc_split\assets\...
content.xml still goes in the "mymod" folder

13913408324
Posts: 89
Joined: Wed, 3. Oct 18, 05:02
x4

Re: Modding the Split Railgun values ?-please help

Post by 13913408324 » Tue, 7. Apr 20, 04:35

Thank you wery much! :D

Post Reply

Return to “X4: Foundations - Scripts and Modding”