[SCRIPT] Ranking Dial by Wercho - adjusts the growth rate of trade / combat rank

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

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

Post Reply
wercho
Posts: 19
Joined: Mon, 1. Feb 10, 01:52
x3tc

[SCRIPT] Ranking Dial by Wercho - adjusts the growth rate of trade / combat rank

Post by wercho » Sat, 13. Feb 10, 04:37

v1.01
Date: 02/18/2010
Author: Wercho

Ranking Dial

Download SPK (v1.01) Please, please, please, for-the-love-of-Pete, please read "Accessing the Menu" below.

Required: Cycrow's Plugin Manager

Description
"Why do they all have PBGs?!? How can I fight four M6 and a ****ton of escorts in my M3? Whyyyyyyy?"
Has this ever happened to you? Do you wish your combat rank would progress slower, so you didn't have to fight such difficult enemies so soon? We've heard your plea, and answered it.

This script package adds the ability to slow (or quicken) the rate of growth of your combat and trade rankings. It is configurable through the in game menus, and allows selection of the growth rate for each separately.

Accessing the Menu
Because this runs through the mission director, and I couldn't find a more convenient way to do things, accessing the menu is done like this:
1. Change pilot name to "rankdial" <--- exactly that, no caps, no spaces
2. You may now change your name back to whatever you want
3. You will get a message asking a series of questions, this is the configuration menu
To access the menu again, repeat from step 1

Installation
1. Install with Cycrow's Plugin Manager.
2. Change your pilot name to "rankdial" (then back to whatever you like)
3. Answer Menu questions

Uninstall
1. Uninstall with Cycrow's Plugin Manager

Files
\scripts
wercho.rd.log.xml
\t
8981-L044.xml (and associated page id)
\director
WerchRankDial.xml

How it works
This script stores your combat/trade ranks. Every 1 minute, it checks your in-game rank against the stored values. It multiplies the difference by the appropriate percentage, and then adjusts your in-game ranking accordingly. Changes are written to the log file at this time.

As a result, after ranking gains there will be up to a one minute period before the plugin takes effect and reduces or increases your ranking. Thus, you may find you gain the same rank multiple times in a row as you earn it, then the script reduces your ranking, then you earn it again. This is normal. Please be aware of this and let the plugin do its thing.

Version History
1.01: Minor fix to logfile script
1.00: Original
Last edited by wercho on Fri, 19. Feb 10, 05:27, edited 1 time in total.

wercho
Posts: 19
Joined: Mon, 1. Feb 10, 01:52
x3tc

Post by wercho » Sat, 13. Feb 10, 04:38

These scripts are free to be reused in your scripts/mods as long as you say thank you in your topic.

mark_a_condren
Posts: 1385
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren » Sat, 13. Feb 10, 15:21

wercho

Your getting to be a busy person, I do believe you will be some peoples fav persons for a bit with filling this demand for ranking speed changes.

Just a thought, and you can tell me to mind my own bees wax if you want, and i'm not sure this will work without testing it.

Have you tried creating a setup.wercho.rd script to setup a hotkey (yes more of em) to call a very basic script to change player name and then after a 1000ms wait to change it back, and that way you could have a hotkey to call your menu.

eg

Code: Select all

10  $org.player.name = get player name
20  $player.race = [PLAYERSHIP] get race
30  $player.race = set name to 'rankdial'
40  = wait 1000 ms
50  $player.race = set name to $org.player.name
60  return [TRUE]
As i said i'm not sure it would work but it may be worth a try.

Keep up the good work.

MarCon

Phezzan
Posts: 79
Joined: Mon, 12. Nov 07, 06:48
xr

Post by Phezzan » Fri, 19. Feb 10, 03:37

I found a bug ... line 21 in wercho.rd.log.xml

Column 108 it closes a text that was never opened
Column 202 Same error in reverse: closes a var that was never opened

I'm surprised the game loads it
My browser doesn't

wercho
Posts: 19
Joined: Mon, 1. Feb 10, 01:52
x3tc

Post by wercho » Fri, 19. Feb 10, 05:29

MarCon: Unfortunately, the 'set name to' command doesn't work for the player's name

Phezzan: Thanks for the message tip. I fixed it and posted v1.01.

LZ
Posts: 6
Joined: Sun, 21. Feb 10, 08:46
x3ap

Post by LZ » Fri, 5. Mar 10, 12:52

:evil: The download link seems broken!

Igor.tverd
Posts: 265
Joined: Sun, 5. Oct 08, 10:06
x3ap

Post by Igor.tverd » Fri, 5. Mar 10, 13:04

Works fine for me.
Fantasy is the impossible made probable. Science fiction is the improbable made possible.

wercho
Posts: 19
Joined: Mon, 1. Feb 10, 01:52
x3tc

Post by wercho » Fri, 5. Mar 10, 19:04

Weird. I clicked on the link myself several times in a row, and it worked on about 7 and didn't once. Maybe mediafire is having server issues...

LZ
Posts: 6
Joined: Sun, 21. Feb 10, 08:46
x3ap

Post by LZ » Sun, 7. Mar 10, 08:31

:( I'm sorry.I think the mediafire Web site has been screened.But I really want this script.Is there another way to get it?

japie1979
Posts: 38
Joined: Thu, 31. Aug 06, 23:23

Post by japie1979 » Sun, 7. Mar 10, 08:39

LZ wrote::( I'm sorry.I think the mediafire Web site has been screened.But I really want this script.Is there another way to get it?
Try this one:

filefront mirror

LZ
Posts: 6
Joined: Sun, 21. Feb 10, 08:46
x3ap

Post by LZ » Sun, 7. Mar 10, 13:22

:D Got it.It works fine.Very nice work,wercho.Thank you all guys!

Fattyfat
Posts: 186
Joined: Thu, 5. May 11, 04:03

Post by Fattyfat » Fri, 13. May 11, 09:10

If used to lower combat ranking to 10%, will this also increase the amount of time required to drop a rank in SETA mode? (i.e. if set to 1000% and going into SETA will it drop combat rank fast)

Post Reply

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