[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

Corpse_Maker
Posts: 174
Joined: Sun, 9. Apr 06, 23:24

Post by Corpse_Maker » Tue, 9. Dec 08, 23:04

Ok, got it.
Last edited by Corpse_Maker on Tue, 9. Dec 08, 23:44, edited 1 time in total.

Painman
Posts: 1582
Joined: Fri, 6. Apr 07, 07:12

Post by Painman » Tue, 9. Dec 08, 23:42

Open the script editor, choose "script editor"

That'll bring you to a long list of scripts... this one'll be at the top, or close to it.

Highlight it, press 'r', then hit Enter twice, voila.

The output is raw numeric data, but it's still useful since you can see Pirate/Yaki relative to everything else. eg. in my game right now, Pirates is 160 (they like me, just barely), Yaki is 34949 (they like me, a lot).

For comparison, Boron is 11945, and that corresponds to my current rank title Queen's Protectorate 14%. Split is 109016, corresponding to my current rank title Honoured Imperator of Rhonkar 6%.

Corpse_Maker
Posts: 174
Joined: Sun, 9. Apr 06, 23:24

Post by Corpse_Maker » Wed, 10. Dec 08, 00:02

lol curious how did you got your Yaki and Pirate notoriety so high, mine are on negative, Pirate in thousands Yaki in hundreds.

Painman
Posts: 1582
Joined: Fri, 6. Apr 07, 07:12

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

Missions... lots of missions. Started out doing assassination missions for a Pirate base in Ocracoke's (making sure not to do ones that had a Yaki as the mark) then eventually got core access to Weaver's Tempest and did missions for the 4 Yaki stations there. Just make sure the mark is flying around in a Yaki sector, and you'll get Yaki rep for killing their enemies.

Lots of assorted missions for Duke's and Pirates in general -- my Duke's sector now has about 13 assorted factories in it... it's getting laggy in there :D I'd have a lot more Pirate rep, but I've dusted a few of their bases that popped up in undesirable places.

Corpse_Maker
Posts: 174
Joined: Sun, 9. Apr 06, 23:24

Post by Corpse_Maker » Wed, 10. Dec 08, 00:49

OK so you have a rep with Yaki and Pirates my guess would be all other races reputation is in negative? or no...

Edit: ughh... I don't have a pirate base in Ocracoke's Storm :cry:

Painman
Posts: 1582
Joined: Fri, 6. Apr 07, 07:12

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

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

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

Post by jlehtone » Wed, 10. Dec 08, 10: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: 185
Joined: Tue, 18. Nov 08, 01:50

Post by PaulP » Wed, 10. Dec 08, 11: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: 428
Joined: Thu, 17. Jan 08, 06:18

Post by ephemeron » Wed, 10. Dec 08, 20: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: 1102
Joined: Wed, 6. Nov 02, 21:31

Post by xiriod » Thu, 18. Dec 08, 03: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

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

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”