Battlezone Universe

Battlezone Universe => Battlezone 2 => Maps and Modding => Topic started by: Centerline on July 28, 2008, 01:11:39 AM

Title: animated texture on ships?
Post by: Centerline on July 28, 2008, 01:11:39 AM
Has anyone been able to put an animated texture/area on a ship similar to the powergen?  I has thinking of experimenting with Blender to create a organic type ship with a glowing orb for the engine and wanted to have a moving texture on the orb so it looked like it was sort of alive.

If you have succeeded, please give me some pointers.

Thanks,

Centerline...
Title: Re: animated texture on ships?
Post by: Steeveeo on July 28, 2008, 01:17:31 AM
BZ2 is not able to animate any kind of texture (on a ship, particle, or otherwise).

What you are seeing on the Powergen is just a spinning frame with the same texture as a Lung or those giant shields in the final ISDF mission in SP.

I'd reccomend using a rotating draw_geom or draw_sphere in this case.
Title: Re: animated texture on ships?
Post by: General BlackDragon on July 28, 2008, 01:24:44 AM
Computer classlabel can have animated texuture

thats all though
Title: Re: animated texture on ships?
Post by: Nielk1 on July 28, 2008, 01:32:00 AM
A spinning section on the ship will work. The mission DLL will have to tell the game to loop the sphere rotation.
Title: Re: animated texture on ships?
Post by: Steeveeo on July 28, 2008, 01:50:31 AM
Quote from: Nielk1 on July 28, 2008, 01:32:00 AM
A spinning section on the ship will work. The mission DLL will have to tell the game to loop the sphere rotation.

ooorrr....you could do the rotating draw_geom and not have to worry about DLL.
Title: Re: animated texture on ships?
Post by: Zero Angel on July 28, 2008, 02:14:38 AM
Will the draw-geom work on a moving object? I experimented around before with using that, and the draw-geom would just stay in one spot. So when the ship moved, the effect would be left behind.

I did some further experiments with making the effect respawn through an emit, but that didnt work out perfectly well. What I *didnt* try though, was making the emit inherit the velocity of the craft, I think there is a variable for that.
Title: Re: animated texture on ships?
Post by: Steeveeo on July 28, 2008, 02:42:48 AM
Quote from: Zero Angel on July 28, 2008, 02:14:38 AM
Will the draw-geom work on a moving object? I experimented around before with using that, and the draw-geom would just stay in one spot. So when the ship moved, the effect would be left behind.

I did some further experiments with making the effect respawn through an emit, but that didnt work out perfectly well. What I *didnt* try though, was making the emit inherit the velocity of the craft, I think there is a variable for that.
I tried it on a simple heli that N1 put together, seems to work just fine.
Title: Re: animated texture on ships?
Post by: Nielk1 on July 28, 2008, 02:47:25 AM
Forgot about that.
Title: Re: animated texture on ships?
Post by: bigbadbogie on July 28, 2008, 02:58:03 AM
How do you get it to spin??
Title: Re: animated texture on ships?
Post by: General BlackDragon on July 28, 2008, 03:13:13 AM
just use draw_sphere and give it a rotation.
Title: Re: animated texture on ships?
Post by: mrtwosheds on July 28, 2008, 10:38:20 AM
QuoteComputer classlabel can have animated texuture
Computer classlabel scrolls a non animated texture.
Title: Re: animated texture on ships?
Post by: Warfreak on July 28, 2008, 01:14:51 PM
Nielk.... abotu a dll driven loop, didn't you actually premake a dll tibbit so that looping can be called via a custom .odf entry?
Title: Re: animated texture on ships?
Post by: Avatar on July 28, 2008, 04:21:19 PM
Fishbone did that for the 'Carryall' in Dune...  and I've added "BZCLoop" and "BZCSetup" as custom odf animation entries in the BZC DLL's. 

Makes Flying Maulers a LOT easier...  :)

What it sounds like Centerline is after would be more like the Vorlon ship skins in B5...

-Av-
Title: Re: animated texture on ships?
Post by: Nielk1 on July 28, 2008, 04:45:53 PM
http://www.bzcomplex.com/forum/viewtopic.php?p=365

Using a simple spinning render would be best though, and not require DLL assistance.