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

Sign in to follow this  
Masny

Big improvement to GTA SA damage engine

Recommended Posts

Masny

Hey!

I was browsing YouTube and saw this:

 

 

 

This is very similiar to GTA IV car damage (but in San Andreas Multiplayer)

Many pople ask him to convert this to single player but he never done that.

So, the question is - is this even POSSIBLE to convert this to singleplayer? Or maybe someone done that already?

Share this post


Link to post
Share on other sites
Assasinge

That's interesting. How come mods that work in SA:MP like this, don't work for Singleplayer? I don't play SAMP so I don't know how it operates differently from the base game itself. Perhaps the mod files from the collision files for the damage can be copied over to the singleplayer ones or something?

Share this post


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

I believe you can actually do that with the vehicle model itself.

All cars have 'Damage' versions of their parts. So when you damage something like the door, the model for the door gets replaced by the damaged version of said door. All you'd have to do is take it to the next level.

 

I remember using an enter-able bus mod years back now, and it done the same thing by making the damaged parts cover more of the vehicle, so for example if I smashed the side of the bus, there would be broken windows and dents and all sorts of cool damage models on the side. But the point being, I believe you can do this by modifying the actual vehicle itself so it has those damage effects.

 

I think you'd have to put the damaged parts as a child to the damaged vehicle part. So for example if I wanted to make the whole front of a car have a damage effect like the one in that video, I'd make a 'damage' version of it and link that model to the damage bumper model as a child to it in the hierarchy.

 

I'm not 100% sure on this because it's been a long time since I've actually done it, but hopefully that will give you a good idea on how to achieve these effects for vehicles in GTA SA.

Edited by Recommended

Share this post


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

@up

This is something totally different - this is full real time deformation, not pre deformed parts

Edited by Masny

Share this post


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

Port it is not that simple, MTA works in anther way to GTA SA, in simple words, MTA is a totally different to singleplayer; MTA is based on .LUA codes, scripts and format. If you want to port that modification to singleplayer you have to make a whole new script.

 

In my opinion

was the closer we can get to something like a realistic damage system. Well probably soon we will see new scripts related with that since .LUA scripts are avaible to GTA SA (singleplayer), also Plugin SDK by DK22pac has a great potencial. Edited by Mysterdogg

Share this post


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

MTA developers not just only made their scripting system (which is not the same as what we have in MoonLoader (stop dreaming!), even if both use LUA language), they also made many changes into rendering engine and other things - and with this, for example, custom shaders are pretty easy to make there.

Also, a guy who made this "damage system" is good at physics, he said he spent years learning it at university (so now it's his time to reap the fruits of his hard work :p).

Edited by DK22Pac

Share this post


Link to post
Share on other sites
Masny

Thanks for reply.

 

It clears everything.

 

Cheers!

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  

×

Important Information

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