.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
  #11  
Old May 30th, 2001, 01:42 AM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: Straight vs. Diagonal

quote:
Originally posted by raynor:
I'm glad someone else finally mentioned the skewed movement system in the game. Though, I would keep it very simple and make every diagonal move cost exactly the same as moving along the horizontal and vertical. So, every diagonal move would require *two* movement points.


I think that would be a step in the wrong direction, myself. Ideally I think I'd like a coordinate system. I don't mind the existing system much though because it seems clear to me that the map (like many other aspects of the game mechanics) is a very broad abstraction of a game element where a representation would be some combination of very complex and inaccurate (i.e. 3 dimensions, inertia, gravity, orbiting planets, asteroid belt rings...).

I wouldn't mind if diagonals cost more, but the correct fraction is much closer to 1.4 than 1.5... ;->

As for SJ's questions below, I would answer no, no, and no. Then, fractional diagonals would also be relatively straightforward. I don't think it's a big deal for "realism" though, since the maps and movement are already clearly very abstract.

Oh, but if you do change tactical movement costs, then you MUST change weapons ranges to match. The AI might also need some re-tooling. All in all, I don't see this as an SEIV change MM will want to do, or that I'd want to see, especially compared with what else might be done with the programming effort!

PvK
Reply With Quote
  #12  
Old May 30th, 2001, 05:32 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: Straight vs. Diagonal

Just to add to the complexity of the problem: how big is each square in the game? We can "fudge" the straight vs. diagonal distance somewhat by thinking of the square being much bigger than a ship, and therefore the ship could be anywhere in the square, and some of that "inaccuracy" in position could account for some of the discrepancies between straight distance vs. diagonal distance.

Finally, if hex-based movement systems are that much harder to program, then it might not be as easy as it sounds to account for fractional movement. Not to mention the headaches I'll get trying to decide if I'm in weapons range of the enemy if we try to account for the diagonals. (Although the AI would probably handle it much better, thus giving an apparent increase in AI combat ability, at least until we all get used to a new range system...)
__________________
L++ Se+++ GdY $++ Fr C+++ Csc Sf Ai AuO M+ MpTM S Ss RRSHP+ Pw- Fq->Fq+ Nd+++ Rp G++ Mm++ Bb---
Reply With Quote
  #13  
Old May 30th, 2001, 06:22 PM
Taqwus's Avatar

Taqwus Taqwus is offline
Major General
 
Join Date: Aug 2000
Location: Mountain View, CA
Posts: 2,162
Thanks: 2
Thanked 4 Times in 4 Posts
Taqwus is on a distinguished road
Default Re: Straight vs. Diagonal

Ah, for a CM-style WEGO turn order including simultaneous fine-grid movement, firing arcs, shield facing, 3D and inertia...

(Just kidding, Aaron. We're NOT here to work you to death...)


------------------
-- The thing that goes bump in the night
__________________
Are we insane yet? Are we insane yet? Aiiieeeeee...
Reply With Quote
  #14  
Old May 30th, 2001, 06:30 PM
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: Straight vs. Diagonal

All SE4 really needs is a slight upgrade to the hull damage routine.

Currently, SE4 will choose the weakest armor piece most of the time, and the strongest internal piece most of the time.

Make it totally random, or add another attribute to components such as "SizeAsTarget := 10", to allow us to make specific components more or less likely to be damaged during a weapon hit.
Reply With Quote
  #15  
Old May 31st, 2001, 07:08 PM
capnq's Avatar

capnq capnq is offline
General
 
Join Date: Feb 2001
Location: Pittsburgh, PA, USA
Posts: 3,070
Thanks: 13
Thanked 9 Times in 8 Posts
capnq is on a distinguished road
Default Re: Straight vs. Diagonal

The biggest problem in coding a hexgrid that I remember was defining a coordinate system and calculating whether two hexes are adjacent. On a square grid, that's trivial: you know that square (x,y) touches square (x+1,y). On a hex grid, hex (x+1, y) still touches hex (x,y), but so does either hex (x+1,y+1) or hex (x+1,y-1), depending on whether x is odd or even. Calculating the range between two hexes is even worse.

We did this for a college programming project course, and I remember that our group and one of the other Groups came up with totally different systems to resolve this.

------------------
Cap'n Q

The most merciful thing in the world, I think, is the inability of the
human mind to correlate all of its contents. We live on a placid
island of ignorance in the midst of black seas of infinity, and it was
not meant that we should go far. -- HP Lovecraft, "The Call of Cthulhu"
__________________
Cap'n Q

"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
Reply With Quote
  #16  
Old June 1st, 2001, 01:03 AM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: Straight vs. Diagonal

quote:
Originally posted by Taqwus:
Ah, for a CM-style WEGO turn order including simultaneous fine-grid movement, firing arcs, shield facing, 3D and inertia...

(Just kidding, Aaron. We're NOT here to work you to death...)




We aren't???

I think a simple round-robin "impulse" system would solve most of the troubles with combat, though. Give each ship size and each weapon class an "initiative" rating. Break the turn up into many smaller segments. At the beginning of each turn you "program" what you want your ships to do. When you've given orders for the turn, the computer rotates through all available ships for each 'impulse' checking to see who is fast enough to do what at this point. No more of this "everyone fire on the lead ship before it can fire a shot" unless you really do have faster ships and weapons.

Well, that and a hex grid.



[This message has been edited by Baron Munchausen (edited 01 June 2001).]
Reply With Quote
  #17  
Old June 1st, 2001, 01:50 AM

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: Straight vs. Diagonal

An initiative system would really be nice. Then there would be an incentive to build fast, hard to hit, small ships as well as the big boys!
Reply With Quote
  #18  
Old June 1st, 2001, 03:11 AM

DS DS is offline
Private
 
Join Date: May 2001
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
DS is on a distinguished road
Default Re: Straight vs. Diagonal

Something I would like to see is weapon range zones displayed on the tactical grid. As I approach an opponent I'll often look at the ranges of his weapons and his movement range and try to position myself so that I stay just out of his reach. Then I'll dart in and get the first crucial shots off. It would be easier if I could display the range of his and my weapons on the screen.
Reply With Quote
  #19  
Old June 1st, 2001, 04:25 PM
Taqwus's Avatar

Taqwus Taqwus is offline
Major General
 
Join Date: Aug 2000
Location: Mountain View, CA
Posts: 2,162
Thanks: 2
Thanked 4 Times in 4 Posts
Taqwus is on a distinguished road
Default Re: Straight vs. Diagonal

Yeah, impulses plus initiative would help with certain bits of cheese. One could see not only ship size and weapon type involved, but perhaps also experience and, maybe, sensors.

Showing weapon power at a range... Hrm. It'd be nice, but as-is it's a nasty problem. Would it take into account the movement that the other guy could make before firing? Beam weapons may be easy enough, since one can compute their probability of hitting multiplied by damage at the particular range, but missiles and fighters are a different story. That carrier may look sweet and innocent with no non-PD weapons, but if it's chock-full of heavy fighters with quantum engines, afterburners, and rocket pods or lightning rays...


------------------
-- The thing that goes bump in the night
__________________
Are we insane yet? Are we insane yet? Aiiieeeeee...
Reply With Quote
  #20  
Old June 1st, 2001, 05:12 PM

Nostropholo Nostropholo is offline
Private
 
Join Date: May 2001
Location: Buenos Aires, Argentina
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Nostropholo is on a distinguished road
Default Re: Straight vs. Diagonal

Have you played Ascendancy?
It didn't account for any inertia, but still I loved the 3D look of it.
To me, the biggest issue with 3D space is the number of frames per sprite, if you want to draw it in any rotation.
Still, I would really like to see 3D space in SEV.
__________________
Nostropholo
cachurro@bigfoot.com
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 01:44 AM.


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