[SCRIPT] Compare Ship Stats

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

User avatar
Graxster
Posts: 817
Joined: Sat, 14. Oct 06, 01:01
x3tc

[SCRIPT] Compare Ship Stats

Post by Graxster »

Tired of switching between info screens to decide which ship is better for you? Or maybe you're writing the stats down? Or maybe you want to see if the ship you're about to attack can kick your butt? This script will allow you to select two ships and will display side-by-side info on both. The only stats I couldn't get were max cargo (upgraded), rudder and acceleration.

:arrow: Required Cycrow's Community Configuration Menu



[ external image ]

[ external image ]


SPK

[ external image ]

RAR

[ external image ]

-Grax
Tredecillion
Posts: 9
Joined: Tue, 17. Jul 07, 23:45
xr

Post by Tredecillion »

Ah, I have been looking for something like this for sometime now. Thank you very much Grax!
User avatar
Idea
Posts: 516
Joined: Fri, 24. Oct 08, 12:14
x4

Post by Idea »

Graxster you are the MANNNN.Thanks
User avatar
corhen
Posts: 338
Joined: Thu, 16. Oct 08, 08:45
x3tc

Post by corhen »

graxter, in my mind you are only second to cycrow

but is it possible to have the columns line up?

i notice that the two columns are side by side, with what appears to be a tab in between them

while it makes it easier to read, in some cases in could become confusing

is it posible for it to be more like excel, with a grid, and the numbers in the grid?

Thanks

Corhen
User avatar
Malakie
Posts: 1061
Joined: Tue, 13. Apr 04, 23:08
x4

Post by Malakie »

Awesome again! Too bad there is no way to add images
Take it light.....

Malakie

----------------------------------------------------
User avatar
Graxster
Posts: 817
Joined: Sat, 14. Oct 06, 01:01
x3tc

Post by Graxster »

corhen wrote:is it possible to have the columns line up?
I would if I could, but X3 uses one of those fonts (variable width fonts) where each letter/symbol takes up a different amount of space, as opposed to a fixed space. Therefore if I made them line up for one ship (because of the names/numbers), they would be out of alignment for any other ship.

-G
User avatar
s9ilent
Posts: 2033
Joined: Wed, 29. Jun 05, 01:45
x4

Post by s9ilent »

Can you use like a [left][/left] center (centre?) right thing to make the text into columns?
goodgimp
Posts: 81
Joined: Fri, 13. Mar 09, 04:44
x3tc

Post by goodgimp »

is it possible to compare two ships from a list, ala the ship list in the Encyclopedia? Or does one have to select ships via the sector maps?
User avatar
Locksley
Posts: 371
Joined: Fri, 18. Mar 05, 16:26
x3tc

Post by Locksley »

Graxster wrote:
corhen wrote:is it possible to have the columns line up?
I would if I could, but X3 uses one of those fonts (variable width fonts) where each letter/symbol takes up a different amount of space, as opposed to a fixed space. Therefore if I made them line up for one ship (because of the names/numbers), they would be out of alignment for any other ship.

-G
I guess you could use the Chem String Functions Library if it is working now, and I didn't misunderstood it's purpose?

Cheers!
Tim-O
Posts: 182
Joined: Thu, 15. Dec 05, 22:02
x3tc

Post by Tim-O »

That's right. Chems String Library is exactly what you need. It worked perfectly for me. Especially the 'sprintf' function with the extended possibilities in t files is very helpful.

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