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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old March 11th, 2007, 11:23 PM

Raapys Raapys is offline
First Lieutenant
 
Join Date: Jan 2005
Posts: 689
Thanks: 0
Thanked 0 Times in 0 Posts
Raapys is on a distinguished road
Default Re: FQM Quadrant Shapes

Hmm, that first one is very neat indeed. Number 2 obviously isn't pretty, but it might do the trick. Don't suppose you'd manage to seperate the arms in that one too?
Reply With Quote
  #2  
Old March 12th, 2007, 12:36 AM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: FQM Quadrant Shapes

Those are some really cool quadrants!
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #3  
Old March 12th, 2007, 01:46 PM

Raapys Raapys is offline
First Lieutenant
 
Join Date: Jan 2005
Posts: 689
Thanks: 0
Thanked 0 Times in 0 Posts
Raapys is on a distinguished road
Default Re: FQM Quadrant Shapes

I was thinking; how about manually setting in the coordinates for all hundred systems so that they'll fit with all quadrant sizes?

The smallest quadrant type is 15 systems. That means we'll need a working spiral quadrant with that few stars. So say you set the coordinates for the 3-5 first stars, in a circle of some such, in the middle of the map. Then you start making arms with the remaining 10-12 stars, adding one arm-part for each round, so we end up with a neat little quadrant.

As you get more and more stars, you slowly add to the existing pattern, changing between adding to the core and the arms, making it grow evenly in overall size. Thus it would not be a problem whether the user picks small, medium or large quadrants, because you'll have placed it so that it looks fine regardless of the number of stars.
Reply With Quote
  #4  
Old March 12th, 2007, 07:37 PM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: FQM Quadrant Shapes

Spiderweb!
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
  #5  
Old March 13th, 2007, 12:59 AM
Kamog's Avatar

Kamog Kamog is offline
Lieutenant General
 
Join Date: Nov 2002
Posts: 2,903
Thanks: 1
Thanked 0 Times in 0 Posts
Kamog is on a distinguished road
Default Re: FQM Quadrant Shapes

I like the ones with a few more interconnecting warp points on the spiral arms. If you happen to start at the end of arm with unfavorable systems nearby, you'd have more options to expand in other directions.
Reply With Quote
  #6  
Old March 13th, 2007, 03:08 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: FQM Quadrant Shapes

Manual input is a no go. I can get a similar effect by parsing the locations in different ways, such as doing every 3n system, then 3n+1, then 3n+2. I'm not sure how much it would improve SE5's WP placement though; will have to experiment.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #7  
Old March 13th, 2007, 03:54 AM
AgentZero's Avatar

AgentZero AgentZero is offline
Captain
 
Join Date: Apr 2003
Location: Burnaby
Posts: 995
Thanks: 0
Thanked 3 Times in 2 Posts
AgentZero is on a distinguished road
Default Re: FQM Quadrant Shapes

Quote:
Imperator Fyron said:
Manual input is a no go.
So no spelling out our names in the stars then? But my megamegalomania needs a fix!
__________________
Suction feet are not to be trifled with!
Reply With Quote
  #8  
Old March 13th, 2007, 05:20 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: FQM Quadrant Shapes

Ok, for the "flower/web" type setup, it can be made decent-looking at smaller sizes. However, for the "spindly" type (the last image, where each arm is totally separate), there is not much to be done to make it appear good at lower system numbers. They tend to work out ok at medium map sizes though.

Keep in mind that the "arms" are essentially an artifact of the parameters fed to the logarithmic spiral function and how SE5 tends to place WP lines. If you look back at the very first image, you can see how there are in fact 4 separate spiral lines coming out of the center of the map. The latter quadrant images do not have WP line connections that are in any way related to the actual spirals; the WP line "arms" are actually cross-cutting through the spiral lines.




This is essentially how the locations are calculated (in python), with the uniqueness and outside-the-map checking coming after the calculations:

Code:

# first attempt, where spirals get connected as WP lines
param_first = {'a': 2,
'b': 0.1,
'c': math.pi / 8,
'phase_list': [0, math.pi / 2, math.pi, 3 * math.pi / 2]
}

# Flower/web type
param_flower = {'a': 1,
'b': 0.1,
'c': 1,
'phase_list': [0, math.pi / 2, math.pi, 3 * math.pi / 2]
}

# discrete spindly arms
param_spindly = {'a': 1.85,
'b': 0.1,
'c': 1,
'phase_list': [0, math.pi / 2, math.pi, 3 * math.pi / 2]
}

param = param_flower

# Make the difference between t0 and t1 decrease as t gets larger
t_vals = [3]
for j in range(1, 50):
t_vals.append(t_vals[j-1] + (100 - t_vals[j-1]) * 0.01)

for phase in param['phase_list']:
for t in t_vals:
t0 = t
t1 = t * param['c']

x = round(param['a'] * math.exp(param['b'] * t0) * math.cos(t1 + phase) +
map_center['x'])
y = round(param['a'] * math.exp(param['b'] * t0) * math.sin(t1 + phase) +
map_center['y'])

__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #9  
Old March 13th, 2007, 02:56 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: FQM Quadrant Shapes

Hmm... if I stick to 2 engineered arms, I can make them actually have some thickness.

Large:


Medium:


Due to the bulge in the center, the small often doesn't get much in the way of an arm. C'est la vie.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #10  
Old March 13th, 2007, 04:14 PM

Raapys Raapys is offline
First Lieutenant
 
Join Date: Jan 2005
Posts: 689
Thanks: 0
Thanked 0 Times in 0 Posts
Raapys is on a distinguished road
Default Re: FQM Quadrant Shapes

I think they're good, especially the large one. Would it be possible to thin out the center without messing up the WP lines? Would be neat if the arms went even further 'around' the center.

Even if that doesn't work, they're still cool as they are. Looks like a broken web.
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 01:38 PM.


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