.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old March 28th, 2002, 02:32 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Off Forum: Midway code repair

The easy way ain't so easy.

I tried adding a bit of code to the delay loops to wait for X milliseconds of system clock time, but unfortunately, the system clock only tics big chunks. Waiting for the smallest increment of the clock means that the standard delay loops take 200 seconds to finish.

I've got more work per delay loop now. Oh, well. Can't be any harder or duller than making the FTL map for SE4
Reply With Quote
  #2  
Old March 28th, 2002, 02:50 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Off Forum: Midway code repair

Title Sequence Done.

Gah! I can see why you don't want to touch the actual program file. Very dusty in here.

I'm glad I don't have to use Gw-basic, or it would take me forever!
Got me a nice Ascii-graphical editor/interpreter, with breakpoints and copy-paste. All the luxury features from 1987
Reply With Quote
  #3  
Old March 28th, 2002, 03:28 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Off Forum: Midway code repair

Well! Kudos to Avalon Hill, for a very nice program structure!
Lots of stuff per line, but organized.

Game itself Done.
All done!

I've converted the delays in the game from being based on processor cycles to being based on the system clock.
No matter how fast your computer, the delays will be the same length.

If you happen to find anything that is still going too fast, let me know, and I'll find them for you.

Also:
- During any delay, press the enter key to continue immediately.
- The first line of midwayp.bas now includes a "delay factor" variable definition. Adjust this to suit. Higher values mean shorter delays, lower for longer. non integers are allowed.

[ 28 March 2002: Message edited by: Suicide Junkie ]

[ 28 March 2002: Message edited by: geoschmo ]

Reply With Quote
  #4  
Old March 28th, 2002, 04:41 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Off Forum: Midway code repair

I hereby nominate Suicide Junkie for Chief Code Monkey. Any seconds?

Awesome work. I can't wait to try it out. This was the game that got me interested in strategy games to begin with.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #5  
Old March 28th, 2002, 05:17 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Off Forum: Midway code repair

I played one game. Couldn't quite understand what was going on, though.

I sent every freaking plane there was out to smash one of the J's carrier Groups, and nothing seemed to happen.
My ships were getting blown out of the water from what I can only assume were unseen enemies.

Midway was hit, but survived, and when the game ended, I had a total of Eight Aircraft and zero ships remaining.

Marginal loss for me.
Seems I destroyed 2 CV's dished out Heavy Damage to 2 more, and did nothing to the Last carrier. Maybe all its fighters died ramming my ships or something?

[ 28 March 2002: Message edited by: Suicide Junkie ]

Reply With Quote
  #6  
Old March 28th, 2002, 05:20 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Off Forum: Midway code repair

It has been so long since I played it I can't remember. I'll have to play with it and put together a little readme file.

I think you have to arm your planes or something. Mayeb you sent them with no bombs?

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #7  
Old March 28th, 2002, 06:26 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Off Forum: Midway code repair

For those of you who don't want to mess with any programming language, Here is the Compiled Version

Hey, I did manage to Stomp four of five enemy carriers, and scare off the Last one.

If you write up a decent description for each of the options, I could squeeze that into the in-game help menu.

Well, this time I did much better (I think)
Midway was wiped out, but did not fall
3:1 kill ratio in planes, sunk all 5 enemy ships with the Yorktown as the only casualty (light damage to my other ships)

Apparently CAPs are defensive patrols, and help you survive
Reply With Quote
  #8  
Old March 28th, 2002, 06:40 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Off Forum: Midway code repair

Yes, that much I do remember. CAPs are Combat Air Patrols, and they are absolutly necessary for your carriers to survive.

Geo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #9  
Old March 28th, 2002, 06:43 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Off Forum: Midway code repair

Sheesh SJ, a compiled Version? You are amazing. I suppose next you are going to rewrite it into a two player PBEM game?

Geo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #10  
Old March 28th, 2002, 03:40 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: Off Forum: Midway code repair

I was just kidding really, but why do you say it would be unfair? Both sides are relativley equal at the start.

In fact there's way now to play the Japanese side against the computer controlling the US forces. I don't remember yet how to do it. Wish I still had my instruction book.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:37 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.