Burger's ship viewer

Da Boss said:
Can you change fighters in ships when choosing a fleet - eg sentris for Raziks - I often have one of each in a Primus or two of each in an Octurion?
No, you can't do that at the moment, I'm afraid.
The problem is that there are 3 ships per sheet, and the fighter stats are only printed once. So if you wanted to swap the fighters in one of your Primuses for Raziks, how would this be displayed? Ideas welcome!
 
Take a look at the javascript I did to handle swapping out fighters. It's all in javascript include files so it should be easy enough for you to adapt/borrow to your ASP page model. Take a look at this page (sans nasty JS errors from geocities...) http://www.pcsii.com/josborn/b5/shipviewer_html/SFoS_Static/Centauri_Republic/Primus.htm

If you click on the word "Craft:" it will open up a little list of the available fighters and you can put in how many you want to have and the stats for said fighter/fighters will appear at the bottom of the page.

You might also want to download the files by going to http://www.pcsii.com/josborn/b5/Obsidian_Shipviewer_SFoS_Static_040306.zip and looking in the common directory.
 
Yeah the JS would be fairly simple, and I like how you've done it. But it does allow you swap fighters which wouldn't normally be allowed (Primus can only swap Sentris for Raziks) and it doesn't keep a counter... I can enter 5 Rutarians and 10 Raziks if I want to ;)

It's more of a display issue, because I have 3 ships to a sheet, how can you change the fighters on just one of them. Well I guess I could add something similar to yours, but it would mean all 3 ships would have to have identical fighter load-outs. No biggie I guess.
 
But it does allow you swap fighters which wouldn't normally be allowed (Primus can only swap Sentris for Raziks) and it doesn't keep a counter... I can enter 5 Rutarians and 10 Raziks if I want to

That's not entirely true. I know your focus tends to be on tournaments, but in a campaign it is entirely possible to put Rutarians on a Primus if purchased seperately or as a replacement wing for Sentris. Additionally it is possible to get a refit that allows you to increase the number of flights that can be carried on a ship. So even a ship that doesn't have any flights to start with can be fitted with a hangar and gain a flight of fighters. This is the reason why it doesn't stop you from bumping the number up to whatever you want. The first time I did this it did in fact stop you if you tried to put in more than the normal amount of fighters. Easy enough to reinstate that code if you want it to work that way for your stuff.

It's more of a display issue, because I have 3 ships to a sheet, how can you change the fighters on just one of them. Well I guess I could add something similar to yours, but it would mean all 3 ships would have to have identical fighter load-outs. No biggie I guess.

Just triple the number of flights. Sentri stats don't change depending on the ship they are on so all you would need to know is that for 3 Primus' there are 5 Sentris and 1 Razik.
 
New format implemented :D

- 4 ships to a sheet
- 2 sheets fit on a page (in Fleet Designer), for a total of 8 ships on 1 page!
- Added box to write details of crits taken
- Crit table removed from sheets, it is available separately from the menu
- Traits are called Traits, not "special"
- Tick boxes added to traits, to mark when they're lost
 
Burger - Falkosi (Brakiri fighter) have +0 to dogfight - this is correct for your HTML and browser version but wrong for the PDF which lists it as +1
 
Oh yeah... fixed :)

PDFs will remain as the old format though, since I can't be bothered converting them all. Its a manual process, and there are over 250 ships.
 
Techno Mage Pinnace, Shakara, Nolo'Tar and new Troligan are added. They're all in the "additionals" section, since they aren't labelled as official.
 
I've made the sheets smaller (less grey space in the damage boxes). They should also detect the page breaks better, although this is only tested in IE6 ;)
 
If someone wants to generate the PDFs for me, I'll be happy to upload them... but I won't be doing the creation myself, there are over 250 of them, it would take hours! ;)
 
hi,

first up i like to thank you for spending the time doing this, it makes life easier for me, so thanks! 8)

secondly, the link to the PDF pages is not working for me right now, it was working earlier today but not now.

thanks,

Blu_
 
Back
Top