Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Diamond Casino Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

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

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA 6

      1. St Andrews Cathedral
    3. GTA V

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

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

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    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. DYOM
      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
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

Please be aware that this is not a tutorial request forum! Use the appropriate topic for the effect.

[GTA3/VC] Pre-Lighting Map Objects

Recommended Posts



Blender Pre-Lighting Tutorial

Grand Theft Auto 3 / Grand Theft Auto Vice City


This tutorial provides an free alternative to 3dsmax for users looking to pre-light their map modifications through the use of blender. The application can be downloaded from blender.org, you will also need the python script developed by Hollower to allow import/export of .dff files, website. For more information and the latest updates on the .dff import/export script for blender please visit Hollower's topic here.



Known Limits/Bugs


  • object names are limited to 20 characters in length


  • limit of 16 materials per mesh


  • importing more than one model can cause name conflicts, messing up hierarchy


  • import can "hang" on high-poly models with 'msplit' option enabled


  • DFF UV coords and vertex colors are shared by adjacent faces, Blender's are not


  • normals are not imported, they are calculated automatically


  • quads are not automatically converted to triangles (exports a corrupt file)


  • VC skeletal models are partially supported (must reuse skeleton of existing model)


  • VC cutscene models are not yet supported (mesh works, but no skeletal support)


  • multi-clump DFFs are not yet supported (only first clump will be imported)


  • cannot import DFFs exported by the old 3DS Max R3 plugin



Please note, this is not a detailed tutorial of blender or the many options available, this is merely a simple guide for basic pre-lighting. For a more detailed insight into the blender application and it's tools visit their website. The guide implies that you're capable of finding menu items in the interface, though no knowledge of blender is necessary.



[1.0] Open blender



[2.0] Loading the .dff Script


[2.1] Text Editor --> Open --> Select Script --> Run Python Script.



[3.0] Importing .dff File


[3.1] On import enable the MSPLIT button and click export.

[3.2] Check textures are visible and correctly mapped in both the shaded and textured view.

[3.3] Remove the default cube from the center of the grid.



[4.0] Pre-Lighting Model


[4.1] Right mouse click on the small lamp icon and press F5.

[4.2] Left mouse click on the light button located at the bottom of the interface.

[4.3] From the drop-down list enable SUN.

[4.4] Switch the view to shaded mode

[4.5] Select the light and press R.

[4.6] Rotate the light (sun) to your preferred position.



[5.0] Vertex Colors


[5.1] Switch the view to wireframe mode.

[5.2] Select the model and press F9 for editing.

[5.3] In the mesh box select the buttons which reads Make to set the vertex colors, found next to the vertcol buttons.

[5.4] Select the light and delete.



[6.0] Export .dff File


[6.1] Select the model(s).

[6.2] From the top menu select export object.

[6.3] Test the exported .dff file in-game.

Share this post

Link to post
Share on other sites
Suction Testicle Man

wow.gif Apologies for the lack of response GT, this is much appreciated smile.gif I don't have any use for it as of yet, as I am still getting my buildings finished in SketchUp, but I will post back with the results when pre-lighted. Cheers!



Share this post

Link to post
Share on other sites

maybe a late reaction its great that you posted this for blender but it would be cool if you posted this for 3dsmax 3* versions because i and some other people are still having a hard time to get it right and match the colors like myriad islands its just an other kind of pre-lighting that blender is using in compare with 3dsmax so if you would be so kind can you post a tutorial on how the files of myriad are pre-lighted, thanx in advance GT-1. smile.gif

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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

  • Create New...

Important Information

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