Creating an extension doesnt work but creating 10.cat does: please help

The place to discuss scripting and game modifications for X Rebirth.

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

Post Reply
Xan0010
Posts: 26
Joined: Mon, 26. Dec 05, 10:27
x4

Creating an extension doesnt work but creating 10.cat does: please help

Post by Xan0010 » Sat, 25. Apr 15, 11:24

Hello,

I want to create an extension for the game. My extension gives the Scaldis more cargo capacity. To change my Scaldis into the new one I have to edit my savegame and only change the macro of the ship and make a zone change in-game:

My mod consist of the following files:
- 9 new ..._macro.xml, each in their appropriate folder
- FileA: one macros.xml with only the additional lines
- FileB: one macros.xml extracted from 09.cat with the additional lines
- the content.xml which is not part of the ##.cat file

I have created and moved to the extensions/mymodname directory:
- one ext_01.cat with the 9 new ..._macro.xml and and FileA
- the content.xml
> After activating the mod, this doesnt work at all. My Scaldis vanishes
after loading.
- one subst_01.cat with the 9 new ..._macro.xml and and FileA
- the content.xml
> The game crashes on startup.

I have also created and moved to the base game directory:
- a catalogue named 10.cat with the 9 new ..._macro.xml and FileB
> This works as intended, my Scaldis gains more cargo.

Since my mod fully works Im using the 10.cat but Id like to know what i have done wrong with the extension folder. Help would be appreciated!

UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader » Sat, 25. Apr 15, 13:27

***moved to EN XR S&M-Forum***


Mods changing existent files work with diff files, not by replacing existent ones or containing differences*

more info regarding xml diff files here: http://forum.egosoft.com/viewtopic.php?t=354310





*in a rare case this can be done, too - but thats not your case.
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader » Sun, 26. Apr 15, 01:04

sorry for double-posting, but just re-read your post and now understand the actual problem know whats wrong (just woke up when i first read it):

you have to specify the path to your macros/components in the index/macros.xml and index/components.xml with the full path. this includes Extensions/yourExtension ;) and this is thhe rare case i mentoined earlier when just having the Stuff you add inside a File stuff works: when its directly inside the root node ;) so the index and components in your mod should contain your new stuff only ;)
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

Xan0010
Posts: 26
Joined: Mon, 26. Dec 05, 10:27
x4

Post by Xan0010 » Fri, 1. May 15, 19:58

That did it, thank you very much!!! :)

Post Reply

Return to “X Rebirth - Scripts and Modding”