Material values for slide show? [Solved]

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
User avatar
AnthonyBF2
Sith
Sith
Posts: 1254
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Material values for slide show? [Solved]

Post by AnthonyBF2 »

Is there a material value for slide show functions? I know there is a scrolling value but I need something that makes part of a model change textures.
Last edited by AnthonyBF2 on Fri Apr 01, 2016 3:48 am, edited 1 time in total.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3284
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Material values for slide show?

Post by AceMastermind »

If you're looking for a flipbook type thing, render type 7 is what you want:
Hidden/Spoiler:
[code]Render Type 7 : Render Animated

Data 0: Sets number of frames

Data 1: Sets the speed of animation

Texture 0: diffuse texture

Description: This render type is used for animated textures.

Comments: All the frames must be on the same texture.
Your UV’s should be mapped to the first cell (not the entire texture).
Each individual cell is always square and is determined automatically from the number of frames.
The number of frames must be a perfect square (ie. 4,9,16,25,36…).
Your animation sequence should go from top left to bottom right.
The animation must contain a minimum of 4 frames, therefore the minimum number that goes in data0 is 4.
Animation speed is determined by the data1 setting.[/code]
Example of a 100 frame (10x10 cell) texture:
Hidden/Spoiler:
Image
Example of a 16 frame (4x4 cell) explosion texture:
Hidden/Spoiler:
Image
Post Reply