[Mod] XR Ship Pack - 6.0 ready!

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

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

Smart_Bomb
Posts: 532
Joined: Fri, 22. Dec 06, 13:35
x4

Re: [Mod] XR Ship Pack (now including 48!! ships)

Post by Smart_Bomb » Wed, 28. Sep 22, 01:01

I have to say Max Bain, out of all the mods in the community this would be the 1st one I would want to nominate to be integrated into the game.

More diverse ships that handle different rolls is exactly what I thought it was missing the most and all I can say is thank you for doing the time and efforts to create and implement a magnificent mod.

That all being said, since you have a handle on L to XL ships, have you thought of some of the smaller ones with more specialized roles like a bomber or sniper ship? Will you also be doing capitol ships for Terran and pirate races?
Would also like to see carriers for Xenon and Kha'ak filled with smaller fighters and support ships. The Xenon can get tug ships, grab salvage from whatever they destroy, take it back to their carrier and continuously spew out new ships at set rates.

Not sure how the AI would handle that, but it would add that much more diversity.
- Please check out & vote on my X4:F expansion idea thread

[ external image ]

Folker
Posts: 64
Joined: Fri, 31. Jul 20, 21:56
x4

Re: [Mod] XR Ship Pack (now including 48!! ships)

Post by Folker » Wed, 21. Dec 22, 10:54

Hello, I like your mod especially the Arawn. And I think it would be really nice to add pirate ships for the Avarice's factions, for Yaki and another pirates like common pirate ships, this is lost sector mod in XR, there photos are exemple of pirate ship :

M => L size : https://staticdelivery.nexusmods.com/mo ... 72309.jpeg |||||||| the same : https://i.imgur.com/hD1pdmv.jpeg

XL => XL size : https://staticdelivery.nexusmods.com/mo ... 53053.jpeg

L => L size : https://apocalypse.moy.su/_fr/8/5331044.jpg ///|||\\\ the same but modified later L => XL size : https://i.imgur.com/wDUwUjx.jpeg ||||||| the same https://i.imgur.com/WOa3fqz.jpeg

But I remenber to saw pirate ships with an circle around and differents ship like that on L size.

What do you think about this idea ?

Sturmer
Posts: 496
Joined: Thu, 9. Jun 11, 19:17

Re: [Mod] XR Ship Pack (now including 48!! ships)

Post by Sturmer » Sat, 4. Mar 23, 17:46

Will you be updating the mod for 6.0 beta?

Sturmer
Posts: 496
Joined: Thu, 9. Jun 11, 19:17

Re: [Mod] XR Ship Pack (now including 48!! ships)

Post by Sturmer » Sun, 12. Mar 23, 17:14

Looks like 6.0 breaks loadouts (shields, weapons, turrets, etc.) for ships of this mod. Can't upgrade any ship, not even "low, mid, high" presets work. As it stands this mod is unfit for anyone wanting to own ships within it, but it works for enemies.

BlackRain
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 7406
Joined: Mon, 15. Dec 03, 18:53
x4

Re: [Mod] XR Ship Pack (now including 48!! ships)

Post by BlackRain » Sun, 12. Mar 23, 18:17

Sturmer wrote:
Sun, 12. Mar 23, 17:14
Looks like 6.0 breaks loadouts (shields, weapons, turrets, etc.) for ships of this mod. Can't upgrade any ship, not even "low, mid, high" presets work. As it stands this mod is unfit for anyone wanting to own ships within it, but it works for enemies.
I think everyone already knows that ship mods need to be updated for 6.0.

Sturmer
Posts: 496
Joined: Thu, 9. Jun 11, 19:17

Re: [Mod] XR Ship Pack (now including 48!! ships)

Post by Sturmer » Thu, 16. Mar 23, 00:47

BlackRain wrote:
Sun, 12. Mar 23, 18:17
I think everyone already knows that ship mods need to be updated for 6.0.
Do they? The author of this mod was last online at the end of January. He may not be following forums or anything going on with this game, so he may not know about issues with his mod, but he may receive notifications of posts on his thread in his email box and thus read it - which is why I wrote this so bluntly here.

User avatar
Wargear
Posts: 73
Joined: Fri, 4. Nov 22, 02:12

Re: [Mod] XR Ship Pack (now including 48!! ships)

Post by Wargear » Sun, 26. Mar 23, 16:25

My best guess is (And I'd do the same thing) that with a mod this extensive and popular he's not going to do anything or release an update until the betas are over and the final is released. Otherwise, bugs will likely keep popping up better to fix once than constantly chasing fires...
WGI Industries [modified]

Sturmer
Posts: 496
Joined: Thu, 9. Jun 11, 19:17

Re: [Mod] XR Ship Pack (now including 48!! ships)

Post by Sturmer » Thu, 30. Mar 23, 04:03

The mod got updated on Nexus and now the turrets and engines are working. Thank you, Optimus!

mcjanu
Posts: 81
Joined: Thu, 27. May 04, 08:49
x2

Re: [Mod] XR Ship Pack (now including 48!! ships)

Post by mcjanu » Fri, 31. Mar 23, 09:23

Hi,

is there any ship statistic table for ships from this mode? It would be nice to have a tool to compare ships.

Max Bain
Posts: 1458
Joined: Wed, 27. Jun 18, 19:05
x3ap

Re: [Mod] XR Ship Pack (now including 48!! ships)

Post by Max Bain » Fri, 31. Mar 23, 13:44

There is still the collision issue, so most of the ships dont have a working collision model anymore.

I must admit, that if I would have to fix this in blender for each ship individually and export, convert and replace it one by one, that I most probably can not do this in the next days/weeks. I really hope that Egosoft can fix the issue on their end and just convert collision models when loading a mod automatically.
XR Ship Pack (adds several ships from XR) Link
Weapon Pack (adds several new weapons) Link
Economy Overhaul (expands the X4 economy with many new buildings) Link
X4 Editor (view stats of objects and make your own mod within a few clicks) Link

Sturmer
Posts: 496
Joined: Thu, 9. Jun 11, 19:17

Re: [Mod] XR Ship Pack (now including 48!! ships)

Post by Sturmer » Fri, 31. Mar 23, 14:02

Max Bain wrote:
Fri, 31. Mar 23, 13:44
There is still the collision issue, so most of the ships dont have a working collision model anymore.

I must admit, that if I would have to fix this in blender for each ship individually and export, convert and replace it one by one, that I most probably can not do this in the next days/weeks. I really hope that Egosoft can fix the issue on their end and just convert collision models when loading a mod automatically.
Thank you still for fixing turrets and the other stuff so we can at least make them operational. :)

Sturmer
Posts: 496
Joined: Thu, 9. Jun 11, 19:17

Re: [Mod] XR Ship Pack (now including 48!! ships)

Post by Sturmer » Fri, 14. Apr 23, 18:14

Egosoft has released modding tools to fix collisions for mod ships, right?

Max Bain
Posts: 1458
Joined: Wed, 27. Jun 18, 19:05
x3ap

Re: [Mod] XR Ship Pack - BROKEN in 6.0!!!

Post by Max Bain » Sun, 16. Apr 23, 12:47

I just realisied that all ships are broken. Even if some have working collision meshes, you can not land on them.
Seriously, I have no idea how with the new tools I would ever be able to fix the Arawn for example with its complicated shape and interiour docking area.
I give up on fixing because it would simply be an enormous amunt of work for me.

If anyone with the knowledge and time is willing to help me, please contact me so I can give you the blender files. But I can not help you a lot more.
Sorry for that.


Here is the link to the Arawn blender file:
https://www.dropbox.com/s/jyqtr5lb4thbn ... blend?dl=1
If anyone can fix it so you can start and land from the interiour docks, let me know.
XR Ship Pack (adds several ships from XR) Link
Weapon Pack (adds several new weapons) Link
Economy Overhaul (expands the X4 economy with many new buildings) Link
X4 Editor (view stats of objects and make your own mod within a few clicks) Link

Sturmer
Posts: 496
Joined: Thu, 9. Jun 11, 19:17

Re: [Mod] XR Ship Pack - BROKEN in 6.0!!!

Post by Sturmer » Sun, 16. Apr 23, 20:58

Max Bain wrote:
Sun, 16. Apr 23, 12:47
I just realisied that all ships are broken. Even if some have working collision meshes, you can not land on them.


I'm guessing it's impossible to remove the mod from a save?

User avatar
StoneLegionYT
Posts: 1428
Joined: Fri, 4. Nov 05, 01:18
x4

Re: [Mod] XR Ship Pack - BROKEN in 6.0!!!

Post by StoneLegionYT » Sun, 16. Apr 23, 21:46

Sturmer wrote:
Sun, 16. Apr 23, 20:58
Max Bain wrote:
Sun, 16. Apr 23, 12:47
I just realisied that all ships are broken. Even if some have working collision meshes, you can not land on them.


I'm guessing it's impossible to remove the mod from a save?


Not sure if you know this, but you can downgrade back to 5.1 and continue to enjoy your game.

User avatar
grapedog
Posts: 2398
Joined: Sat, 21. Feb 04, 20:17
x4

Re: [Mod] XR Ship Pack - BROKEN in 6.0!!!

Post by grapedog » Sun, 16. Apr 23, 21:58

StoneLegionYT wrote:
Sun, 16. Apr 23, 21:46
Sturmer wrote:
Sun, 16. Apr 23, 20:58
Max Bain wrote:
Sun, 16. Apr 23, 12:47
I just realisied that all ships are broken. Even if some have working collision meshes, you can not land on them.


I'm guessing it's impossible to remove the mod from a save?


Not sure if you know this, but you can downgrade back to 5.1 and continue to enjoy your game.


Yeah, if nothing else, just to finish that game, then move on.

This is very sad, i consider XR Ship pack pretty much a necessary mod at this point.

|K.O.S.H.
Posts: 3724
Joined: Fri, 19. Dec 03, 10:36
x3tc

Re: [Mod] XR Ship Pack - BROKEN in 6.0!!!

Post by |K.O.S.H. » Mon, 17. Apr 23, 08:50

Sturmer wrote:
Sun, 16. Apr 23, 20:58
Max Bain wrote:
Sun, 16. Apr 23, 12:47
just realisied that all ships are broken. Even if some have working collision meshes, you can not land on them.
I'm guessing it's impossible to remove the mod from a save?
You have to add save="0" in the context xml (see some other mods for example), load a savegame, save it (so that the is included) and then you can remove the mod.

Before saving I would sell the ships, to get the money back ;)
Last edited by |K.O.S.H. on Mon, 17. Apr 23, 10:34, edited 1 time in total.
Wing Commander Mod - German Topic
06.07.11 - v1.1 RELEASED!

linolafett
EGOSOFT
EGOSOFT
Posts: 3321
Joined: Mon, 26. Mar 12, 14:57
x4

Re: [Mod] XR Ship Pack - BROKEN in 6.0!!!

Post by linolafett » Mon, 17. Apr 23, 09:51

I generated the jolt hulls for the three main parts of the arawn.
I hope this helps.

https://drive.google.com/file/d/1ITNLZ6 ... share_link
01001100 01101001 01101110 01100101 01110011 00100000 01101111 01100110 00100000 01110100 01101001 01101101 01100101 01110011 00101110 00101110 00101110

My art stuff

Max Bain
Posts: 1458
Joined: Wed, 27. Jun 18, 19:05
x3ap

Re: [Mod] XR Ship Pack - BROKEN in 6.0!!!

Post by Max Bain » Mon, 17. Apr 23, 11:04

linolafett wrote:
Mon, 17. Apr 23, 09:51
I generated the jolt hulls for the three main parts of the arawn.
I hope this helps.

https://drive.google.com/file/d/1ITNLZ6 ... share_link
Thank you very much!

But I fear without further explanation it wont help a lot. Here is what I did:

In Blender I used the Egosoft Tool to add "col" and "uv1" to the 3 main objects (without the converter did nothing). Then I exported everything.

Here I got already confused because instead of 4 files per object, I got 5. "part_heck-hull.jcs" and "part_heckxcollision-hull.jcs". Before I only got "part_heckxcollision-hull.jcs" and I renamed it to "part_heck-hull.jcs" so it would be taken in game. Why is that and which one is the correct -hull file (they both have different file size, so they are different)?
Now I tried both (always only used one and renamed it properly) but in game the collision is still all over the place.

It seems it is not properly aligned and rotated and this is what I dont understand. All objects have 0, 0, 0 rotation as described in the tutorial and the ship is aligned along the y axis which looks good in my opinion. Some objects do have location values set other than 0. Is that an issue? Do I have to apply the location to make it 0, 0, 0?

Here is how it looks in Blender:
Image

Also I see that you have deactivated all other nodes in the object tree... will these be simply ignored by the tools for export? Because so far I always removed them.


Also how long did it take you to create the collision mesh? Have you moved the vertices by hand? What values for the automated V-HACD tool have you used?

Edit: I noticed that the single parts generated by the V-HACD all have rotation value of x = 90 and they all have set location values. Can this be an issue? Can I just apply the values?
Edit2: tried to apply the locations of the small collision parts but still collision is broken. It seems that all three ship parts are in the center of the ship and not positioned correctly. But it seems to make no difference if the location of the objects have values or if I apply these values and set them to 0.
XR Ship Pack (adds several ships from XR) Link
Weapon Pack (adds several new weapons) Link
Economy Overhaul (expands the X4 economy with many new buildings) Link
X4 Editor (view stats of objects and make your own mod within a few clicks) Link

linolafett
EGOSOFT
EGOSOFT
Posts: 3321
Joined: Mon, 26. Mar 12, 14:57
x4

Re: [Mod] XR Ship Pack - BROKEN in 6.0!!!

Post by linolafett » Mon, 17. Apr 23, 13:40

As i dont have an idea, how the community exporter works, i just did the work i am used to in the office.

For each "main" part we have following set up:

part_main
(part_main.col) - rarely used on ships, mostly on interiors - used for defining the high precision raycast hit box (e.g. bullets/lensflares)
part_main.LOD1 - Level of detail
part_main.LOD2
part_main.LOD3
part_main.wreck - the geometry shown when the ship is destroyed.
[hulls] - collection - used for ship to ship or ship to station collision
part_main_hull_xxx

The hulls are created with the V-HACD tool.
A rough guide about what the settings mean can be found in the Egosoft Blender Mod Tools thread.
viewtopic.php?f=203&t=453487&p=5172281#p5172281

I just hid most of the parts in the file, so i can see what i am doing.
Again, the layout of the blend file is nothing i am familiar with, it is much simpler with the in house tool - which i hope we can release in the future.
01001100 01101001 01101110 01100101 01110011 00100000 01101111 01100110 00100000 01110100 01101001 01101101 01100101 01110011 00101110 00101110 00101110

My art stuff

Post Reply

Return to “X4: Foundations - Scripts and Modding”