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

Deniska

3dmax script pack

Recommended Posts

Deniska

Here some scripts for easier modding

 

DOWNLOAD

 

1. DFF export ...for map objects only

 

You dont have to reimport your models for NVC. just put your DAY colors into

VertexColor channel... And NIGHT colors to VertexIllumination channel...

if you use VertexPaint modificator, you can selects needed channel in

PARAMETERS \ CHANNEL section..

 

2. Animation export (for map object)

3. UV anim export + TV anim helper

4. Export col script files (cst) for COLLEDITOR2 (Steve M)...

Mainly usable for big map

5. Brakable objects

6. Train Paths IO

7. CULL IO (Mirrors, no rain zones)

8. OCCLU IO

 

Sorry, but not all help translated to english... I have problem with this...

But most needed script like DFF export help translated...

Share this post


Link to post
Share on other sites
Ryder35

Your script looks cool , what sort of translation do you need ?

 

By the way i can't read your read me ! my note pad don't display russian letters bored.gif

 

Edited by Ryder35

Share this post


Link to post
Share on other sites
dertyjerzian

NICE! any known bugs? What are the plans for the future? How much more work will you [or the author] be putting into GTA max scripts? I'm especially interested in a water.dat info exporter. What is in the future? ty <3

Share this post


Link to post
Share on other sites
Deniska

About bugs.. I dont know... But i make and export about 4000 objects in my mod

(Alien city), and no problems. But sometimes have little splits between objects in games.

I dont know why 3dmax writes float numbers not exacly it is (little offset). But its not

problem...

water stript. No i havent it.

Share this post


Link to post
Share on other sites
Gforce

this looks like a stunning set of max scripts Deniska smile.gif

 

not had a chance to play with them yet but for those people who like pretty pictures here's one for you ..........

 

user posted image

 

thank you for making these script's Deniska, hopefully you will expand the set soon with 2DFX sections etc wink.gif

 

cookie.gifcookie.gifcookie.gif

Share this post


Link to post
Share on other sites
dertyjerzian

yea, those damned floats. I had that problem, but it turned out it was my own error, it was an easy error to make though, I moved some verts.

 

@Gforce: Thanks for the screen man! Yea, I think I will be trying a few of these. Is this a start up script of do you run them all individually?

Share this post


Link to post
Share on other sites
Deniska

 

Is this a start up script of do you run them all individually?

In startup just script runner utility... Exacly like in KAM's scripts...

 

And about floats.. From 3dmax script help :

 

Input Value___Stored Value______Displayed Value1.23456789___1.23456788_______1.234571.1__________1.10000002_______1.11.0001_______1.00010001_______1.00011.000001_____1.00000095_______1.0

 

Share this post


Link to post
Share on other sites
dertyjerzian

yes, I know they're off, but mine was my own error tounge.gif I was lucky wink.gif

 

Anything big planned for your scripts in the near future?

Share this post


Link to post
Share on other sites
xrk

Wow looked at this just now, that IDE script will be a big time saver for new maps and the batch dff exporter too (exports new models unlike kams), those two have been needed for ages inlove.gif

 

 

I'm especially interested in a water.dat info exporter.

 

There has been one of those for a while, by ocram88.

Edited by xrk

Share this post


Link to post
Share on other sites
xmen

thats really gud script for max after the kams..!!

Share this post


Link to post
Share on other sites
Gforce

i got around to trying out a few of these scripts and i've got to say they work amazingly well.

 

i used the train paths script and found that it will allow for exporting a tracks.dat file without the user having set the mandatory 6 stations.

 

maybe you could include that in any future update as a warning that 6 haven't been set, as the game tends to behave strangely with more or less than 6 stations set.

 

here is a screenie for you of a train path in max.

 

user posted image

 

and one ingame..

 

user posted image

 

these really are impressive max scripts biggrin.gif

 

thank you once again icon14.gif

 

PS: i did some minor editing of your max scripts for personal use, i hope you don't mind, i renamed a few sections of the scripts to more suit the functions they do, you can see what i've done in the screenshot from max above, i still need to alter ifp exporter to animated dff export wink.gif

Share this post


Link to post
Share on other sites
Deniska

about ifp exporter...

 

1. You need model with heirarchy for animation.. create DUMMY and name it same as

you DFF file name will be... This DUMMY must be at top of heirarchy

2. Export all parts of your model and dummy to DFF... (better if NVC included)

3. Run script, select just DUMMY and press "get hierarhy selected" on script panel...

You will see all subs of DUMMY list... If subobject not used in animation then set

"EXCLUDE" flag for it... If object have just rotation keys then set "SKIP POS" flag for

this object...

4. Press EXPORT and save animation file...

5. in IDE you should write you object in ANIM/END section...

 

ID, DFFname, TXDname, ANIMATION, DIST, FLAGS

 

and you should put your DFF, TXD and ANIM file to .IMG

 

----------------------------------------

 

about train station - i did make new paths with just one station and it working normal...

actually dont really tested this script...

Share this post


Link to post
Share on other sites
oCain

Whooohieee!!! *Dance!*

It works perfect... icon14.gif

...just wanna give you an feedback.

user posted image

Here's an Anim-Object-Test-Pic...with NVC!

 

Greetz!

 

Share this post


Link to post
Share on other sites
JostVice

YAY! thanks! I love the anim objects and for the trains. Just one question:

 

Does your COL script export the more dark vertex with less bright? that would be awesome.

 

Does the stations works for the tram?

Share this post


Link to post
Share on other sites
Deniska

Col export just exports col script files (cst) for COLLEDITOR2 (Steve-M)...

I use this if making land with many bits. Mainly becose CE2 imports

multiply *.cst files... Little manual :

1. copy your scene with land and open it (ex. COLscene.max)

2. you can use KAMs COL material for defining type of surface,

or if you not use this material then you can define surfase by

face mat id

3. Run script and choose export path

4. Run COLLEDITOR2 (Steve-M) and use EDIT\ADD and select all

creates cst files... Then edit it in CE2 as you want...

 

This script not needed if you export building etc... For this better use KAMs

COL IO, and CE2 after that for britnes control... Becose building collision needs

more work (boxes, spheres, less faces)

 

 

Does the stations works for the tram?

 

it must... but not tested

Share this post


Link to post
Share on other sites
dertyjerzian

Hey Deniska smile.gif

 

I've installed your tool kit here but I havent done much work in the past three days. I do have a couple questions, maybe you can get me a little more comfy wink.gif I'll quote the readme:

 

 

-- If you turn off GEOMETRY LIGHTS flag - you can see effect, like SA tunnels (very dark)

 

Is that how that is done? And leaving it on... Does that mean that if I create lights around my objects and get it just so that I can export the DFF and it will remember that lighting, or is that flag for how the game's day lighting/atmospheric light itself handles the model? Basically, by exporting with geometry lighting, am I also exporting the lighting I set up in Max or am I thinking wrongly here?

 

and

 

 

supports multiexport. If its ON then files wil be names same as exported objects in directory you choose

 

Does that mean that the script does not take all the names of my models in Max and name them what they are named in Max, it names according to a directory? I'm a little confused at this one. I like to understand a lot before I dive in. tia <3

Share this post


Link to post
Share on other sites
Deniska

 

Hey Deniska smile.gif

 

I've installed your tool kit here but I havent done much work in the past three days. I do have a couple questions, maybe you can get me a little more comfy wink.gif I'll quote the readme:

 

 

-- If you turn off GEOMETRY LIGHTS flag - you can see effect, like SA tunnels (very dark)

 

Is that how that is done? And leaving it on... Does that mean that if I create lights around my objects and get it just so that I can export the DFF and it will remember that lighting, or is that flag for how the game's day lighting/atmospheric light itself handles the model? Basically, by exporting with geometry lighting, am I also exporting the lighting I set up in Max or am I thinking wrongly here?

 

and

 

 

supports multiexport. If its ON then files wil be names same as exported objects in directory you choose

 

Does that mean that the script does not take all the names of my models in Max and name them what they are named in Max, it names according to a directory? I'm a little confused at this one. I like to understand a lot before I dive in. tia <3

1. Actually i dont know what is mean "GEOMETRY LIGHTS". This flag have named in

RW analize (Steve M)... So then i tested without this flag, i have seen what surfaces

in game is very dark if used dark prelit (like in some tunnel in SA)

 

2. Its mean - if you have more then 1 object for export... You turn on multiexport flag,

select all your objects and press export... Objects will be exports to directory, and

your dffs will named same as objects...(ooo...my mother told me : learn english)

another words -

you have objects - box01, sphere01, Union01, House .... Select them all, press export,

choose path and you will have files in this path -

box01.dff , sphere01.dff , Union01.dff , House.dff ...

 

But if you export by 1 object, you dont need this...Turn off this flag and name you dff

like you want...

Edited by Deniska

Share this post


Link to post
Share on other sites
dertyjerzian

excellent. That was clear to me wink.gif Thank you for the fast response.

 

Any new stuff on these tools themselves? What did you think of Gforce's alterations? Find those to be of use at all?

Share this post


Link to post
Share on other sites
ParoXum

Wow, nice, years and years after, we have now someone to bring back to life modding eases, this deserve the karma whore.

 

Nice for the batch feature, smarter than Kams one. turn.gif

 

 

Share this post


Link to post
Share on other sites
JKM

Hi.

Ive got some questions, too.

What is the difference between "type 1" and "type 2"?

 

And why are the night vertex colors darker with the prelight-option "mapping"?

This is really confusing!

 

But thanks for the great tool smile.gif

 

Edit: Another question:

My object has ~11 k Polys. While exporting it with nvc the script damaged.

Following error follows:

"-- Runtime error: Out of scripter memory - use options to increase"

Edited by JKM

Share this post


Link to post
Share on other sites
dertyjerzian
Hi.

Ive got some questions, too.

What is the difference between "type 1" and "type 2"?

 

And why are the night vertex colors darker with the prelight-option "mapping"?

This is really confusing!

 

But thanks for the great tool smile.gif

 

Edit: Another question:

My object has ~11 k Polys. While exporting it with nvc the script damaged.

Following error follows:

"-- Runtime error: Out of scripter memory - use options to increase"

not sure about the lighting, but Deniska's readme says t use type one and that type two is not too good.

 

Also, your object is about 10000 polies too big tounge.gif

Share this post


Link to post
Share on other sites
steve-m
My object has ~11 k Polys. While exporting it with nvc the script damaged.

Following error follows:

"-- Runtime error: Out of scripter memory - use options to increase"

Well, just do what it says. wink.gif In Max, open the Preferences dialog (Customize -> Preferences...), go to the MAXScript tab, and increase the "initial heap allocation" value. That gives the script more memory to work with.

 

As for that GeometryLight flag, I don't really know what it's for either. But as far as I remember all original model files have it set. Brightness of models should generally be done via vertex colors.

Share this post


Link to post
Share on other sites
Deniska

gta3.IMG have 680 model files where geometry light flag set off...

 

full list

 

Without geom light models are realy darked... Like in some places between mountains in

original SA...

Share this post


Link to post
Share on other sites
dertyjerzian

I have been finally trying out the DFF multiobject export, Deniska.

 

I tried both times with NVC off, and the first try I had GEOM LIGHT ticked ON, and second not ticked (with and without GEOM LIGHT). both produced roads like this. Notice how the bottom ones, done one by one with KAMS are darker, see my headlights are on? It is dark outside tounge.gif So, notice the top from the multi dff in your script is very bright. Any help? Did I forget a step not mentioned elsewhere for your script?

 

user posted image

 

EDIT: And if it helps, I turn off MMC and VCol for my road models with kams, and it seems my new replacements for these bright ones are about average 5kb smaller than each of the four originals made with your script*

 

great work though, how can I fix this for future exports and any plans for more robust user panels and features?

Edited by dertyjerzian™

Share this post


Link to post
Share on other sites
Deniska
I have been finally trying out the DFF........

I see probably you dont set NVC (its white)... May be you use VertexPaint just one time..

 

Here example step-by-step with pictures - DOWNLOAD

 

It must help you........ This was writen becose i need prelit in game

exacly as in max, and i have too many objects in my mod and can't export models

one by one (and after reimport and export again and after use RWanalize for each object)

Without good NVC all model looks sucks at night, thats why i working more with NVC...

Look at pictures - all models exported by this script...

 

NIGHT

user posted image

DAY

user posted image

 

NIGHT

user posted image

DAY

user posted image

 

 

If you want less file size - use type2 export... But this case NVC will be not exacly

as in max. But if you dont use additional lights (lamps etc) for NVC then type2 will

give you same result as on you screen bottom...

Share this post


Link to post
Share on other sites
dertyjerzian

I actually did not do any lighting at all on my roads, didnt plan to unless the need arises when I start placing the streetlamps around. I'm going to look at the guide now, perhaps you have just helped me to understand new things. thanks in advance:)

 

EDIT:

 

Next time locO_G and I are in the myriad IRC together, I am going to beg him to help me prelight so that I can actually use your tut tounge.gif I dont know how yet, what was obviously the reason I didnt understand your DFF tool tounge.gif

Edited by dertyjerzian™

Share this post


Link to post
Share on other sites
xmen

hi to all,

guys i have the same problem which someone have above that is when i export my model with deniska script i always got the same error(pict)

user posted image

i tried as Steve-m said and i increase the 'initial heap allocation' to 1000(Mbytes) but i still have same problem

when i increased param2 to 255 then error line change but the same error occured(pict)

user posted image

every incresement in any param gave new error line but error always same

 

anyone know why its happening...??

 

Edited by xmen

Share this post


Link to post
Share on other sites
Jestic

Thanks for the tutorial Deniska, but one question,

 

 

I have preparations of light sources. Merge it to scene.

 

 

 

Now recustomize light sources or merge preparations for night illumination

 

 

What did you do then ?

Share this post


Link to post
Share on other sites
xmen

i found a mistake in this script that is it isnt able to export dff that have more than 10000 faces but kams script can export

i think after some editing it will able to export it too

 

Share this post


Link to post
Share on other sites
Deniska
i found a mistake in this script that is it isnt able to export dff that have more than 10000 faces but kams script can export

i think after some editing it will able to export it too

I dont know why you have this error... Just for test - i create sphere with

150 segments (22200 faces) and it exports OK... But i dont know what

kind of map model have more then 10000 faces... In my mod maximum

what i have - about 5000 faces for buildings or ground...

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

  • 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.