Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums! (92,427 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

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

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

    2. Site Suggestions

Sign in to follow this  
Kam

Still want Night Vertex Color!

Recommended Posts

Kam

Hello guys,

I am teaching my friend Maxscript ATM. And it seems he did it quite well so I give him a goal on export 'Night Vertex Colors'.

 

Anyone want to try!? It NOT a direct way but should work!

 

Tools you need:

 

- RW Analyze

- NVC export script (with updated RW_Secs.ini)

* I didn't edit anything in this RW_Secs.ini myself, I think steve-m did it!

 

 

READ BELOW CAREFULLY

 

1. Make your own dff as usual, remember you need normal Vertex Colors for this!

2. After you exported your dff, create a new MAX document! (Very Important)

3. Use DFF IO to IMPORT it back to MAX! (since you need to have same amount of verts through-out the dff)

user posted image

 

4. DO NOT edit the mesh but use 'paint vert color' or 'bake light' whatever method to create 'Night Vertex Colors'

user posted image

 

5. Run the script, the 4 spinners are for the unknown values of NVC.

You can enter any value(I don't know), you guys said it didn't have any visible effect!?

Use the 'Pick Mesh' button to select your mesh for export.

user posted image

 

6. A file with the name of your mesh with extension '.nvc' will be created.

eg. pick 'DYN_F_R_WOOD_1b' will create 'DYN_F_R_WOOD_1b.nvc'

7. Now fire up RW Analyze. Locate Clump -> Geometry List -> Geometry -> Extension

Right click and Add Selection (or just press 'Ins' key)

user posted image

 

8. Type the number as in the image and press OK. You should have a new section like this.

(Don't worry if you can't see the name 'Night Vertex Colors', since I had update my RW Analyze.ini)

user posted image

user posted image

 

9. Now hightlight and right click the section you just created, select 'Import Section Data' from the dialog, select the nvc data create form Max!

user posted image

user posted image

 

10.After that you'll see the dff file size change and now save it in RW Analyze.

user posted image

 

Done! This dff should now have working NVC for SA.

Edited by Kam

Share this post


Link to post
Share on other sites
dustcrazy

Any Screenshots? Sounds intresting. biggrin.gif

Share this post


Link to post
Share on other sites
Gforce

this looks like it's going to be a very useful tool for map modding, i have a day off (Monday) so i think i'll give this a thorough attempt.

 

thank you for what seems to be another quality addition to gta modding smile.gif

 

any chance of you releasing your updated RWA ini ?

 

cookie.gif

Share this post


Link to post
Share on other sites
pirlano

have you decoded first 4 byte?

Share this post


Link to post
Share on other sites
Gforce

i got to test this out today and ........... wow it works seriously well, the time and lighting shift from day to night and back to day is seamless.

 

screens smile.gif

 

user posted imageuser posted imageuser posted imageuser posted imageuser posted image

 

ignore my test lighting setup on the building and focus on the road wink.gif

 

hopefully you can find a way to integrate this with your Kams max script set and implement the use of a secondary night lighting setup in max scene's, might also be helpful if steve-m updated RWA to make use of this extra information.

 

hopefully you will set your "Friend" another task of how to add 2dfx lights to dff's and maybe some particles biggrin.gif

 

 

some cookies to say "thank you" to both of you cookie.gifcookie.gifcookie.gif

Share this post


Link to post
Share on other sites
DexX

Can someone who has the file, host it?

 

The GeoCities web site you were trying to view has temporarily exceeded its data transfer limit. Please try again later.

 

 

have you decoded first 4 byte?

i've explored NVC's a bit more, any non-zero value for the first 4 bytes seems to produce the same effect, and the NVC works ingame just fine.

Share this post


Link to post
Share on other sites
***TGR***

Link not needed anymore!

Edited by ***TGR***

Share this post


Link to post
Share on other sites
Kam

I had updated the download links in the top post, It should work without download limit now.

And I had include the updated 'RW_Secs.ini' in the zip file as well. Just replace your old one will do!

 

Enjoy! sigh.gif

 

Share this post


Link to post
Share on other sites
mickarrow

Thank you so much. icon14.gif . I was hoping you (or your friend) would come up with something like this. Thanks.

Share this post


Link to post
Share on other sites
leviatan1001

Hi guys, i used the NVC but no file was created on script folder confused.gif

I press the button, but never happens anything, please help dozingoff.gif

user posted image

 

I only get it once, but my model is always invisible, without any texture cryani.gif

 

Edited by leviatan1001

Share this post


Link to post
Share on other sites
Kam

The *.nvc file should be exported. it was saved in the folder where you last opened!

Usually in maxscript folder or where your max file/dff file located!

Do a search will found it!

Share this post


Link to post
Share on other sites
leviatan1001
The *.nvc file should be exported. it was saved in the folder where you last opened!

Usually in maxscript folder or where your max file/dff file located!

Do a search will found it!

No, man. I discovered it only work with dff that have vertex colors. And, then, it will work. If dff dont have any vertex color, NVC wont do nothing. So now, i have a new problem. My model is invisible. In mapo editor, it works nice, on night rendering light appear, but in game, nothing, no texture. Gforce answered me, but he didndt explained it at all. I dont know what to do with the spinners. Maybe to set all in 1 1 1 1 ???

Share this post


Link to post
Share on other sites
Gforce

this is the pm i sent to you leviatan

 

 

hi again. I guees you are so busy. But im going crazy. When i get the nvc file, and apply it, my model is perfect in map editor, but invisible in game. Please, help

 

 

hi leviatan.

 

sorry for the late reply, i have been kinda busy lately.

 

i am going to assume that you have a lighting setup in your max scene and that your dff has already had the vertex lighting from the max scene applied to it.

 

make a duplicate of the dff you want to apply NVC to and open it in RWA.

 

import the duplicate dff into max, set the 4 spinners on "Assignment" panel, select your dff in the scene so it's highlighted then press pick mesh then click on the selected dff again.

 

now follow the adding the NVC section to the dff instructions to the dff you have loaded in RWA and save dff.

 

i've seen some of your work so im not going to treat you like a noob and tell you to re-check your ide lines and txd names etc.

 

good luck ............... Gforce

 

admittedly i did forgot to mention that you need to set all 4 spinners to "1", and that you will find the .NVC file in the same folder location as the dff you loaded into max for NVC.

 

also are you sure that your TXD file is in SA format ? VC txd's still show up nicely in map editor but will not show up ingame SA.

 

Kam clearly stated in his first post that you MUST have a prelit dff for this to work.

 

you also need to apply vertex colours (the lighting) to the dff when you are setting the NVC too.

 

i'm not very good at explaining things in text, thats the reason why i don't write tutorials confused.gif

Edited by Gforce

Share this post


Link to post
Share on other sites
leviatan1001

Ok, i got it biggrin.gif

 

I tryied it before your last post and it worked. Now, i need to learn how to use this technic to get nice results. Thank you to all people who helped me. Here is a post of my Speed Island

Share this post


Link to post
Share on other sites
Gforce
****Bumped Deliberately so that this topic can be moved to the tools forum before the topic gets lost forever ****

Share this post


Link to post
Share on other sites
Rcguy150

Sorry for the year bump, but does anyone know of another link to KAM's NVC export script? The link provided here is dead. Thanks!

Share this post


Link to post
Share on other sites
derty

I think the whole script is dead for now, use Deniska's exporter, I guess? confused.gif

Share this post


Link to post
Share on other sites
Gforce

i uploaded the file to a mirror for you.

 

imo this is still better than the Deniska version atm.

 

Download mirror

Share this post


Link to post
Share on other sites
JohnPro

What is the purpose for NVC?

I use vertex paint and paint the day colour then the night colours. Export with deniska's script.

Then in game the model will change to Night colours as soon as its night in game.

 

Does this do the same thing or am I missing something?

Will this slowly change the shade of the model darker and darker?

 

Vertex paint is much easier then this but maybe this is more advanced?

 

monocle.gif

Share this post


Link to post
Share on other sites
xmen

both are same

Share this post


Link to post
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
Sign in to follow this  

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×

Important Information

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