Did so. THanks for offering your help!apricotslice wrote:Send me the files you changed and I'll have a look.
[Docn] Director Start.xml
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
What you told me works like a charm ^^ I just "copied" the modified 03.cat and .dat into the "mods" folder. Just one question though: Now tha game recognizes (when mod is loaded) that it's version 1.01. How do I avoid that? copying the 04,05... files too? (the ones that the patch seem to upgrade when patching?).
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
[ external image ]
Err.....that wasnt quite what I said !
03 is the original game pack. You want to use the files from 06.
Extract from 06, and then create a new cat/dat for them that you put in mods.
Err.....that wasnt quite what I said !
03 is the original game pack. You want to use the files from 06.
Extract from 06, and then create a new cat/dat for them that you put in mods.
I see. But 06 doens't have the "start.pck" file. It does have the other two though.apricotslice wrote: 03 is the original game pack. You want to use the files from 06.
Extract from 06, and then create a new cat/dat for them that you put in mods.
DO I just use the "start" one from 03? Or load my already edited files into a copy of 06?
EDIT: GOT IT! I made a copy from 06.cat and .dat, renamed both to my name. Changed the files into the .cat with Mod Manager and loaded them as a mod. Works like a charma nd recognizes the current version of the game.
Thank you very much apricot ^^. I'll start working on it immediatedly.
Last edited by Seathal on Sat, 10. Jan 09, 12:15, edited 1 time in total.
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
Observe, did you have to use 0001 for the text for your start, or is there a way around this ?
I really dont like the idea of having to bundle a modified 0001 file in a mod.
I've just done mine. Everything works except the actual display screen, as yet.
One thing I dont understand is why if you run the program, load a game, exit and restart, why the text entries for gamestart are not available to the start screen. The game text file (that the editor uses) has been updated, so why isnt the program accessing this ?
I really dont like the idea of having to bundle a modified 0001 file in a mod.
I've just done mine. Everything works except the actual display screen, as yet.
One thing I dont understand is why if you run the program, load a game, exit and restart, why the text entries for gamestart are not available to the start screen. The game text file (that the editor uses) has been updated, so why isnt the program accessing this ?
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
ok, am having real problems with this.
Everything works except for displaying the text information on the new game menu.
I've coded the start to use text from page id 8686, I've put this in 0001 and installed it as a false patch (after first trying it inside the mod).
All I get are readtext errors.
I've tried starting a game and then exiting to get the updated text file in the game. No change.
What is the something obvious I'm missing ?
If the text has to go into 0001, that means that in order to get multiple starts loaded, one must manually edit all the starts together into 0001, which is not really acceptable.
Everything works except for displaying the text information on the new game menu.
I've coded the start to use text from page id 8686, I've put this in 0001 and installed it as a false patch (after first trying it inside the mod).
All I get are readtext errors.
I've tried starting a game and then exiting to get the updated text file in the game. No change.
What is the something obvious I'm missing ?
If the text has to go into 0001, that means that in order to get multiple starts loaded, one must manually edit all the starts together into 0001, which is not really acceptable.
I copied "0001-L044" and modified that copy, then added it to the mod.cat file. The display on start menu works fine but I get get some readtexts on apparently random places which i've not touched nor modified (command menu, start information, mission guidance...).
So far I haven't found a solution either.
So far I haven't found a solution either.
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
I've had a hypothesis, but no chance to test it.
I suspect the game when it first starts, looks at the 0001 file that is stored in the 03 cat/dat.
It occured to me that if a modified version of 0001 was put into the 03, then it might work. If it does, its not very helpful as far as distribution is concerned, but I do have an idea on that. First step is to confirm if the hypothesis is right or not.
I've pm'ed Observe to find out how he got his to work, but so far no answer.
Anyone want to quickly try this ?
The good thing about the 03 0001, is that its out of date, so changing it is not a hassell for the game itself.
I suspect the game when it first starts, looks at the 0001 file that is stored in the 03 cat/dat.
It occured to me that if a modified version of 0001 was put into the 03, then it might work. If it does, its not very helpful as far as distribution is concerned, but I do have an idea on that. First step is to confirm if the hypothesis is right or not.
I've pm'ed Observe to find out how he got his to work, but so far no answer.
Anyone want to quickly try this ?
The good thing about the 03 0001, is that its out of date, so changing it is not a hassell for the game itself.
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
-
- Posts: 2262
- Joined: Tue, 23. Dec 03, 22:32
Hello. Just now read where you were asking this question.apricotslice wrote:If you wanted to add in a specific station in a specific sector, with say a specific set of wares that it sells (non-player), how would you do that ?
1. Make entry in "mdfiles" wheatfarm_1 (if this is name of file you want to name it).
2. Add in mod using ModManager under "director".
You may want to change the gamestart number in the code due to this is a gamestart I made.
If you want to use it for testing purposes without placing it inside of mod, place it in director directory. You can also comment out the gamestart line if you wish. You and anyone else has my permission to change it around any way you wish. Enjoy.
Code: Select all
<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml-stylesheet href="director.xsl" type="text/xsl" ?>
<director name="test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="director.xsd">
<documentation>
<author name="Stu Austin" alias="Stu Austin" contact="http://www.egosoft.com" />
<content reference="Factory" name="Factory" description="Simple 'factory' template" />
<version number="1.0" date="3-24-2008" status="development" />
</documentation>
<cues>
<cue name="create_wheat1">
<condition>
<check_all>
<check_value value="{player.gamestart}" exact="107" comment="The exact equals to gamestart number."/>
<check_age value="{player.age}" min="60s" />
</check_all>
</condition>
<action>
<do_all>
<load_text fileid="7005"/>
<find_sector x="1" y="3" name="argonprime" comment="Finds Argon Prime and assigns a name which can be used later" />
<create_station name="this.Wheatfarm" typename="SS_FAC_R214_1" class="factory" textid="5900">
<position x="10km" y="10km" z="10km" comment="position of the factory in the spawned sector"/>
<sector sector="argonprime"/>
</create_station>
<set_owner object="this.Wheatfarm" race="argon"/>
<add_equipment object="this.Wheatfarm">
<ware typename="SS_SHIELD_E" exact="15" comment="15x1mj shield"/>
</add_equipment>
<set_shield object="this.Wheatfarm" exact="90"/>
<add_resources object="this.Wheatfarm">
<ware exact="25000" typename="SS_WARE_ENERGY"/>
</add_resources>
<complete_cue cue="create_wheat1"/>
</do_all>
</action>
</cue>
</cues>
</director>
Last edited by Stu Austin on Wed, 25. Mar 09, 02:39, edited 1 time in total.
Transcend Mod Team - AP, TC, Reunion