Mountain Lake in Glacier Bay v2...

Classic Non-Brit Forum.
A dedicated area to post on your favourite 'Classic' non-British freeware flightsim aircraft.

Moderators: Guru's, The Ministry

Post Reply
User avatar
petermcleland
Red Arrows
Red Arrows
Posts: 5201
Joined: 25 Jul 2004, 10:28
Location: Dartmouth, Devon
Contact:

Mountain Lake in Glacier Bay v2...

Post by petermcleland »

Mountain Lake moved and become much more realistic in GBv2, so I had to drag out my AFCAD from under a mountain where it was buried and reconstruct the scenery. Here it is now:-

http://forum.fsscreenshots.com/dcboard. ... =full&page

Thanks for looking :dance:

User avatar
jab
Concorde
Concorde
Posts: 723
Joined: 30 Jun 2004, 16:58
Location: Sittingbourne Kent UK
Contact:

Post by jab »

Brilliant shots again Peter :prayer: OMG looks like the QM2 is lost :shock: :lol:

James
RIP Steve Irwin :'( You was the best there ever was.

Image

User avatar
petermcleland
Red Arrows
Red Arrows
Posts: 5201
Joined: 25 Jul 2004, 10:28
Location: Dartmouth, Devon
Contact:

Post by petermcleland »

jab wrote:OMG looks like the QM2 is lost :shock: :lol:
Thanks James...The QM2 is in the waiting berth. There is only room for three cruise ships in the anchorage...Two are taken by static scenery ships and the third by Freedom of the Seas at the moment...When Freedom leaves then QM2 will enter and anchor. There is a batch file that gives four combinations of pairs of cruise ships.

BTW I wonder if anyone can tell me the DOS code to get the System day of the week as a number...I would like the batch file to run on boot up and select the pair of ships to be used according to the day of the week...I just need to know how to get that number :think:

ianhind
Concorde
Concorde
Posts: 1935
Joined: 01 Aug 2005, 10:55
Location: Nottinghamshire

Post by ianhind »

Peter,

Intrigued by you request so did a spot of Googling. Should have been easy :sad: but the output format of the command line has changed from the old days. A simple "date" at the command line would have given the day of the week and date to operate on. Now it just gives the date. And so it is more complex.

Avoiding various small DOS addons to make life easier (some of which were shareware, some of which gave strange error messages), the answer is probably here (the final script).
http://www.windowsitpro.com/Article/Art ... .html?Ad=1

It doesn't return a number but the three letter day of the week, eg "Sat"

There is some clever coding there and modified to use the old DOS command.com which seems to be still in Windows XP!

So this in a batch file
=========================================
@ECHO OFF
rem Create the date and time elements.
For /f "tokens=1-7 delims=:/-, " %%i in ('echo exit^|command /k prompt $D $T') do (
For /f "tokens=2-4 delims=/-,() skip=1" %%a in ('echo.^|date') do (
set dow=%%i
set %%a=%%j
set %%b=%%k
set %%c=%%l
set hh=%%m
set min=%%n
set ss=%%o
)
)

rem Let's see the result.
For %%i in (dow dd mm yy hh min ss) do set %%i

==============================================

And %dow% contains the day of the week for futher batch code testing.

Someone else might come up with something more elegant but this looks like it should do the job with some testing of %dow% along the lines of:

IF "%dow%"=="Sat" .............etc

Hope this is of use.

Ian

User avatar
jab
Concorde
Concorde
Posts: 723
Joined: 30 Jun 2004, 16:58
Location: Sittingbourne Kent UK
Contact:

Post by jab »

petermcleland wrote:
jab wrote:OMG looks like the QM2 is lost :shock: :lol:
Thanks James...The QM2 is in the waiting berth. There is only room for three cruise ships in the anchorage...Two are taken by static scenery ships and the third by Freedom of the Seas at the moment...When Freedom leaves then QM2 will enter and anchor. There is a batch file that gives four combinations of pairs of cruise ships.

:
Oh right cool :tab: Freedom of the Seas thats the new ship to Royal Caribbean :dance:

James
RIP Steve Irwin :'( You was the best there ever was.

Image

User avatar
petermcleland
Red Arrows
Red Arrows
Posts: 5201
Joined: 25 Jul 2004, 10:28
Location: Dartmouth, Devon
Contact:

Post by petermcleland »

Thank you Ian...I will see if I can get that to work in my project...I'll let you know how I get on with it :smile:

User avatar
petermcleland
Red Arrows
Red Arrows
Posts: 5201
Joined: 25 Jul 2004, 10:28
Location: Dartmouth, Devon
Contact:

Post by petermcleland »

Ian,

That code is working just fine...I've arranged for the file to be run at computer bootup and which pair of Cruise Ships from the four available is decided then, according to a schedule based on the Day of the Week.

Thank you very much for your help :dance:

ianhind
Concorde
Concorde
Posts: 1935
Joined: 01 Aug 2005, 10:55
Location: Nottinghamshire

Post by ianhind »

Glad to be of assistance :wink:

Post Reply