Reading Notoriety - debug me please!

The place to discuss scripting and game modifications for X²: The Threat.

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

User avatar
JustHere4Coffee
Posts: 1075
Joined: Wed, 6. Nov 02, 20:31
x2

Reading Notoriety - debug me please!

Post by JustHere4Coffee »

okay, I'm trying to find out just what my standing is with the individual races, and something's not coming out right

here's the script as it stands:

Code: Select all

$myrace = [PLAYERSHIP] -> get owner race
$argon = $myrace -> get notoriety to race Argon
... (repeat for all races)
write to player logbook: printf: fmt='Argons: %s', $argon, null, null, null, null
... (repeat for all races)
return 0
the output of the script adds lines to my log, but all I ever get is 0 as my notoriety

is there something I'm missing, or is there no way to accurately obtain this info? I saw mention of a script that changed the prices of its wares based on your standing with races, but on examination it didn't do any such thing so I was left helpless
User avatar
moggy2
Posts: 5505
Joined: Wed, 6. Nov 02, 20:31
x3ap

Post by moggy2 »

does the command the command not require a refrence ship or station rather than a race?

/me checks the handbook...

yep...

Code: Select all

<RetVar/IF><RefObj> get notoriery to race <Var/Race>
it's a reference object.


you want to specify [PLAYERSHIP] directly rather than getting the race of it.
User avatar
JustHere4Coffee
Posts: 1075
Joined: Wed, 6. Nov 02, 20:31
x2

Post by JustHere4Coffee »

bugger

I tried that originally and got the same result, I presumed because my ship doesn't carry my stats

it must only check those -1000000/0/1000000-type ratings, not the actual player/race ranking stats
holo_doctor
Posts: 860
Joined: Fri, 26. Mar 04, 12:20
x3tc

Post by holo_doctor »

Notority its how much it taktes a ship or station to get mean to you or nother race. ed notoiety to pirates is low therefor only takes 1 or 2 hits.

the lower the notority of the object the less it has to do to get the other race mad at it.

eg setting your playership notiety to -100 to the argo will make then way less forgiving!

at the moment there no way to do race wide notority even though theres is the race to race notoriety lookup with will always show 0!
i7-930 2.8Ghz quad core
6gig DDR3-1600 3 channel Ram
Nvida GTX470
64gig SSD / 1TB Hitachi
Vorsuc
Posts: 57
Joined: Tue, 20. Jan 04, 13:39
x3tc

Post by Vorsuc »

I'm not sure about "getting" notoriety, but to set it you use the Player (Julian) race.

One thing I do remember is that it was the wrong way round from what I expected, have you tried :

$argon = Argon get notoriety to race Player

??
-v.

Return to “X²: The Threat - Scripts and Modding”