[MD] Ranks for Xenon, Kha'ak, Pirates and Yaki [V1.03][09/21/2011]

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

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

Centurion2008
Posts: 65
Joined: Mon, 4. Feb 08, 23:52
x3tc

Post by Centurion2008 » Thu, 11. Apr 13, 00:18

Links not working !!

download linked file just says download starting and times out for me,
save link file as, and it times out.
Last edited by Centurion2008 on Thu, 11. Apr 13, 06:13, edited 2 times in total.

User avatar
Yacek
Posts: 3157
Joined: Wed, 18. Jul 07, 11:44
x3tc

Post by Yacek » Thu, 11. Apr 13, 04:32

The links work for me.
X3:AP 3.1+XRM 1.30d+MSP 1.7+LoCo 2.01+IR 2.0
Zapraszamy wszystkich chętnych na forum XUDB, gdzie znajdziesz FAQ, opisy skryptów, modów i fabuł, oraz Mamut HQ.
[ external image ]

Huillam
Posts: 430
Joined: Fri, 16. Dec 11, 11:24
x4

Post by Huillam » Fri, 31. May 13, 01:30

I just noticed the corp ranks were using xenon titles.
Editing director\RankingXKPY.xml and t\7004-L044.xml to remove every block of code related to xenons reverted the corp ranks to their base name but I still have xenon ranks on screen and they use corp titles (short story: I now have the inverse issue).
Any idea?

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Fri, 31. May 13, 03:43

The script works fine with the vanilla game. Probably you are trying to use it with a mod that also changes page 900. Find the mod's page 900 and you should be able to edit it as you like. The mod may change page 900 in 0001-L0xx.xml, or it may have its own file (as this script does).
  • (Note that "page 900" may have a prefix in your games files which signifies the lowest version of TC or AP with which the page will work. For example, the first occurrence of page 900 in the vanilla 0001 file is page id="350900".

    I just searched for 900" until I found a page that ended in 900 and had no significant digits in front of it. So ignore page 1900, for example.)

Huillam
Posts: 430
Joined: Fri, 16. Dec 11, 11:24
x4

Post by Huillam » Fri, 31. May 13, 04:27

Except for 350900 (used by this script) MarCon Ind Main Menu and Cyrcrow Cheat Package both use this id: the first keep it blank, le second use "<t id="900">\033RCheat\033X: %s</t>". Disabling them did not resolve the issue. I imagine they're not in fault.
Apart from that 0001-L044.xml seems to be missing.

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Fri, 31. May 13, 04:30

I meant "look at your mod's files". Such as XRM, for example, if you play that.

0001 is in a .cat file. Use X3 Editor 2 and Open from VFS to find the version used by your game.

Huillam
Posts: 430
Joined: Fri, 16. Dec 11, 11:24
x4

Post by Huillam » Fri, 31. May 13, 05:24

My bad!
So what I've found using the Open from VFS:
Few page related to menus ending with 900 (most probably with 1900 in fact).
Two pages related to Mission Ranks (from 0001-L044.xml):
- 350900 containing the corp ranks from TC
- 380900 containing the corp ranks from AP 3.0

Then checked every XXXX-L044.pck but I didn't find anything ending with 900.

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Fri, 31. May 13, 05:33

It sounds as though you checked everything except the important files. :)

Look in your XRM .cats for language files containing page 900.

EDIT: Or ask about it in the XRM thread.

Huillam
Posts: 430
Joined: Fri, 16. Dec 11, 11:24
x4

Post by Huillam » Fri, 31. May 13, 05:50

Done and done. But still nothing ending with 900.

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Fri, 31. May 13, 05:54

1) Remove MD Ranks.

2) Close X3 Editor (if open), then re-open it. Then look at the files in the addon\t folder (using VFS), beginning with 0001.

By removing MD ranks then re-opening X3 Editor, VFS will find the files used by the game -- which should include the XRM files.

Huillam
Posts: 430
Joined: Fri, 16. Dec 11, 11:24
x4

Post by Huillam » Fri, 31. May 13, 06:00

Okay I'll try that later today. Thank you for your patience DrBullwinkle. :)

Huillam
Posts: 430
Joined: Fri, 16. Dec 11, 11:24
x4

Post by Huillam » Fri, 31. May 13, 17:30

Same as before: apart from the intro menus there are only two pages ending with 900 350900 and 380900.

dillpickle
Posts: 1159
Joined: Mon, 3. Nov 08, 14:25
x3tc

Post by dillpickle » Fri, 31. May 13, 18:03

DrBullwinkle wrote:The script works fine with the vanilla game.
It won't with AP 3.0.

The Corporation Plot uses text ID's 900 - 920 on Page ID (38)0900, which are the same this uses on (35)0900 for the Xenon ranks.
Last edited by dillpickle on Fri, 31. May 13, 19:07, edited 1 time in total.

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Fri, 31. May 13, 18:58

Huillam wrote:Same as before: apart from the intro menus there are only two pages ending with 900 350900 and 380900.
Yes, those are the page 900's that you are looking for. The 35 and 38 prefixes are game versions. For AP, you specifically want 380900.


dillpickle wrote:The Corporation Plot uses text ID's 900 - 920 on Page ID (38)0900, which are the same this uses on (35)0900 for the Xenon ranks.
Interesting. It appears to me that the Director file does not actually implement Xenon ranks, so only the language file is wrong. And the language file uses page 350900, so AP 3.0's 380900 should supersede it, right?

fucstef
Posts: 5
Joined: Tue, 3. Feb 04, 19:50
x4

Post by fucstef » Fri, 31. May 13, 21:31

I changed the text IDs from 900 to 1300 (including MD file)and get it to work.

http://xapmods.funpic.de/RankingXKPYAP3.0.zip

It workes for new games. For existing games with the previous script version the xenon ranking needs to be refreshed (value needs to change). I did it by using a notoriety script. I will try to check this on the weekend how it can be done without this additional script. But so far with the additional script, the display values are working.

Huillam
Posts: 430
Joined: Fri, 16. Dec 11, 11:24
x4

Post by Huillam » Fri, 31. May 13, 22:37

Okay everything is fine know. Thank you (both).

cryptonite1
Posts: 90
Joined: Sat, 1. Jun 13, 20:06
x4

Post by cryptonite1 » Sat, 1. Jun 13, 20:10

followed instructions, nothing works.

tried to install before and after making game "modified"

tried to install when game is "unmodified"

help please...

User avatar
Yacek
Posts: 3157
Joined: Wed, 18. Jul 07, 11:44
x3tc

Post by Yacek » Sat, 1. Jun 13, 20:49

cryptonite1 wrote:followed instructions, nothing works.

tried to install before and after making game "modified"

tried to install when game is "unmodified"

help please...
You play TC or AP?
If the AP, you have to unzip the folder Terran Conflict/addon.
With AP, you have all the scripts and mods installed in a subfolder of the addon.
X3:AP 3.1+XRM 1.30d+MSP 1.7+LoCo 2.01+IR 2.0
Zapraszamy wszystkich chętnych na forum XUDB, gdzie znajdziesz FAQ, opisy skryptów, modów i fabuł, oraz Mamut HQ.
[ external image ]

cryptonite1
Posts: 90
Joined: Sat, 1. Jun 13, 20:06
x4

Post by cryptonite1 » Sun, 2. Jun 13, 05:29

ok, i follow ur advice too, still not working...

dont really know what went wrong now...

i put everything in the "addon" folder still, nothing...

if i did anyhting wrong, can someone provide a detailed step by step instruction? providing info like before or after "modified"?

Oh, and I play AP. if that helps

cryptonite1
Posts: 90
Joined: Sat, 1. Jun 13, 20:06
x4

Post by cryptonite1 » Sun, 2. Jun 13, 05:34

ah ok, i think i found out the solution, you have to make game modified first, than install...

thank you very much for helping a noob like me at these things :)

Post Reply

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