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

    2. News

    1. Red Dead Redemption 2

      1. News
      2. Red Dead Online
      3. The Armadillo Inn
    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. 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. 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

CoMPMStR

[RELEASE] GTAIV Handling Editor

Recommended Posts

CoMPMStR

user posted image

 

This is a program to simplify the ability of modding the vehicles in GTAIV. Everything is fairly self explanatory. The 'Exclude Comments' box only applies when saving the handling file. If ticked, it will remove all comments from the handling file, saving about 10kb of disk space. Whoopie! confused.gif

 

Each tab in the program is dedicated to a particular set of handling attributes you are able to edit in the file. The tab that may need some explaining is the Import/Export tab. This feature allows you to backup, transfer, or distribute your vehicles' handling and extended data.

 

- The 'Import' and 'Export' buttons allow you to import/export the current vehicle's handling data.

- The 'Batch Import' and 'Batch Export' buttons allow you to import/export multiple vehicles' data from/to a *.bvd file.

- The 'Extended Import' and 'Extended Export' buttons allow you to import/export the current vehicle's extended data.

- The 'Batch' buttons next to the 'Extended Import' and 'Extended Export' buttons allow you to import/export multiple vehicles' extended data from/to a *.evd file.

 

When importing vehicle data, you are given the option to replace any vehicle in the import file. This doesn't affect the actual file. If you are importing standard handling data (mass, damage, etc) you can replace any vehicle with any other, but if you are importing extended vehicle data, you are only allowed to replace vehicles with another of its type.

 

 

The Misc tab contains a few different editors available for use:

 

- First is the model/handling flags editor. This is a GUI which allows you to select which flags you want enabled for the selected vehicle. It automatically calculates the flag value, all you have to do is pick which flags to enabled or disable.

 

- Second is the extended data editor for bikes, boats, and planes. This is vehicle specific data so the button will only be available for these vehicle classes.

 

- Third is the animation group editor. It is NOT recommended to change anything in here unless you know exactly what you are editing.

 

NEW in v1.2: The Misc tab now contains a section to set a certain vehicle property to a value for all vehicles. This will allow you to set all vehicles' Monetary Value to 999999 without doing it 1 by 1. biggrin.gif

 

NEW in v1.3: The vehicle name for the selected vehicle will be displayed at the top right of the program, to allow for easier detection of vehicles when editing. Also fixed some minor bugs.

 

NEW in v1.4: As from request, Set All (which is located in the Misc tab) now contains some new features. You are now able to choose which vehicle type (cars, bikes, boats, helis, or all) to set the selected attribute. You can now also choose whether to increase or decrease the attribute from the value, along with setting the attribute equal to the value. Since the handling and model flags are hex values, you can ONLY set those attributes equal to the value.

 

 

IMPORTANT: If you attempt to import handling data to the current vehicle, the Vehicle ID must remain unchanged and the handling string must be in the same format as in the handling.dat file.

 

 

You will need the Microsoft .NET Framework v3.5 installed in order for this program to run at all.

http://www.microsoft.com/downloads/details...19-81da479ab0d7

 

 

 

Download:

http://www.sendspace.com/file/lxnalm

Edited by CoMPMStR

Share this post


Link to post
Share on other sites
aru

Very nice work! Keep it up!

 

Oh and welcome to GTAForums smile.gif

Share this post


Link to post
Share on other sites
evilrex

Nice work smile.gif

cookie.gifcookie.gifcookie.gif

Share this post


Link to post
Share on other sites
FunGt

Awesome tool, but I think there is a problem with decimal numbers. If you check the velocity the tool writes the number without the . (dot). Example Blista velocity is 150.0, but the tool says 1500. I think you should fix it. Btw very nice tool.

Share this post


Link to post
Share on other sites
user21043

Don't work for me ((((((

Share this post


Link to post
Share on other sites
CoMPMStR

 

Awesome tool, but I think there is a problem with decimal numbers. If you check the velocity the tool writes the number without the . (dot). Example Blista velocity is 150.0, but the tool says 1500. I think you should fix it. Btw very nice tool.

The .0 on the decimals doesn't matter either way. Now if it was 150.5 and it said 150, then there'd be something to worry about. biggrin.gif I think you made a typo, you said the tool says 1500, I think you meant 150. tounge2.gif

 

 

If there's anything you all think would make it better, let me know. I'm open to new suggestions.

Share this post


Link to post
Share on other sites
FunGt
Awesome tool, but I think there is a problem with decimal numbers. If you check the velocity the tool writes the number without the . (dot). Example Blista velocity is 150.0, but the tool says 1500. I think you should fix it. Btw very nice tool.

The .0 on the decimals doesn't matter either way. Now if it was 150.5 and it said 150, then there'd be something to worry about. biggrin.gif I think you made a typo, you said the tool says 1500, I think you meant 150. tounge2.gif

 

 

If there's anything you all think would make it better, let me know. I'm open to new suggestions.

I didn't write wrong before. The tool says 1500 and it should be 150.

Screen

Share this post


Link to post
Share on other sites
user21043

user posted image

WHY ????

Share this post


Link to post
Share on other sites
CoMPMStR

 

Awesome tool, but I think there is a problem with decimal numbers. If you check the velocity the tool writes the number without the . (dot). Example Blista velocity is 150.0, but the tool says 1500. I think you should fix it. Btw very nice tool.

The .0 on the decimals doesn't matter either way. Now if it was 150.5 and it said 150, then there'd be something to worry about. biggrin.gif I think you made a typo, you said the tool says 1500, I think you meant 150. tounge2.gif

 

 

If there's anything you all think would make it better, let me know. I'm open to new suggestions.

I didn't write wrong before. The tool says 1500 and it should be 150.

Screen

Are all the vehicles doing that? What does that line in the handling.dat file look like? I don't understand why it's doing that because I convert all the text decimal numbers to floats (singles since its VB) before entering them into the textbox. I do it this way so people can't "accidentally" enter in non-numeric values.

 

 

 

user posted image

WHY ????

The only thing I can think of to get that error is not opening the correct file. When I open the handling.dat file it doesn't give me that error. Is your handling.dat file corrupt?

Edited by CoMPMStR

Share this post


Link to post
Share on other sites
SLAYERMAGGOT

Useful Tool icon14.gif

Share this post


Link to post
Share on other sites
bbmanonline

That's a very powerful and user-friendly tool

 

If I want to stop my car by "s" faster,

Whichs figures should I need to change?

To increase the breaking force?

Share this post


Link to post
Share on other sites
Fabio206

That error could due to "Only read option actived" maybe?

 

edit: omg all values with .0 has ben multiplied x10

so 150.0 = 1500

mass: 1700.0 = 17000

etc.

 

 

same problem of FunGT in all handling lines..

 

 

Sry for my bad english biggrin.gif

Edited by Fabio206

Share this post


Link to post
Share on other sites
Vincent77

Same bug here, he dont want to open the file, original or not, i have microsoft .net 3.5, the file is not in Read only

Share this post


Link to post
Share on other sites
Lexan

 

turn.gif Yes we do have the same error, only on the Russian versions of windows vista - many people sarcasm.gif

Share this post


Link to post
Share on other sites
FunGt

 

Are all the vehicles doing that? What does that line in the handling.dat file look like? I don't understand why it's doing that because I convert all the text decimal numbers to floats (singles since its VB) before entering them into the textbox. I do it this way so people can't "accidentally" enter in non-numeric values.

The only thing I can think of to get that error is not opening the correct file. When I open the handling.dat file it doesn't give me that error. Is your handling.dat file corrupt?

Yes all vehicles. Don't you see it too? Fabio206 detected it too.

Share this post


Link to post
Share on other sites
CoMPMStR

 

That's a very powerful and user-friendly tool

 

If I want to stop my car by "s" faster,

Whichs figures should I need to change?

To increase the breaking force?

You would need to change break force and maybe modify traction so your vehicle actually stops instead of sliding.

 

 

Are all the vehicles doing that? What does that line in the handling.dat file look like? I don't understand why it's doing that because I convert all the text decimal numbers to floats (singles since its VB) before entering them into the textbox. I do it this way so people can't "accidentally" enter in non-numeric values.

The only thing I can think of to get that error is not opening the correct file. When I open the handling.dat file it doesn't give me that error. Is your handling.dat file corrupt?

Yes all vehicles. Don't you see it too? Fabio206 detected it too.

When I load it, all the values show fine for me, decimals and all. I see 150 and not 1500 so thats why I'm asking questions. I'm running WinXP Pro sp3 x32.

 

 

Maybe the loading bug is due to loading the text in ASCII and not Unicode? I will set an option to see if it helps or not.

 

 

Edited by CoMPMStR

Share this post


Link to post
Share on other sites
Fabio206

I think our .txt is in ANSI and not Unicode, maybe that's the problem..

I've WinXP Pro sp3 x32 too

 

edit: I tried to open the file in "read only"

the tool open the file but doesnt' save it, showing an error

Edited by Fabio206

Share this post


Link to post
Share on other sites
aru

In some regional settings (usually European), 150.0 would be represented as "150,0" using a comma instead of a period. If you're converting it to a Single, try something like this (I'm assuming thats VB.net you're using):

 

 

Dim nfi As NumberFormatInfo = New CultureInfo("en-US", False).NumberFormatDim floatValue as Single = Single.Parse(valueFromFile, nfi)

 

 

That will force it to use the "." as the decimal character.

 

A good way to test this would be to go to Control Panel and change your regional settings to something that has "," as the decimal character smile.gif

Share this post


Link to post
Share on other sites
user21043

 

Awesome tool, but I think there is a problem with decimal numbers. If you check the velocity the tool writes the number without the . (dot). Example Blista velocity is 150.0, but the tool says 1500. I think you should fix it. Btw very nice tool.

The .0 on the decimals doesn't matter either way. Now if it was 150.5 and it said 150, then there'd be something to worry about. biggrin.gif I think you made a typo, you said the tool says 1500, I think you meant 150. tounge2.gif

 

 

If there's anything you all think would make it better, let me know. I'm open to new suggestions.

I didn't write wrong before. The tool says 1500 and it should be 150.

Screen

Are all the vehicles doing that? What does that line in the handling.dat file look like? I don't understand why it's doing that because I convert all the text decimal numbers to floats (singles since its VB) before entering them into the textbox. I do it this way so people can't "accidentally" enter in non-numeric values.

 

 

 

user posted image

WHY ????

The only thing I can think of to get that error is not opening the correct file. When I open the handling.dat file it doesn't give me that error. Is your handling.dat file corrupt?

Please give me you handling.dat my don't work ((

P.S. Sorry for my bad English

Edited by user21043

Share this post


Link to post
Share on other sites
CoMPMStR

 

In some regional settings (usually European), 150.0 would be represented as "150,0" using a comma instead of a period. If you're converting it to a Single, try something like this (I'm assuming thats VB.net you're using):

 

 

Dim nfi As NumberFormatInfo = New CultureInfo("en-US", False).NumberFormatDim floatValue as Single = Single.Parse(valueFromFile, nfi)

 

 

That will force it to use the "." as the decimal character.

 

A good way to test this would be to go to Control Panel and change your regional settings to something that has "," as the decimal character smile.gif

I'm glad you brought that up. I wasn't using any NumberFormatInfo object, rather I was just using CSng(value). I'll change it in time.

 

For now, I've changed it to work with just strings, no more casting values to single and integer. Let's see if they show properly now. I've also added an option to choose Unicode or not. I don't know if this will fix the loading bug. If not, I will change it to Default instead of ASCII or Unicode and see if that helps any. The link up top has been updated.

Share this post


Link to post
Share on other sites
Fabio206
In some regional settings (usually European), 150.0 would be represented as "150,0" using a comma instead of a period. If you're converting it to a Single, try something like this (I'm assuming thats VB.net you're using):

 

 

Dim nfi As NumberFormatInfo = New CultureInfo("en-US", False).NumberFormatDim floatValue as Single = Single.Parse(valueFromFile, nfi)

 

 

That will force it to use the "." as the decimal character.

 

A good way to test this would be to go to Control Panel and change your regional settings to something that has "," as the decimal character smile.gif

I'm glad you brought that up. I wasn't using any NumberFormatInfo object, rather I was just using CSng(value). I'll change it in time.

 

For now, I've changed it to work with just strings, no more casting values to single and integer. Let's see if they show properly now. I've also added an option to choose Unicode or not. I don't know if this will fix the loading bug. If not, I will change it to Default instead of ASCII or Unicode and see if that helps any. The link up top has been updated.

Sh*t, it works when I load the file (it shows .0 values), but when I put 1800.0 in ADMIRAL's mass and save,

the handling.dat shows: ADMIRAL 18000

 

 

N.B. The file must be "Read only" off, or the tool doesn't load it

 

 

 

Sorry for my bad english smile.gif

Share this post


Link to post
Share on other sites
CoMPMStR

Ok, to Fabio and FunGT you should be good to go now. I missed a function that was still using CSng() so I had to fix that. Now it should work for you with no problems.

 

I changed the handling loading function a bit. It doesn't use any specific text encoding other than Default. I hope this fixes the problem for those of you with the Russian Vista.

 

I also added a new feature in the Misc tab. It allows you to set a certain vehicle property to a value for all vehicles. This will allow you to set all vehicles' Monetary Value to 999999 without doing it 1 by 1. biggrin.gif

 

The link has been updated once again.

Share this post


Link to post
Share on other sites
Fabio206
Ok, to Fabio and FunGT you should be good to go now. I missed a function that was still using CSng() so I had to fix that. Now it should work for you with no problems.

 

I changed the handling loading function a bit. It doesn't use any specific text encoding other than Default. I hope this fixes the problem for those of you with the Russian Vista.

 

I also added a new feature in the Misc tab. It allows you to set a certain vehicle property to a value for all vehicles. This will allow you to set all vehicles' Monetary Value to 999999 without doing it 1 by 1. biggrin.gif

 

The link has been updated once again.

Great, it works, very nice work cookie.gifcookie.gificon14.gif

 

 

Share this post


Link to post
Share on other sites
FunGt

Now it works perfect. icon14.gif

 

Mirrored

 

Share this post


Link to post
Share on other sites
L0uNGeR

Nice one, I'm actually working on an editor myself, with the same name, ugh tounge2.gif

Edited by L0uNGeR

Share this post


Link to post
Share on other sites
yeahsine

Wonderful job.

But can you explain me How can I get a powerful brake without sliding 200m biggrin.gif ?

I tried to modify traction, but 'don't know WHAT to modify smile.gif

Share this post


Link to post
Share on other sites
Vincent77

Thank you, the new version work for me.

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.