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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old June 3rd, 2001, 06:59 PM

Marty Ward Marty Ward is offline
Second Lieutenant
 
Join Date: Jan 2001
Location: Eldersburg, Maryland, USA
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Marty Ward is on a distinguished road
Default Re: Fix to movement problem

I don't know how hard hexes are to program, almost every traditional computer wargame uses them. The hard part would be 3-d hexes!
Reply With Quote
  #2  
Old June 3rd, 2001, 10:16 PM

Cyrus Cyrus is offline
Private
 
Join Date: Apr 2001
Location: Ocean City, NJ
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Cyrus is on a distinguished road
Default Re: Fix to movement problem

Hex's aren't all that difficult and they actually involve less checking for an AI, multiples of six rather than mulitples of eight. The only reason why I've never wanted to write one is that you can't use a simple data structure, like a two dimensional array, to hold a game board. You have to use something more complicated like a graph.
Reply With Quote
  #3  
Old June 3rd, 2001, 10:55 PM

Magnum357 Magnum357 is offline
Sergeant
 
Join Date: May 2001
Location: Great Falls, Montana, US
Posts: 208
Thanks: 0
Thanked 0 Times in 0 Posts
Magnum357 is on a distinguished road
Default Re: Fix to movement problem

Then thats probably why MM wanted to only make it 2D with squares. I don't see what the big deal is. I mean, the game is a little out of scale anyway. Also, you don't get much more advantage out of a Hex gride system yet you do gain more program time, complexity and possible errors which means more patches to fix bugs. Although I would like to see Hex too, it is probably just not important enough and too much work for MM to do.
__________________
Gryphin-

I started my first game. The Selay Consortium just hosed a colony ship, @#%Q@#R, Then accepted a Trade Treaty.
What is it about Neutrals that shoot first and ask quesitons later?

Atrocities-

Its called Gun Ship Diplomacy. <img border=0 title= alt=[Big Grin] src=biggrin.gif /]
Reply With Quote
  #4  
Old June 4th, 2001, 03:25 AM
LazarusLong42's Avatar

LazarusLong42 LazarusLong42 is offline
Corporal
 
Join Date: Nov 2000
Location: Ann Arbor, MI, USA
Posts: 191
Thanks: 0
Thanked 0 Times in 0 Posts
LazarusLong42 is on a distinguished road
Default Re: Fix to movement problem

quote:
Originally posted by Cyrus:
The only reason why I've never wanted to write one is that you can't use a simple data structure, like a two dimensional array, to hold a game board.


Actually, a hex board would could easily be stored in a 2-d array. One axis of the board is your first array subscript; another axis 60 degrees away is the second subscript. Any member of a regular 2-d tesselation can be described by only two coordinates; the coordinate axes, however, won't necessarily be orthogonal to one another.

The only problem then becomes that along one diagonal [i,j] --> [i+1, j+1], the distance is 1, while along the other [i,j] --> [i+1, j-1], the distance between hexes is two.

LL <-- shoulda majored in math.

__________________
in Virtuo Design
Read my latest story at Speculon
Reply With Quote
  #5  
Old June 4th, 2001, 12:02 PM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: Fix to movement problem

I'm quite happy with the existing systm, but for those who aren't, I know of a cool freeware tactical combat game (on the amiga, calld simply "evil") which has a nice system: One movment point to rotate 45 degrees left or right, and then 3 or 4 points to move fwd.

Although that wasn't a space based game, this model works well for SE4 because in space it takes a lot of time and energy to change direction.

------------------
"Pinky, are you pondering what I'm pondering?"
"Uh, I think so, Brain, but balancing a family and a career ... oooh, it's all too much for me. "
Reply With Quote
  #6  
Old June 5th, 2001, 05:22 PM
DirectorTsaarx's Avatar

DirectorTsaarx DirectorTsaarx is offline
Major
 
Join Date: Dec 2000
Location: Northern Virginia, USA
Posts: 1,048
Thanks: 0
Thanked 0 Times in 0 Posts
DirectorTsaarx is on a distinguished road
Default Re: Fix to movement problem

I think there's a computerized Version of Star Fleet Battles that uses a hex system, plus firing arcs, turning radius (based on speed, even), shield facings (!), etc.
__________________
L++ Se+++ GdY $++ Fr C+++ Csc Sf Ai AuO M+ MpTM S Ss RRSHP+ Pw- Fq-&gt;Fq+ Nd+++ Rp G++ Mm++ Bb---
Reply With Quote
  #7  
Old June 6th, 2001, 01:09 AM

Cyrus Cyrus is offline
Private
 
Join Date: Apr 2001
Location: Ocean City, NJ
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Cyrus is on a distinguished road
Default Re: Fix to movement problem

Lazarus Long,
I can't picture what you're doing with that brief explanation. Have a book or a website I can go to to see a detailed description?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 06:15 PM.


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