[Scriptidea/Help] Namevariety of Pilots/Marines

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

Post Reply
Anti-Paranoid
Posts: 260
Joined: Thu, 16. Jul 09, 17:35
x4

[Scriptidea/Help] Namevariety of Pilots/Marines

Post by Anti-Paranoid » Sat, 25. Jan 14, 16:17

Hey guys im in search of an script like one in the old TCCP (Terran Corp Combat Pilots).

When you hired a pilot in the Terracorp HQ the script generates a Name of thousands choices of Names and Surnames.
Terran Conflict got only 40 male and female names btw.

I got the idea cause im totally codea addicted and the variety of the original names id really poor.
Imagine how great it would be if there in the universe not flying 20xSillarna Braks and Pok Ohneheim :headbang:

The names are in the main directory (13.cat with all patches) in the language script 0001-L049.xml.
I cant script so i dont know which script control it.

You can change the names for argon males under the section:

<page id="30" title="Argon names" descr="Argon names" voice="no">
<t id="691000">...</t>
<t id="691001">...</t>
<t id="691002">...</t>

..goes till 691040 then surname-id´s followed by female-id´s

But you cant simply add more names like adding new id´s i tryed it.
Something must control that only prenames from id=691000 till 691040 are used and so on.

Combat pilots used a script and a t-file named 8070-L049.xml:

<?xml version="1.0" encoding="UTF-8" ?>
<language id="49">
<page id="8070" title="CombatPilotsNames" descr="">
<t id="1">John</t>
<t id="2">Jared</t>
<t id="3">Tito</t>
<t id="4">Peter</t>
<t id="5">Jennifer</t>
<t id="6">Dony</t>
<t id="7">Hubert</t>
<t id="8">Angela</t>
... and thousands of others


So my question is can you create a simple script which add the names to all terran and argon pilots (using the same names)?

Would be awesome if somebody could help me with that!
Thks in advance!

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

Post by DrBullwinkle » Sat, 25. Jan 14, 16:43

The easiest approach would be to update the X3R script to TC/AP. All of the links appear to be dead. It looks to me as though eladan was the last maintainer of TerraCorps Fleet Package, and he still checks in from time to time.

You might post a request on that thread for a port to TC/AP (or permission for someone else to port it).

Anti-Paranoid
Posts: 260
Joined: Thu, 16. Jul 09, 17:35
x4

Post by Anti-Paranoid » Sat, 25. Jan 14, 16:56

I converted it long time ago in TC but it only uses the names for the hired combat pilots in the terracorp headquarter.

Here is the german-version of it:
http://www.datafilehost.com/d/bf294ad3 (unselect download manager!)

All credits and creation of this stuff belonging to myrus.


But it must be possible to create a script which uses the names for all argon and terran pilots?!

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

Post by DrBullwinkle » Sat, 25. Jan 14, 17:06

Anti-Paranoid wrote:But it must be possible to create a script which uses the names for all argon and terran pilots?!
Hmmm... most ships are generated by Jobs, so you would either have to hack the Jobs scripts or *change* the names of the pilots after they have been created.

You could do it with an Artificial Life Plugin that would scan NPC ships in-sector every few minutes, and update the names for any NPC's that have not already been updated. Add a local variable to the ship as a "flag" that the name has already been changed.

Anti-Paranoid
Posts: 260
Joined: Thu, 16. Jul 09, 17:35
x4

Post by Anti-Paranoid » Sat, 25. Jan 14, 17:13

No cant be cause when i change the names in the 0001-L049.xml it also changing the names of the pilots and marines.
So they all must use this namepool in the 0001-L049.xml under argon names and so on.

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

Post by DrBullwinkle » Sat, 25. Jan 14, 17:15

That's correct. The vanilla scripts pull names from the 0001 file.

YOUR script could then *change* names according to a more expanded text file (with your own text page).

Anti-Paranoid
Posts: 260
Joined: Thu, 16. Jul 09, 17:35
x4

Post by Anti-Paranoid » Sun, 26. Jan 14, 13:58

Only thing i need to know is how i deal with the script or that somebody send me a pre-script or something.
The List of names ive got.

C´mon guys let us rename the boring Sillarnos, Mats, Poks & Brats
:shock:

@drbullwinkle
Especially for your marine training would it be awesome and much more "personal" ;)

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

Post by DrBullwinkle » Sun, 26. Jan 14, 15:05

Post your list or email it to me. I will take a look at it when I get a chance.

Probably.

Maybe. ;)

Anti-Paranoid
Posts: 260
Joined: Thu, 16. Jul 09, 17:35
x4

Post by Anti-Paranoid » Sun, 26. Jan 14, 18:06

Probably, maybe sounds better then anything else!
Maybe you can combine it with you marine-script then.

Bring life in the awesome X-Universe :thumb_up:
I will send you my stuff thx in advance my friend!

Post Reply

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