Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

[SA]Creating Animated Textures with RW Animator.


BobFromReboot
 Share

Recommended Posts

BobFromReboot

Tutorial: Creating Animated Textures with RW Animator.

By BobFromReboot

 

**I will not get into the actual animation/creating of the textures in this tutorial as that is a more general subject and many tutorials can already be found online.

**Do not work with original files, always backup! Use modloader to test your mod non-destructively!

 

Things you will need:

*Photo editing software (photoshop, the gimp, etc)

*Med map editor

*Magic TXD

*RW Animator (GTAF Thread)

 

 

1.Find the model you would like to give an animated texture to.

 

a)I used med (map editor). You must open the gta.img file, load up the scene of the area you need, then double click the object to highlight it.

b)Once highlighted, you will be able to right click the object to extract it's dff file, and txd file. Both are needed. Move them into the RW Animator folder, you must do this, files can be deleted later.

 

2.Prepare your frames.

 

a)You have several options. You can animate an existing texture using your image editing software of choice like I did with my AnimatedAC mod. You could get an animated gif and break that down into frames. You could use a software like VirtualDubMod or other to extract frames from any video.

 

b)Once you have all your frames created, put them in a folder, and rename them in order from start to finish as 0, 1, 2, 3, etc. If you have 20 frames, they should be named from 0-19.

 

2.Compile into one large image.

 

a)Open the “Frames combining” exe file included with RW Animator.

 

b)Click Project → Options

 

c)Math time. Depending on the amount of frames your animation has, you will need to change these settings. For example, an 8 frame animation could be setup 4 wide, 2 high (4 horizontal divisors, 2 vertical.) You must then set the dimensions to match the total texture size. You can have blank frames at the end of the file, they will not be seen in the animation as long as they are unused in the dff.

 

d)Once you have the options set, drag and drop the folder containing the frames. Go to Project -> Save and a sheet with all the frames will be created as one image.

 

3.Replace image in TXD file.

 

a)Open MagicTXD, replace the original texture with the sheet of frames you have created.

b)Save the txd file.

 

c)Extract the contents of the TXD as TGA files in the RW animator directory.

 

4.Use RW Animator to define where and when each frame is played.

 

a)Open RW Animator.

 

b)Drag and drop the dff in the RW animator folder onto the RW Animator window. If the TXD was extracted as TGA files in the directory, you will see all the textures associated with the DFF in the bottom right, if you did not, they will be blank.

 

c)Select the texture you are going to animate, you should see it as a thumbnail of the sheet you created.

d)Click new animation, name it something appropriate (flashing lights, spinning fan, etc)

 

e)You can use the “Create TV Screen” option on top as a shortcut to creating your frames. If you get the settings correct to match how your sheet of frames is setup, it should line up automatically. The time increment setting is in seconds. The default is 0.1 seconds in between each frame.

 

f)You could also manually setup your frames. The readme file has the instructions. If you are on a keyframe, use backspace to modify the UV settings, if you use delete it will delete the frame.

 

You will need to make sure the UV scalling is correct, or you will see your entire sheet of frames on the texture instead of the individual frames. Each keyframe in the program needs to know which of the frames in the large image to use.

 

You use UV coordinates for this. The amount “tiles” you have used will determine the UV coordinates. For example, if you have four frames wide, and three frames high (12 frames total) The coordinates starting from top left would be (0,0) (0.25,0)(0.5,0)(0.75,0). The next row would be (0,0.33) (0.25,0.33)(0.5,0.33)(0.75,0.33). The bottom would be (0,0.66) (0.25,0.66)(0.5,0.66)(0.75,0.66). Much more info on UV mapping is available online.

 

g)When you have your keyframes setup, click on save changes to selected animation. I would suggest saving every step or two you modify as it is sort of a buggy/old program and info is lost if you click the wrong button.

 

h)After saving the animation, use the top left save button to commit the changes to the DFF file. The DFF/animation can still be modified after it has been saved, it is not encrypted or anything.

 

i)Testing time, use mod loader. Copy the dff and txd files you have changed into the folder where you put other textures/models. The one for gta3.img. Launch the game, and find the model(s) that you were working on. If you were lucky, you will see the texture animating. If you got your UV mapping wrong, you will see weird tiles acting as conveyer belts. If that is the case you can close out and fix the issue and try again.

 

Feel free to ask any questions.

Edited by BobFromReboot
Link to comment
Share on other sites

  • 1 year later...

This does not work, I followed the instructions step by step and there is no animation!

Also that the .dff loses the night vertex. :c

Link to comment
Share on other sites

  • 1 year later...
On 3/4/2018 at 10:59 AM, xelono said:

This does not work, I followed the instructions step by step and there is no animation!

Also that the .dff loses the night vertex. :c

Bro

you maybe forget to apply the animation to texture,you can follow these steps

 

1:after setting up your animation ,click this button to save animation

https://imgur.com/CJU6u7O

 

2:then click the animation on the left list

https://imgur.com/Q9yIgyg

 

3:then double click the frames-merged texture icon on the right to apply the animation to texture,after this the icon will have a movie tape mini-icon

https://imgur.com/dTu6qVR

 

4:finally click the save dff button to save dff with animatin

https://imgur.com/WzI9t21

 

Edited by Akiri
for helping
Link to comment
Share on other sites

I want to state the meaning of "point in the timeline",so let's make a example

 

the first keyframe:

https://imgur.com/XWJz9ps

 

the second keyframe:

https://imgur.com/zXinM99

 

from pictures above,the meaning of "point in the timeline" is similar to "the position of timeline"

 

and these two pictures mean:

from the first keyframe,the animation will take 1.5-0=1.5 seconds to play to the second keyframe

 

Link to comment
Share on other sites

  • 4 months later...

Can this be applied to a book?

Like instead of making the texture animate automatically, I can switch between keyframes by a defined key press, thus, it'll be like turning book pages. Is that possible?

Help is appreciated. :)

Link to comment
Share on other sites

  • 2 months later...
  • 4 months later...
  • 3 weeks later...

most likely game engine limitations. applying animation data prevents nvc from work.

 

The NVC data is still there ! It has just nulled datatype in the header because NVC does not allow animation to play.

 

If you want to bring back NVC, just run RW Analyze and give a proper type to the header which contains Night Vertex Color data.

Edited by HackMan128
Link to comment
Share on other sites

  • 1 month later...
On 9/17/2020 at 1:13 AM, HackMan128 said:

most likely game engine limitations. applying animation data prevents nvc from work.

 

The NVC data is still there ! It has just nulled datatype in the header because NVC does not allow animation to play.

 

If you want to bring back NVC, just run RW Analyze and give a proper type to the header which contains Night Vertex Color data.

Could you please give me the password to unpack the archive of your masterpiece RW Animator? I will be very appreciate for your help. Thx.

Link to comment
Share on other sites

  • 6 months later...

Can someone do an explanation that I do not understand, for videos that do not have an accurate explanation. I hope for an explanation that clarifies that, and thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 2 Users Currently Viewing
    1 member, 0 Anonymous, 1 Guest

    • dilinker
×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.