[TOOL] Changeling - X3:TC Editor and Change Manager [v2.8.1 - Sa-07-May-2011]

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

Advent1s
Posts: 148
Joined: Sat, 14. Apr 07, 00:12
x4

Post by Advent1s »

Same behaviour unfortunately.
User avatar
Litcube
Posts: 4254
Joined: Fri, 20. Oct 06, 19:02
xr

Post by Litcube »

I don't know what the 2506 is, but you might want to try changing that one too. See how that goes.
Advent1s
Posts: 148
Joined: Sat, 14. Apr 07, 00:12
x4

Post by Advent1s »

It includes something about spirit industries which is an AWRM thing i believe.

An article for encyclopaedia i believe, doubt it has any effect on OBS.
dillpickle
Posts: 1159
Joined: Mon, 3. Nov 08, 14:25
x3tc

Post by dillpickle »

Think your problem could be with OBS.

Code: Select all

<scriptvalue datatype="object" datavalue="{{param@OBS Cue}.Temp Ship}"/>
Should be:

Code: Select all

<scriptvalue datatype="object" datavalue="{object@{param@OBS Cue}.Temp Ship}"/>
User avatar
Litcube
Posts: 4254
Joined: Fri, 20. Oct 06, 19:02
xr

Post by Litcube »

Thanks Dill. If that's the issue, it'd odd that my own game is spawning the weapons just fine. I even tested the parameter by writing it to the log in game.

In any case, Advent, I made the modification suggested by Dill. Try this:

[ external image ]
Advent1s
Posts: 148
Joined: Sat, 14. Apr 07, 00:12
x4

Post by Advent1s »

Ah definitely suspected an error like that.

I must be really unlucky, still doesn't want to work.

Really makes no sense, am i supposed to activate the Script editor or something?

Mind you its a bit late to bother with this at the moment, will do something later.
User avatar
Litcube
Posts: 4254
Joined: Fri, 20. Oct 06, 19:02
xr

Post by Litcube »

Have you not activated the script editor? If it's not activated, the setup script might not be firing. It's been so long, I don't remember.
User avatar
Sam L.R. Griffiths
Posts: 10522
Joined: Fri, 12. Mar 04, 19:47
x4

Post by Sam L.R. Griffiths »

Litcube wrote:Roger, are you sure the T file don't need the language extension?
Yes - absolutely positive.

The definition in the xxxx.xml/pck file is used by ALL locales if they can not find an appropriate definitin in a xxxx-Lxxx.xml file. Since there is no reason for any of the strings in the 8387 file to be regionalised there is no need for the -Lxxx extension.

Besides which, there is no mention of the "loads of error messages" that I would be expecting if a relevant file was missing.
Lenna (aka [SRK] The_Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
User avatar
Sam L.R. Griffiths
Posts: 10522
Joined: Fri, 12. Mar 04, 19:47
x4

Post by Sam L.R. Griffiths »

Litcube wrote:I don't know what the 2506 is, but you might want to try changing that one too. See how that goes.
I *strongly* advise against such suggestions. It is totally unnecessary.

The 2506 file is the externalised string file that is used by the script to enable translation in the future.
Lenna (aka [SRK] The_Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
User avatar
Sam L.R. Griffiths
Posts: 10522
Joined: Fri, 12. Mar 04, 19:47
x4

Post by Sam L.R. Griffiths »

Litcube wrote:Have you not activated the script editor? If it's not activated, the setup script might not be firing. It's been so long, I don't remember.
Script Editor activation is not required. I never run a modded game with it active unless I am debugging/writing scripts and even then the scripts get tested without it active before release.
Lenna (aka [SRK] The_Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
Mad_CatMk2
Posts: 518
Joined: Sun, 22. Feb 09, 20:13
x4

Post by Mad_CatMk2 »

Slightly OT:

@Advent1s noticed you have the TC dvd in your drive, TC since 2.5 has no CD patch installed :)

[/OT]

What if you try a new game? I.e. start a new game and try a mission in a new environment?
I fly an OWP. What about you?
User avatar
Sam L.R. Griffiths
Posts: 10522
Joined: Fri, 12. Mar 04, 19:47
x4

Post by Sam L.R. Griffiths »

Mad_CatMk2 wrote:What if you try a new game? I.e. start a new game and try a mission in a new environment?
I think they were starting a new game (recommended after installing EES for the first time - generally not necessary for upgrades)
Lenna (aka [SRK] The_Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
Advent1s
Posts: 148
Joined: Sat, 14. Apr 07, 00:12
x4

Post by Advent1s »

I did a new game for every time i was testing these silly xenon/pirates who simply wont add weapons.

Is this supposed to happen "<run_script script="Lib.Gen.EquipShip" object="null">
<scriptargs>" ?
User avatar
Sam L.R. Griffiths
Posts: 10522
Joined: Fri, 12. Mar 04, 19:47
x4

Post by Sam L.R. Griffiths »

Advent1s wrote:I did a new game for every time i was testing these silly xenon/pirates who simply wont add weapons.
Ok, rather than running over the same ground over and over let us try a slightly different tack.

Can you do the following please:-
  1. Download and install Changling
  2. Run Changeling and import your game data
  3. Then import your installed EES configuration file
  4. Save the session
  5. Upload the session file and post a link to it here.
Lenna (aka [SRK] The_Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
User avatar
Sam L.R. Griffiths
Posts: 10522
Joined: Fri, 12. Mar 04, 19:47
x4

Post by Sam L.R. Griffiths »

Advent1s wrote:Is this supposed to happen "<run_script script="Lib.Gen.EquipShip" object="null">
<scriptargs>" ?
Nope. Did you get that after installing LitCube's latest trial OBS.xml file over the top of the one that comes with EES v2.2?

EDIT: Forget that :P
Last edited by Sam L.R. Griffiths on Mon, 25. Apr 11, 16:39, edited 1 time in total.
Lenna (aka [SRK] The_Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
Advent1s
Posts: 148
Joined: Sat, 14. Apr 07, 00:12
x4

Post by Advent1s »

Oh no i was just looking in OBS if something was out of place or something, probably silly because i don't script at all.

http://www.2shared.com/file/JDesB0Hg/config.html

Was it just import the X3tc directory, then import the t file in there?

Just incase.
User avatar
Sam L.R. Griffiths
Posts: 10522
Joined: Fri, 12. Mar 04, 19:47
x4

Post by Sam L.R. Griffiths »

I think I know what the problem with the OBS script is...

It is missing two parameters to Lib.Gen.EquipShip
Script Lib.Gen.EquipShip
Version: 718
for Script Engine Version: 44

Description
Litcube's EES: Select equipment
Arguments
1: LaserRank , Var/Number , 'Laser rank (1-10000)'
2: ShieldRank , Var/Number , 'Shield rank (1-100)'
3: TuningRank , Var/Number , 'Tuning rank (1-100)'
4: MissileRank , Var/Number , 'Missile rank (1-100)'
5: Ship , Var/Ship , 'Ship'
6: LaserMask , Var/Number , 'Laser Exclusion Bit Mask'
7: MissileMask , Var/Number , 'Missile Exclusion Mask'
I appologise to everyone, I should have checked the OBS file more closely before incorporating it.
Lenna (aka [SRK] The_Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
Advent1s
Posts: 148
Joined: Sat, 14. Apr 07, 00:12
x4

Post by Advent1s »

Really no problem, found the culprit faster.

Though im not sure if that file is trying to add all weapons to the spawned ship which would cause a conflict, the script is constantly confused...or something else since as i said never scripted.
User avatar
Sam L.R. Griffiths
Posts: 10522
Joined: Fri, 12. Mar 04, 19:47
x4

Post by Sam L.R. Griffiths »

Advent1s wrote:Really no problem, found the culprit faster.

Though im not sure if that file is trying to add all weapons to the spawned ship which would cause a conflict, the script is constantly confused...or something else since as i said never scripted.
The problem is not the object="null" bit, but rather potentially the absence of the additional parameters possibly causing the issue. There is no guarentees of course but I will be imminently uploading v2.3 with an ammended OBS and ReadMe based on the issues highlighted so far.
Lenna (aka [SRK] The_Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
User avatar
Sam L.R. Griffiths
Posts: 10522
Joined: Fri, 12. Mar 04, 19:47
x4

Post by Sam L.R. Griffiths »

Status Update
Formal release of EES v2.3.

Main changes are:-
  • Updated pre-amble in the readme to correctly reflect the EES configuration file name
  • Update of the OBS script to include two parameters that was missing from the original.
Lenna (aka [SRK] The_Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”