[REQ] Add Pirate/Yaki rep to Race Rank List

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

Painman
Posts: 1694
Joined: Fri, 6. Apr 07, 07:12
x3tc

Post by Painman » Wed, 10. Dec 08, 00:54

My Universe is a bit of a boring place... everyone likes me, but that's better for business. :teladi:

jlehtone
Posts: 21801
Joined: Sat, 23. Apr 05, 21:42
x4

Post by jlehtone » Wed, 10. Dec 08, 09:40

Corpse_Maker wrote:OK so you have a rep with Yaki and Pirates my guess would be all other races reputation is in negative? or no...
If the assassinations have not changed, then the mission ships do not really belong to any race (or you could not do your job without the local police getting mad). So nobody cares. Actually, in X2/X3R Assassination both the client race and the formal race of the mark grant reputation.

@Painman: everyone loves you for killing them ... :twisted:

PaulP
Posts: 186
Joined: Tue, 18. Nov 08, 00:50
x4

Post by PaulP » Wed, 10. Dec 08, 10:08

I did a "kill 4 ships" mission from a pirate base, and dropped 3 race ranks with the Split (they were split ships) while killing them. I also noticed that Yaki are hostile after doing some kill yaki missions.

ephemeron
Posts: 445
Joined: Thu, 17. Jan 08, 05:18
x4

Post by ephemeron » Wed, 10. Dec 08, 19:40

jlehtone wrote:If the assassinations have not changed, then the mission ships do not really belong to any race (or you could not do your job without the local police getting mad). So nobody cares. Actually, in X2/X3R Assassination both the client race and the formal race of the mark grant reputation.:
This may no longer be the case in TC. I took an assassination mission from a pirate base and used Carlo the Curious' little script to check my pirate rep before and after. After killing the mark (who wasn't hostile to me before I started shooting) and several Pirate Centaur escorts, my pirate rep was about a thousand points lower than was when I took the mission.

I suspect the pirates' thanks for fighting crime were just a little sarcastic.

xiriod
Posts: 1131
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by xiriod » Thu, 18. Dec 08, 02:41

PaulP wrote:I did a "kill 4 ships" mission from a pirate base, and dropped 3 race ranks with the Split (they were split ships) while killing them. I also noticed that Yaki are hostile after doing some kill yaki missions.

I read in some thread, can't remember where, that some of the pirates/yaki turning red is also connected to your fighting rank. I am not sure if that is the case though. But I have been extremely pirate friendly, and yet more and more of them are becoming red to me. The only thing that has changed is my combat rank.

lumbrius
Posts: 47
Joined: Sun, 3. Apr 11, 00:36
xr

Post by lumbrius » Fri, 11. Aug 17, 17:53

Turns out the script file is unavailable. Could someone reupload please?

suxkar
Posts: 6
Joined: Wed, 26. Jul 17, 17:59
x3ap

Post by suxkar » Thu, 31. Aug 17, 10:07

I recently had the same question, so with some help from this forum I "wrote" the few lines needed. I am FAR from being an expert in the script editor language so I did a very basic script.
Hoping that you are at least a bit familiar with the script editor, you just have to:
1- Create a new script
2- First line:Under "General Object command", find the command "get notoriety from race". Be careful to use the command with "from race", not "to race".
3- You have to set 3 arguments (the "<?>"). Press on the first one, the chose "<Variable>" and chose a name. This will store the notoriety number. In the second argument, chose "Select a race" and then chose Yaki, Pirates of whatever you might need. You will be able to change it later depending on your needs. In the last argument, chose "Select race again" and select the name of the player, for example, if u started with Humble Merchant, your player name will be "Hari Gul".
4- Second line: Build a message using the first command in "General commands". First input will be the name of the variable that stores the message, say "msg". The second input will be the message itself. Press on it and select "<String>". Here you can write, for example, "Notoriety is ". Then press the "..." at the end on the line, select "+" from the symbols menu. In the script window, you should now have something like:
" $msg = 'Notoriety is ' + <?> "
Press on the question mark and select, from the first menu, the name of the variable where you stored the number of the notoriety.
5- Third line: chose a way to display the message. Under "Audio Commands", you can either have a pop-up message using "send incoming message to player" (set the last argument to the constant "TRUE" so it will pop up), or you can have a subtitle line appear on the bottom of the screen using "Display subtitle text". Obviously use the variable where you stored your message as the message argument.

The result should be:

Code: Select all

001  $notor = get notoriety from race Yaki to race Hari Gul
002  $msg = 'The notoriety is ' + $notor
003  display subtitle text: text = &msg, duration = 3000ms
I realize this might be messy if it is the first time you use the script editor so feel free to ask!

Post Reply

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