Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (92,625 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

gold_fish

[REL] KAM's GTA Scripts (2018)

Recommended Posts

gold_fish
Posted (edited)

IuEgLO53bKI.jpg

 

 

Updated and improved version of KAM's skipts.

Based on the original Kam's scripts.

This script was tested in 3ds max 2009 and 2012 and 2017.

Complete with the script there is a fixed and updated GTA Material

 

Download the latest version of the script

https://yadi.sk/d/DQMt4tMM3TTV5e

or

https://drive.google.com/open?id=1yp0sq1Fz7qdNgVccfrOAUnhShVijs1rW

 

 

 

Changes and updates:

 

- - - - - - - - - - - [ DFF IO ] - - - - - - - - - - - - - - - - -

 

What was added:

 

(17.03.2018)

- mass import and export DFF's

- import / export Night prelite

- import / export Vertex Alpha

- import / export UV2 channel

- import / export 2dfx (only light sources)

- optional interface for configuring 2dfx

- additional locking dff (new)

 

(23.03.2018)

- import / export Bump maps

- import / export Dual maps

- import / export Normal Map and Reflection (Adaptation for Normal map Plugin from DK)

- auto-save the interface settings DFF IO after each change

 

 

What's been fixed:

(17.03.2018)

- exporting a hierarchy of models

- export of normals

- import of color from light sources 2dfx

 

(23.03.2018)

- export models of characters

- importing a model hierarchy

- general script code repair

 

 

Additionally:

- added more warnings and tips when exporting

- added export log ( F11 listener)

- updated and improved script interface

- added optional UV2 coordinate compression

- added additional tools to work with the model

- added progress-bar and fixed script freezes

- added default settings for exporting prelite

- added menu GTA tools scripts in the top menu bar 3ds max

( 2M7fMmk3duU.jpg)

 

 

Additional utilities:

 

- Prelit Tools

trNEv5jmAq8.jpg

 

the script for mass configuration prelite

 

 

 

- Fix models pivot

script for mass alignment of the pivot position of the model to integer coordinates before exporting the mapping

 

- Align pivot to center

script for mass equalization of pivot in the center

 

- Col Export (mass)

script for mass export of col (cst)

 

[COL IO] - not changed

[iFP IO] - not changed

[Map IO] - small fix

 

 

 

Authors

=========================

 

- 19.12.05 -
Kam, Odie, Pioneer

 

Official post on the forum: http://gtaforums.com/topic/218318-rel-kams-maxscript-going-over-quick-update/

 

 

-23.03.2018 -

Updating the script (v 0.3)

Goldfish - [email protected] / https://vk.com/vk.goldfish

 

 

For questions and suggestions, write here (support): https://vk.com/topic-99725313_37821803

 

 

=================================================================

CQn0PiFQrS8.jpg

 

 

Script features:

 

ddmg94vOMKI.jpg

Edited by gold_fish

Share this post


Link to post
Share on other sites
cj2000

What about impot/export for breakable?

Share this post


Link to post
Share on other sites
gold_fish

What about impot/export for breakable?

If there are ready-made examples and descriptions of the structure, then there are no problems

Share this post


Link to post
Share on other sites
cj2000

 

What about impot/export for breakable?

You have a PM.

If there are ready-made examples and descriptions of the structure, then there are no problems

Share this post


Link to post
Share on other sites
Inan-Ahammad

is still stable or may contan bugs?

Share this post


Link to post
Share on other sites
gold_fish

is still stable or may contan bugs?

may contain errors, but I correct them right away

Share this post


Link to post
Share on other sites
Inan-Ahammad

Capture.PNG

A little bug there.Both are png type.I think one should be tga.

Share this post


Link to post
Share on other sites
gold_fish
Posted (edited)

Capture.PNG

A little bug there.Both are png type.I think one should be tga.

 

Correction of this script was done by another person. You can easily return the old script from the kams script.

 

By the way, I wrote my version of map io. It exports only IPL (inst) and IDE (objs), but is able to automatically locate and export the lods, so the script automatically assigns the ID to all objects

 

The interface of the script.

 

2DMKc.png

 

The script usage instructions are only available in Russian, but I think the interface is friendly and understandable.

 

Link https://yadi.sk/d/jDZAMlhv3H8qu8

Edited by gold_fish

Share this post


Link to post
Share on other sites
Tut Greco

Will it at some point support smoothing of import and export? It's something I've been missing a lot! :catloaf:

Share this post


Link to post
Share on other sites
Gmer
Posted (edited)

I'm getting [Error]: write geometry, when im trying to export a model originally exported with older KAMS using this.

 

9HmBH9p.png

 

I made no changes in 3DS to the model, just this was my first test import & export with your updated KAMS version.

The old kams can do this same operation, right now, on the same model, without problems. After clicking away the error, the outputted .DFF is 2,07KB in size.

Any tips?

 

Edit: seems it doesn't error when i dont select the .DFF as collision like i tried. I used skip col and works, but still...

Edit2: even with skip col, altho the error is gone, the model outputted is corrupted , because GTA cannot load it.. and about 60kb less in size (like missing something)

 

maybe this can help you find out what is missing on export or what goes wrong, gold_fish:

 

original working model RWAnalyze section tree dump: https://pastebin.com/KUvGiBbX

dump of the broken exported skip-col model that GTA cannot load in: https://pastebin.com/hVXBJVNq

Edited by Gmer

Share this post


Link to post
Share on other sites
gold_fish
Posted (edited)

 

original working model RWAnalyze section tree dump: https://pastebin.com/KUvGiBbX

dump of the broken exported skip-col model that GTA cannot load in: https://pastebin.com/hVXBJVNq

Could you give this model or the max scene in PM?

Edited by gold_fish

Share this post


Link to post
Share on other sites
gold_fish
Posted (edited)

Will it at some point support smoothing of import and export? It's something I've been missing a lot! :catloaf:

Import can not be fixed, because the mesh of the model in dff is cut in parts, because of which the model does not smooth out in 3d max, as it would be desirable.

 

smoothing after export has already been fixed and depends on the smoothing groups. If you assign one smoothing group to all polygons, then in the game everything will also be smoothed by one group

Edited by gold_fish

Share this post


Link to post
Share on other sites
Vadim M.
Posted (edited)

Thanks for these tools!

 

I know about one pesky bug with Vice City ped models. If I want to use "IFP IO", the model doesn't show up. Is it possible to fix?

KQW1sdFm.png

Edited by Vadim M.

Share this post


Link to post
Share on other sites
gold_fish

Thanks for these tools!

 

I know about one pesky bug with Vice City ped models. If I want to use "IFP IO", the model doesn't show up. Is it possible to fix?

KQW1sdFm.png

may be...

Share this post


Link to post
Share on other sites
Tut Greco

It'd be sweet if a function to import/export particles was to be added to the script. I'm already using the light import/export, it's extremely convenient compared to exporting the data and adding it through RW analyze.

Share this post


Link to post
Share on other sites
Delatom
Posted (edited)

Finally

An update for this tool.

Edited by Delatom

Share this post


Link to post
Share on other sites
MrVicho13
Posted (edited)

It would be extremely useful if you add UV Animation support (Export and Import), is really painful to manually delete UV Anim sectors for each DFF.

Edited by MrVicho13

Share this post


Link to post
Share on other sites
HalfwayOrb
Posted (edited)

See here:

 

 

Maybe a bug?

 

Edited by HalfwayOrb

Share this post


Link to post
Share on other sites
masterbutt_angrycat

hey guys , sorry for bump , but i wonder if it can export alpha blend textures model or not ? , yeah , the previous verson can't export alpha blend textures and i stuck that problems for a years to do project make something cool for sa's map

Share this post


Link to post
Share on other sites
gold_fish
On 6/12/2018 at 3:21 PM, masterbutt_angrycat said:

hey guys , sorry for bump , but i wonder if it can export alpha blend textures model or not ? , yeah , the previous verson can't export alpha blend textures and i stuck that problems for a years to do project make something cool for sa's map 

Vertex alpha only

Share this post


Link to post
Share on other sites
Tut Greco
49 minutes ago, gold_fish said:

Vertex alpha only

is vAlpha where you have white and black colors that you can paint onto your mesh to draw paths between a stone and a grass texture?

Share this post


Link to post
Share on other sites
gold_fish
6 hours ago, Tut Greco said:

is vAlpha where you have white and black colors that you can paint onto your mesh to draw paths between a stone and a grass texture? 

Yes

 

Share this post


Link to post
Share on other sites
cj2000
On 6/16/2018 at 4:28 PM, gold_fish said:

Vertex alpha only

And what about Night vertex alpha?

Share this post


Link to post
Share on other sites
cj2000
On 6/16/2018 at 5:18 PM, Tut Greco said:

is vAlpha where you have white and black colors that you can paint onto your mesh to draw paths between a stone and a grass texture?

You know any model using it?

Share this post


Link to post
Share on other sites
Tut Greco
1 hour ago, cj2000 said:

You know any model using it?

I don't , searched around and believe it's only compatible with GTA and not MTA. I can't confirm it however.

Share this post


Link to post
Share on other sites
gold_fish
On 6/20/2018 at 5:36 PM, cj2000 said:

And what about Night vertex alpha?

Alpha is written in the day and night prelit, if night is on

Share this post


Link to post
Share on other sites
MrDadosz

Can you add collision material like GTA COL Surface from Kam's script 2005?

https://i.imgur.com/74S8ovn.png

Share this post


Link to post
Share on other sites
gold_fish
Posted (edited)
1 hour ago, MrDadosz said:

Can you add collision material like GTA COL Surface from Kam's script 2005?

https://i.imgur.com/74S8ovn.png

Sorry, I forgot to add it to the kit. Simply you need to manually add the GTA_COLplugin.ms script to the startup folder

(You can find it in the old version of the kams script)

2HPZ8.png

Edited by gold_fish

Share this post


Link to post
Share on other sites
MrDadosz

Thank you. Now I can make models without crash every 3 minutes.

Share this post


Link to post
Share on other sites
MrDadosz

There's another problem. If you export DFF, script will save model to 0,0,0 position but if you export COL, script will get current model collision instead of 0,0,0. Can you fix this?

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

×

Important Information

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