Hard Light Productions Forums

Hosted Projects - Standalone => Fate of the Galaxy => Topic started by: chief1983 on January 21, 2007, 03:25:40 pm

Title: New Screenshots Browser
Post by: chief1983 on January 21, 2007, 03:25:40 pm
I've coded a new screenshots browser and organized the screenshots I've been able to dig up as best I can.  The screenshots page is currently on another server, since hard-light doesn't offer the permissions to do everything I need it to do.  It's still accessible via the Screenshots link on the main website, http://swfs2.hard-light.net/ (http://swfs2.hard-light.net/).  So check it out, they should all be uploaded by the time you read this.

For anyone interested in the more technical stuff, here's what it does.
Dynamically scans the passed in folder for all screenshot images
Checks that there is a thumbnail for each of them in the directory
If not, it makes a new thumbnail for that screenshot
Then it displays all the links to the screenshots in that folder with thumbnails
It also shows links to all subdirectories in the current folder
So to create new categories, you just make a new folder with the name that you want to show up as its link.

All of this is read on the fly.  To add screenshots all that has to be done is to drop them in the appropriate folder.  The next time someone views that folder the script will create a thumbnail automatically.  It also cleans up thumbs, so that if screenshots are moved around without moving their thumbnails, the unnecessary thumbnails will be removed.

If you have any suggestions for it just let me know.  Enjoy!
Title: Re: New Screenshots Browser
Post by: BS403 on January 21, 2007, 10:27:11 pm
Sweet you got it working :yes: Looks Great.
Title: Re: New Screenshots Browser
Post by: Dysko on January 22, 2007, 07:47:34 am
Oohhh.... Eclipse Star Destroyer... does it have a working superlaser? If not, I could try to TBL it myself...
Title: Re: New Screenshots Browser
Post by: chief1983 on January 22, 2007, 12:44:31 pm
If not, I could try to TBL it myself...

Be my guest :)
Title: Re: New Screenshots Browser
Post by: TopAce on January 23, 2007, 03:47:26 am
Actually, I'm not sure we still have the model. If I remember correctly, it was a converted model probably from some website.
Title: Re: New Screenshots Browser
Post by: Dysko on January 23, 2007, 09:55:33 am
Here it is!
I've tried to attain to Wookiepedia's data: it is smaller than DS's superlaser, but powerful enough to blow up a single ship, so I made it powerful enough to blow up the... ehm... Volition Bravos with a single shot.
I was not sure for the range: I think 95 kms are enough for a "baby superlaser".
I was not sure even for the "charging up" time: since it's a smaller laser, I think it takes something like 15 seconds to power up. It then fires for 5 seconds and powers down abruptely (like in the movie).
I've given it a diameter of 450 meters (I suppose that the large superlaser corridor in the final mission of XWA is double of that).

Attached the TBL. Not sure it can be a good superlaser though :nervous:

[attachment deleted by admin]