Please Help Support E-Mods.net by Donating

e-mods.net

  • 2017-09-19, 22:28:53
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search

News:

Looking for VTMR Modding Tutorials? Check out the Open Nod Development section of e-mods.net.

Author Topic: Making Animated Textures for The Nod Engine  (Read 4407 times)

Javokis

  • Horses Dick
  • Member
  • *****
  • Karma: 21
  • Offline Offline
  • Posts: 2362
    • E-Mods.net
Making Animated Textures for The Nod Engine
« on: 2007-03-29, 19:27:26 »

This tutorial will teach you how to edit a NAM file to create a pageflip animation. For this tutorial we will edit Orsi's portrait in his mansion to have a slide show of other paintings. I'll make this as painless as possible.



-First go into your main Vampire - Redemption folder and find LMaterials.nob.
-Open it with Winzip.
-Find ORportraitOrsi_V.nam under materials\vienna and extract it into your main Vampire - Redemption folder.


-Go into your Vampire - Redmeption\materials folder and you'll natice the vienna folder has been added.
-Within that folder should be our ORportraitOrsi_V.nam file.
-Right-click it and choose properties so we can remove Read-only from the file.


-Open the file with Notepad.
-The file is quite simple right now, containing only two lines of code (a texture and a sound).


-All we need to do is add some lines of code for animation pageflipping.
-We'll need to add the numframes command and set its value to 4 (for 4 frames.) so type in:
numframes 4 at the first line.
-Now we already have one texture for our frame, we'll need three more.
-Let's add 3 more lines of textures like so:
texture SBcheesyPainting2_L.tga
texture SBcheesyPainting3_L.tga
texture SBcheesyPainting4_L.tga

-These textures exist in materials\london of LMaterials.nob.
-The reason we chose these is not only because they are paintings, but they are of the same pixel size.
-Remember to stick with the same tga size for all of your frames or you'll have odd alignment issues on some frames.
-The last line of code is for the pageflip timer.
-The pageflip command measures time in really small miliseconds like 1000 units equal 1 second type milisecond.
-So let's set the pageflip timer to 500 for a 1/2 second interval by typing in
pageflip 500 after the texture lines.

-When we're all done our file should look like this.


-That's it. Save your file and start up Redemption. Load the Orsi's Mansion map in multiplayer and check out his Portrait.

ENJOY!
« Last Edit: 2010-02-28, 13:00:06 by Javokis »
Logged
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo

EtaYorius

  • Jewish Gothic Chef
  • Team
  • Member
  • ******
  • Karma: 3
  • Offline Offline
  • Posts: 549
  • EtaYorius Mystic
    • CLICK HERE TO VISIT MYSPACE SITE.
Re: Making Animated Textures in Redemption
« Reply #1 on: 2007-04-01, 17:08:35 »

Sweet! this should help many people on creating these... i learned how to do them searching inside club abla haha.
Logged
Victims... arent we all?

Vlad_III

  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 115
Re: Making Animated Textures for The Nod Engine
« Reply #2 on: 2010-11-28, 13:27:48 »

I follow the instructions , but nothing happened.

« Last Edit: 2010-12-04, 01:53:28 by Vlad_III »
Logged

Javokis

  • Horses Dick
  • Member
  • *****
  • Karma: 21
  • Offline Offline
  • Posts: 2362
    • E-Mods.net
Re: Making Animated Textures for The Nod Engine
« Reply #3 on: 2010-11-28, 21:52:49 »

You probably need to read it again.
Logged
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo

Vlad_III

  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 115
Re: Making Animated Textures for The Nod Engine
« Reply #4 on: 2010-12-04, 02:07:02 »

Ok, i found what doesn't work.

We need to extract the ORportraitOrsi_V.nam in the LMaterials.nob folder to =>  Materials\ Vienna (I must create this folder which doesn't exist)

only extract OrportraitOrsi_V.nam in the main folder vampire redemption don't create the vienna folder in Materials (on my computer of course!).

Next, just follow yours instructions and I have the pageflip animation!  :P






Thanks for this good tuto^^
« Last Edit: 2010-12-05, 12:03:47 by Vlad_III »
Logged
 

Page created in 0.067 seconds with 19 queries.