[Discussion] Generic X3TC S&M questions II
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 2033
- Joined: Wed, 29. Jun 05, 01:45
w.r.t Docking
To be able to dock, 2 requirements need to be fulfilled
1) The docking capacity must be not full (i.e. in the x3editor, that number that you changed)
2. There must physically be a free docking port for you to dock on to (Requires editing the 3d files, i.e. the scene files, very complicated, needs 3dstudio max/gmax/similar, several unpacking/packing tools, and knowledge of which files to mod, check the stickies for more info)
I'm guessing you need to do #2, to get more USABLE docks into your m7. (as m7's usually do use external clamps, so you physically requires a free clamp to dock)
To be able to dock, 2 requirements need to be fulfilled
1) The docking capacity must be not full (i.e. in the x3editor, that number that you changed)
2. There must physically be a free docking port for you to dock on to (Requires editing the 3d files, i.e. the scene files, very complicated, needs 3dstudio max/gmax/similar, several unpacking/packing tools, and knowledge of which files to mod, check the stickies for more info)
I'm guessing you need to do #2, to get more USABLE docks into your m7. (as m7's usually do use external clamps, so you physically requires a free clamp to dock)
-
- Posts: 851
- Joined: Fri, 13. Jun 08, 13:14
however, on the plus side if it is just an internal hangar you can whack up the number in X3 editor without having to do anything else.
E.g. you can mod a vanilla Cerberus to be a light carrier fairly easily, but to give it an M6 clamp or to mod a vanilla Thresher to carry ships requires (2) from Silent's post; a bit of a mission.
E.g. you can mod a vanilla Cerberus to be a light carrier fairly easily, but to give it an M6 clamp or to mod a vanilla Thresher to carry ships requires (2) from Silent's post; a bit of a mission.
-
- Posts: 63
- Joined: Fri, 13. Jan 06, 03:12
-
- Posts: 851
- Joined: Fri, 13. Jun 08, 13:14
there is an object property "Invincible" that can only be invoked by the MDFriedTrix wrote:How can I create/mod and object to make it invincible.
Thx
If you are just wanting to temporarily make something 'invincible' in your game then use Cycrow's Cheat Pack which uses a workaround (technically it refreshes shield and hull every loop)
-
- Posts: 63
- Joined: Fri, 13. Jan 06, 03:12
thx a lotCoruskane wrote: there is an object property "Invincible" that can only be invoked by the MD

can you answer this too pls
is there a way to edit stations proprieties?
For example creating/moding a factory mine that would collect another ressource than the expected ones(example, getting a gold mine)?
A factory that I could make purchasable in docks pls.
thx
-
- Posts: 49
- Joined: Mon, 5. May 08, 00:00
-
- Posts: 63
- Joined: Fri, 13. Jan 06, 03:12
-
- Posts: 10
- Joined: Sat, 10. Jan 09, 15:34
I've downloaded Cycrow's Cheat Collection Package and the Plugin Manager Installer. However, I can not find a directory to install to. I searced the whole C drive and nothing pops up. I've also selected every folder in the X3 file and still got nothing. I have the script editor unlocked with the "Thereshallbewings" name. But that doesn't give me access to the cheat menu... just the scripts (which I have no idea how to use).
-
- Posts: 851
- Joined: Fri, 13. Jun 08, 13:14
what do you need this for?ThalonMook wrote:Hi,
I need to set a missile into the missile slot of a ship (not a M8 or M7) via script.
I know the command to readout which missile is installed but I don't find one to set it.
Does anybody can help me ?
Cu Thalon
If it is to fire a missile through a script then you do not actually need to install the relevant missile.
But if it is make the missile the default then you do need to install it using:
Code: Select all
<RetVar/IF> <RefObj> -> install <Var/Number> units of <Var/Ware>
-
- Posts: 1296
- Joined: Tue, 3. Feb 04, 12:11
Hi,
thx for the fast responce. I need a ship be equiped with a missile in the missile slot.
The command:
I used first but with this the missile is only in cargobay but not installed.
Sorry that's not my first step in scripting
I searched the whole SE but there is no command like xxx switch laser in turret xxx gun xxx to xxx for missiles.
How I get a missile to the missile slot ?
CU Thalon
thx for the fast responce. I need a ship be equiped with a missile in the missile slot.
The command:
Code: Select all
<RetVar/IF> <RefObj> -> install <Var/Number> units of <Var/Ware>
Sorry that's not my first step in scripting

I searched the whole SE but there is no command like xxx switch laser in turret xxx gun xxx to xxx for missiles.
How I get a missile to the missile slot ?
CU Thalon
-
- Posts: 851
- Joined: Fri, 13. Jun 08, 13:14
-
- Posts: 2035
- Joined: Wed, 18. Aug 10, 14:28
To all TShips modders. What causes Mammoths to replace a ship ingame?
Say I created a Terran Valkyrie Vanguard, why does the game spawn a Terran Mammoth Vanguard instead?
I know it's probably just a syntax error somewhere, but I'm buggered if I know which one
Say I created a Terran Valkyrie Vanguard, why does the game spawn a Terran Mammoth Vanguard instead?
I know it's probably just a syntax error somewhere, but I'm buggered if I know which one

"If you’re not prepared to be wrong, you’ll never come up with anything original."
Sir Ken Robinson
Sir Ken Robinson
-
- EGOSOFT
- Posts: 12187
- Joined: Fri, 21. May 04, 17:15
-
- Posts: 851
- Joined: Fri, 13. Jun 08, 13:14
have a chit-chat with Drygar and Jack08; I believe they had some fun with mammoths for quite a whileTrixX wrote:To all TShips modders. What causes Mammoths to replace a ship ingame?
Say I created a Terran Valkyrie Vanguard, why does the game spawn a Terran Mammoth Vanguard instead?
I know it's probably just a syntax error somewhere, but I'm buggered if I know which one

-
- Posts: 35
- Joined: Sat, 11. Sep 10, 02:24
Player Galaxy Map & Sector Names/Sounds
So I'm building a custom map and I have a few questions.
1.) I'm wondering where the definition for the player's map (when you press ',') is stored, and/or how to fix it for my new map.
2.) When I get to editing that, I assume it has references to a Tfile for names and descriptions. I would like to create a new mov/.dat file with the sounds in them. I know mov/00044.xml defines the start/length of the normal 0001-L044 T file. If I were to create a new T file for my own galaxy, is there a way to link that up to a separate mov/*.xml file for my T file with a new .dat for sound? If so, how would I do that?
Thank you,
PM
Edit: Oh another quesiton
3.) Why, in the in-game script panel, if I edit a file externally in Exscriptor, and I click "reinit script cache" does it not update the scripts in-game. I thought that was the point on reinit scripts?
1.) I'm wondering where the definition for the player's map (when you press ',') is stored, and/or how to fix it for my new map.
2.) When I get to editing that, I assume it has references to a Tfile for names and descriptions. I would like to create a new mov/.dat file with the sounds in them. I know mov/00044.xml defines the start/length of the normal 0001-L044 T file. If I were to create a new T file for my own galaxy, is there a way to link that up to a separate mov/*.xml file for my T file with a new .dat for sound? If so, how would I do that?
Thank you,
PM
Edit: Oh another quesiton
3.) Why, in the in-game script panel, if I edit a file externally in Exscriptor, and I click "reinit script cache" does it not update the scripts in-game. I thought that was the point on reinit scripts?
-
- Posts: 851
- Joined: Fri, 13. Jun 08, 13:14
1) to update the universe map using an existing save will require the use of MD and even then is limited to certain features: editing existing sectors is a no-go iirc. Look at what the Ego team did for ANH plot MD scripts for an example. If it is for a new game then you can just go ahead
2) no idea ;p. For normal text files it requires a script to get the engine to load them; it is possible that the same is also true for mov xml
3) How are you saving the Exscriptor files? Editing a script in the SE only edits a uncompressed version of the script, which will not persist as pck overwrites when loaded. So, you must save as .xml not as .pck. Other than that I dont know.
sorry for the half-answers
2) no idea ;p. For normal text files it requires a script to get the engine to load them; it is possible that the same is also true for mov xml
3) How are you saving the Exscriptor files? Editing a script in the SE only edits a uncompressed version of the script, which will not persist as pck overwrites when loaded. So, you must save as .xml not as .pck. Other than that I dont know.
sorry for the half-answers
-
- Posts: 35
- Joined: Sat, 11. Sep 10, 02:24
This is for a total conversion, so old saves wouldn't be useful. I just want to change it so "0,0" isn't Kingdom's End but, some other name & description I come up with. Also, sectors that don't normally exist in the game (say 10,10) don't actually show up on the player map, which causes a big issue.Coruskane wrote:1) to update the universe map using an existing save will require the use of MD and even then is limited to certain features: editing existing sectors is a no-go iirc. Look at what the Ego team did for ANH plot MD scripts for an example. If it is for a new game then you can just go ahead
I'm guessing I can probably hack up the page 7 entries for the current sectors and rename/redescribe them. The part that's the bigger issue is the player map. They're not relationally correct and you have missing sectors.
Saving them as .xml. These are new scripts that I've created to help me during my galaxy editing. So I'll load the galaxy editor, run the script a few times, then tab out and edit the script, then come back in and load the script editor again and click "reinit script cache", but if I attempt to edit the file in the in-game editor it still has the original data for when I started the galaxy editor.Coruskane wrote: 3) How are you saving the Exscriptor files? Editing a script in the SE only edits a uncompressed version of the script, which will not persist as pck overwrites when loaded. So, you must save as .xml not as .pck. Other than that I dont know.
sorry for the half-answers
Half-answers are better than no answers! thanks

EDIT:
It would appear that the game auto-magically pulls {7,102XXYY} from the 0001-L0## appropriate language file where XX and YY is the X and Y position of the sector + 1.
That doesn't really dictate how it knows how to build the map though, which is.. wrong, due to how it's laying out sectors.
EDIT2:
Ok, I succeeded in appending to the end of 00144.dat and adding in new references in 00044.xml and getting betty to speaking new phrases (well, a version of Betty I concocted via sound forge), but I can't see releasing a new 00144.dat file with a mod, or explaining to someone how to cat the two files together, so I think I'll just stick with creating new entries to 00044.xml that let's me hack out chunks of the current soundfile to make new words.
I'm still super interested if someone can explain to me how to fix the in-game map for my new galaxy.
-
- Posts: 2035
- Joined: Wed, 18. Aug 10, 14:28