.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 December 9th, 2007, 12:47 AM
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: XFile Creation and XFileClasses Effects

Destination blend one, source blend zero should do it.
__________________
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
  #2  
Old December 9th, 2007, 01:28 AM

MasterChiToes MasterChiToes is offline
Corporal
 
Join Date: Sep 2006
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
MasterChiToes is on a distinguished road
Default Re: XFile Creation and XFileClasses Effects

dyslexically correct... Thanks!

Need to fix my graphics... black edges and not enough frames of animation.

But... I now have a small moon orbiting a planet... with an inclined orbital plane that matches the axial tilt of the planet.
Why 25 units = 90 degrees is a mystery to me.
Reply With Quote
  #3  
Old December 9th, 2007, 02:21 AM
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: XFile Creation and XFileClasses Effects

You're welcome.

Could be radians?...
__________________
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
  #4  
Old December 9th, 2007, 03:14 AM

MasterChiToes MasterChiToes is offline
Corporal
 
Join Date: Sep 2006
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
MasterChiToes is on a distinguished road
Default Re: XFile Creation and XFileClasses Effects

Not even close to radians.
Planets unrotated are on their sides... the rotate X 50 flips them 180 degrees and the rotate z 25 makes them right side up (not sure why X isn't ignored and X set to -25).
Starting Rotate X := 50
Starting Rotate Y := 0
Starting Rotate Z := 25

Since the default rotation vector is 25 (90 degrees): I decided you could rotate X away from the vertical... and then add an X rotation vector that trigonometrically pairs with the Z rotation.

This solution works near perfectly... ~10 degree tilt
Starting Rotate X := 53
Starting Rotate Z := 25
Continual Rotation Vector X := 3
Continual Rotation Vector Z := 15.1

You can vary the direction of the tilt, messing with the signs and getting Y involved... However, I see no good way of distributing different tilts throughout the planet types.

The orbital plane for satellites is harder... I can't consistently predict whether the initial position is the low or high end of the incline.
But I got this one working for the above axial tilt:
Effect 2 Offset Position X := -19.65
Effect 2 Offset Position Z := 3.75
Effect 2 Rotate X := 0.000375
Effect 2 Rotate Z := 0.001965

If you like your trig, you can quickly figure out why 3 is paired with 15.1 and 19.65 is paired with 3.75.
Reply With Quote
  #5  
Old December 9th, 2007, 03:23 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: XFile Creation and XFileClasses Effects

According to the mod doc, Starting Rotate and Starting Scale are in percents.
__________________
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
  #6  
Old December 9th, 2007, 03:29 AM

MasterChiToes MasterChiToes is offline
Corporal
 
Join Date: Sep 2006
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
MasterChiToes is on a distinguished road
Default Re: XFile Creation and XFileClasses Effects

For the rotations, percents still leave it as 50% = 180 degrees, 25% = 90 degrees, etc...

I don't have a problem with it... it is just a little odd.
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 02:52 PM.


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