.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   XFile Creation and XFileClasses Effects (http://forum.shrapnelgames.com/showthread.php?t=37023)

MasterChiToes November 30th, 2007 07:41 PM

XFile Creation and XFileClasses Effects
 
Where do I get information on the creation and editing of Stellar XFiles, and on creating Effects in the XFilesClasses, like Star Glow and Planet Glow.

Fyron November 30th, 2007 08:00 PM

Re: XFile Creation and XFileClasses Effects
 
There isn't anything in the Wiki, so your best bet is to ask questions here.

MasterChiToes November 30th, 2007 08:23 PM

Re: XFile Creation and XFileClasses Effects
 
I was just wondering, after making all those planet textures, whether it was possible to make "weather" into Stellar Effects, or otherwise mapped separately from the planet texture.

Something like that could greatly increase the planet options... since adding cloud effects to current planets and not needing clouds in the newer textures, would be possible.

Fyron November 30th, 2007 09:34 PM

Re: XFile Creation and XFileClasses Effects
 
It should be doable, though I'm not sure what sort of blending properties you'd need to use.

Suicide Junkie November 30th, 2007 09:38 PM

Re: XFile Creation and XFileClasses Effects
 
The straightforward, but horribly slow way would be to make tiny orbiting nebula clouds.

Is it possible to use an animated texture on the planet model?

For people who don't move the camera too much, you could remove the entire planet model, and go with a simple animated sprite for the entire thing. It would boost framerates too.

Gotta come up with a better way...

MasterChiToes November 30th, 2007 09:55 PM

Re: XFile Creation and XFileClasses Effects
 
So, the problem with using stellar effects for the clouds is that the camera isn't fix on a normal to the axis of rotation... and the effects are not really 3D, so the clouds would rotate over the north pole or something.

A model with two (or more) override-able textures, sounds both like the right way of doing it, and from what I've seen so far, not in SE5's mod-playbook.

Dang, it would be killer to have planets with clouds rotating over the surface... and maybe some climate conditions linked lightning effects in the clouds... and a temperature linked polar ice texture overlaying the land.

Okay, maybe the lightning could be effects... but three layers for terrain, moving clouds and polar ice... *dreaming*

Suicide Junkie November 30th, 2007 10:13 PM

Re: XFile Creation and XFileClasses Effects
 
I didn't say that.
Using a sprite for the entire planet would start to look strange if the camera were rotated, since the sprites animation would be fixed.

Having tiny cloud sprites rotating around the planet would work, but it would be expensive in terms of CPU to have 100's of cloud bits per planet.

MasterChiToes November 30th, 2007 10:19 PM

Re: XFile Creation and XFileClasses Effects
 
But those clouds sprites wouldn't be effects added to the planet, they would be independent entities on the map... which as you said would be expensive.

If the cloud bmp's were effects added to the planet, then what I said about viewing angles would apply, right?

Suicide Junkie November 30th, 2007 10:47 PM

Re: XFile Creation and XFileClasses Effects
 
"Effects added to the planet" is stormcloud like things as I understand it. You'd have to make them small and numerous in order to have them wrap around and follow the surface of the planet.
You don't want to use a large sprite, since they always face the camera, and that would look quite wrong when the effect reaches the edge of the model (part sticking into the planet, part sticking out into space, instead of lying on the surface.

As a completely separate idea, planets could be made as a single sprite with a very long and complex animation sequence.

MasterChiToes November 30th, 2007 10:54 PM

Re: XFile Creation and XFileClasses Effects
 
I think I understand... I was referring to effects as listed in the XFileClasses_Stellar.txt, like Planet Glow, which is facing the camera, regardless of the planet orientation.


All times are GMT -4. The time now is 12:32 AM.

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