[Release] Trophy Collector
Moderators: winston, another_commander
[Release] Trophy Collector
Download from the expansion manager.
OLD POST
Hello.
I'm shaping up an oxp that keeps a list of ship names and quantities of kills. Only ships with a bounty are considered. I call this list the trophy collection. The trophy collection is then viewable as a mission screen. I've been playtesting with it and it certainly brings up the collector in you.
What is an appropriate place to show such a screen in your opinion? Explorers' club is for example in f2-f6 and flight log in f5-f6. Are there other oxps like these? It would be nice if there was an oxp that would house this kind of statistical oxps in one place.
And another thing. I'm going to try to divide a mission screen into two columns to put more data in one screen. Before I start coding a function to do that, I would like to know if that has been done already.
And finally. At first I wanted to a "collect 'em all" type of thing. The idea was that you would know how many different types of for example pirate ships there are overall and you would try to get 'em all. But I could not find a way to calculate the total number of possible shiptypes (including oxp ships) with a certain role. Is there a way to do that?
OLD POST
Hello.
I'm shaping up an oxp that keeps a list of ship names and quantities of kills. Only ships with a bounty are considered. I call this list the trophy collection. The trophy collection is then viewable as a mission screen. I've been playtesting with it and it certainly brings up the collector in you.
What is an appropriate place to show such a screen in your opinion? Explorers' club is for example in f2-f6 and flight log in f5-f6. Are there other oxps like these? It would be nice if there was an oxp that would house this kind of statistical oxps in one place.
And another thing. I'm going to try to divide a mission screen into two columns to put more data in one screen. Before I start coding a function to do that, I would like to know if that has been done already.
And finally. At first I wanted to a "collect 'em all" type of thing. The idea was that you would know how many different types of for example pirate ships there are overall and you would try to get 'em all. But I could not find a way to calculate the total number of possible shiptypes (including oxp ships) with a certain role. Is there a way to do that?
Last edited by spara on Thu Nov 03, 2016 4:44 pm, edited 23 times in total.
Re: [WIP] TrophyHunter
Hypercargo (and Vortex), APRIL and OoCheat also use such screens, as do New Cargoes, Explorer Club and OXPConfig from a very quick recall (there may well be others). It's always fun to find a combination that's not already used
And dividing the mission screen up is a real PITA as it depends on the character widths. I've done it on a couple of OXPs (Vortex and Hypercargo being the main ones) but that was manually. Some way to do it automagically would be interesting if you could think of one...
For the (new) last one, I don't think there is a simple way to read the pool of ships available for a given role.
And dividing the mission screen up is a real PITA as it depends on the character widths. I've done it on a couple of OXPs (Vortex and Hypercargo being the main ones) but that was manually. Some way to do it automagically would be interesting if you could think of one...
For the (new) last one, I don't think there is a simple way to read the pool of ships available for a given role.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Re: [WIP] TrophyHunter
No. Sorry. I'll add it to the list, though.Spara wrote:But I could not find a way to calculate the total number of possible shiptypes (including oxp ships) with a certain role. Is there a way to do that?
It's amazing that there's any combination of F keys left that just brings up the second screen when you press the second one, really.Thargoid wrote:Hypercargo (and Vortex), APRIL and OoCheat also use such screens, as do New Cargoes, Explorer Club and OXPConfig from a very quick recall (there may well be others).
Thargoid wrote:And dividing the mission screen up is a real PITA as it depends on the character widths.
defaultFont.measureString()
is the way to do it.Measure your left column string, measure your padding character (probably space), and then add enough spaces to the left column string to pad it out to the right absolute length before appending the right column text to it. It'll even work if someone uses a different font.
The problem is that the space character is relatively wide, so unless your left column data is very regular in size (if it's numbers only you'll get away with it) you won't get the columns lining up exactly.
- Rese249er
- ---- E L I T E ----
- Posts: 647
- Joined: Thu Jun 07, 2012 2:19 pm
- Location: Well, I WAS in G3...
Re: [WIP] TrophyHunter
That sounds AWESOME. Is RandomShipNames OXP taken into account?
Got all turned around, lost my nav connection... Where am I now?
- Wildeblood
- ---- E L I T E ----
- Posts: 2453
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Western Australia
- Contact:
Re: [WIP] TrophyHunter
Long Range Scanner (F6, F6, F5), Galactic Hyperdrive (F6, F6, F6), Galaxy Info (F6, something, something).cim wrote:It's amazing that there's any combination of F keys left that just brings up the second screen when you press the second one, really.Thargoid wrote:Hypercargo (and Vortex), APRIL and OoCheat also use such screens, as do New Cargoes, Explorers' Club and OXPConfig from a very quick recall (there may well be others).
Re: [WIP] TrophyHunter
To know how many ships of a certain role are in a system at a given time, this might become handy...spara wrote:And finally. At first I wanted to a "collect 'em all" type of thing. The idea was that you would know how many different types of for example pirate ships there are overall and you would try to get 'em all. But I could not find a way to calculate the total number of possible shiptypes (including oxp ships) with a certain role. Is there a way to do that?
...and keep it under lightspeed!
Friendliest Meteor Police that side of Riedquat
Far Arm ships
Z-ships
Baakili Far Trader
Tin of SPAM
Friendliest Meteor Police that side of Riedquat
Far Arm ships
Z-ships
Baakili Far Trader
Tin of SPAM
- JazHaz
- ---- E L I T E ----
- Posts: 2991
- Joined: Tue Sep 22, 2009 11:07 am
- Location: Enfield, Middlesex
- Contact:
Re: [WIP] TrophyHunter
Galaxy Info is F6, F6, F5.Wildeblood wrote:Long Range Scanner (F6, F6, F5), Galactic Hyperdrive (F6, F6, F6), Galaxy Info (F6, something, something).
Hypercargo has two combinations, in-flight and docked. In-flight is F5, F5, F5, F8; and docked is F5, F5, F8.
I have a electronic post-it note with the key combinations on it for those OXPs I use, so I can call it up whilst playing. Edit: It's the built-in Sticky Notes program in Windows 7.
JazHaz
Thanks to Gimi, I got an eBook in my inbox tonight (31st May 2014 - Release of Elite Reclamation)!Gimi wrote:Maybe you could start a Kickstarter Campaign to found your £4500 pledge.drew wrote:£4,500 though! <Faints>
Cheers,
Drew.
Re: [WIP] TrophyHunter
Good to know.cim wrote:No. Sorry. I'll add it to the list, though.Spara wrote:But I could not find a way to calculate the total number of possible shiptypes (including oxp ships) with a certain role. Is there a way to do that?
Thanks, got it. Implemented and seems to be working as expected. I managed to squeeze 46 entries to one page .cim wrote:defaultFont.measureString()
is the way to do it.
Measure your left column string, measure your padding character (probably space), and then add enough spaces to the left column string to pad it out to the right absolute length before appending the right column text to it. It'll even work if someone uses a different font.
Thanks. Only ship types (boa, python etc.) are logged, so random ship names are not logged.Rese249er wrote:That sounds AWESOME. Is RandomShipNames OXP taken into account?
This is sort of funny. Maybe a list of "taken" combinations would be in order. I'll squeeze my oxp somewhere.JazHaz wrote:Galaxy Info is F6, F6, F5.Wildeblood wrote:Long Range Scanner (F6, F6, F5), Galactic Hyperdrive (F6, F6, F6), Galaxy Info (F6, something, something).
Hypercargo has two combinations, in-flight and docked. In-flight is F5, F5, F5, F8; and docked is F5, F5, F8.
The oxp seems to be working ok. I'll be playtesting a bit more and post the result later this week.
- Rese249er
- ---- E L I T E ----
- Posts: 647
- Joined: Thu Jun 07, 2012 2:19 pm
- Location: Well, I WAS in G3...
Re: [WIP] TrophyHunter
Ah well. Sic Vita Est.spara wrote:Thanks. Only ship types (boa, python etc.) are logged, so random ship names are not logged.
Got all turned around, lost my nav connection... Where am I now?
Re: [WIP] TrophyHunter
After a few days of playtesting, I have packaged the oxp and added the link to the first post. If the oxp is not reported to be faulty, I will change the status from WIP to Release.
I put the missionsceen to manifest-F7. If that's conflicting or a bad place for any reason, please let me know.
I put the missionsceen to manifest-F7. If that's conflicting or a bad place for any reason, please let me know.
- Wildeblood
- ---- E L I T E ----
- Posts: 2453
- Joined: Sat Jun 11, 2011 6:07 am
- Location: Western Australia
- Contact:
Re: [WIP] TrophyHunter
Doesn't count Thargoids?
Re: [WIP] TrophyHunter
Thank you. Nice spotting. It seems that thargoid robot fighters are neither derelict or piloted. I changed the logic to bounty and !rock. Now you get a trophy from everything but rocks as long as it has bounty. You should alse get a trophy from pirate-cove, thought I have not tested that.Wildeblood wrote:Doesn't count Thargoids?
First post is updated with a new version.
Re: [Release] Trophy Collector
Finally it is a release time. A lot has changed since the [wip] version. Release version is not compatible with the [wip] version. I have quite a few oxps installed and haven't noticed any conflicts.
In short:
*This oxp gives you a kill list or kill log.
*Every kill counts, except for escape pods (that would be too cruel ). Killss are logged by ship name.
*Two different modes, "in-flight" and "main station docked". "In-flight" tracks kills between main stations and "main station docked" shows all kills.
*"In-flight" is ordered chronologically, "main station docked" alphabetically.
*Two-column, multipage layout. Press space for next page (except in-flight). One page holds ~38 entries.
Hope you find this oxp entertaining.
Go hunt some Trophies, Commander.
In short:
*This oxp gives you a kill list or kill log.
*Every kill counts, except for escape pods (that would be too cruel ). Killss are logged by ship name.
*Two different modes, "in-flight" and "main station docked". "In-flight" tracks kills between main stations and "main station docked" shows all kills.
*"In-flight" is ordered chronologically, "main station docked" alphabetically.
*Two-column, multipage layout. Press space for next page (except in-flight). One page holds ~38 entries.
Hope you find this oxp entertaining.
Go hunt some Trophies, Commander.
Re: [Release] Trophy Collector
Great OXP it is nice to be able to see that I have managed to kill things like frigates and leviathan platform and have it in writing counting the kills!
Oolite is Ooheavy... Cpt says "Write on Commander"
<<My other spaceship is a Thargoid Pathfinder, from the wrong side of Riedquat >>
<<My other spaceship is a Thargoid Pathfinder, from the wrong side of Riedquat >>
Re: [Release] Trophy Collector
Downloaded, will play as soon as my Oolite starts working.