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

Sign in to follow this  
LINK/2012

[SA|REL] Automatic LOD Placing

Recommended Posts

LINK/2012

fu2M7BNs.png NDB48kZs.png

What is it?

Do you know when you install a little map mod but it only shows the map when you are too close to it? Well, it's not the game's fault but the mapper's fault.
This ASI plugin aims to fix those mappers laziness (or newbiness) on-the-fly

At first it was being designed to be part of modloader but I decided to make it a separated plugin.

How does it work?
It's always good to know how something you are using works.
First, it assumes all custom IPL files are at the end of gta.dat (that's the right thing to do always anyway).
Then it builds a lookup table of all objects X lods based on the files that are being placed by the game (probably by original IPL files) and whenever a object has no lod it tries to find a lod for it based on this table.

Download
http://www.gtagarage.com/mods/show.php?id=25452

Share this post


Link to post
Share on other sites
BlackScout

Awesome mod ; ), btw, what hud mod are you using?

Share this post


Link to post
Share on other sites
Rafal22

Hi
Is it possible to rewrite the code so that the LOD was paired with the object according to the list in a text file, eg:

# OBJ LOD
5000, 5003
4500, 5672
... etc

Share this post


Link to post
Share on other sites
LINK/2012
Okay, by using your mod, would this increase FPS? Also, say if you made a mod that loads all the objects at once, would the FPS increase or decrease?

 

Increase

Share this post


Link to post
Share on other sites
eugene89

 

Okay, by using your mod, would this increase FPS? Also, say if you made a mod that loads all the objects at once, would the FPS increase or decrease?

 

Increase

 

do you know of such a mod that can load the whole map?

Share this post


Link to post
Share on other sites
LINK/2012

 

 

Okay, by using your mod, would this increase FPS? Also, say if you made a mod that loads all the objects at once, would the FPS increase or decrease?

 

Increase

 

do you know of such a mod that can load the whole map?

 

http://gtaforums.com/topic/573478-iiivcsa-project-2dfx/

on bonus scripts

Edited by LINK/2012

Share this post


Link to post
Share on other sites
BLlTZ

Can this be used instead of Lod Mod or it functions only for the purpose of adding new maps into the game ?

 

---------

I thought I'm looking wrong, but this was started in January. How I didn't know about this or don't remember.

Edited by BLlTZ

Share this post


Link to post
Share on other sites
LINK/2012

Can this be used instead of Lod Mod or it functions only for the purpose of adding new maps into the game ?

 

---------

I thought I'm looking wrong, but this was started in January. How I didn't know about this or don't remember.

Nope, it just gives LOD to objects without LOD that are supposed to have a LOD.

Mostly like caused by mappers that don't know about LODs or forgot to add them.

Share this post


Link to post
Share on other sites
eugene89

 

 

 

Okay, by using your mod, would this increase FPS? Also, say if you made a mod that loads all the objects at once, would the FPS increase or decrease?

 

Increase

 

do you know of such a mod that can load the whole map?

 

http://gtaforums.com/topic/573478-iiivcsa-project-2dfx/

on bonus scripts

 

Awesome, been searching for that since 2013! Any other mods or fixes you can point me to that would increase fps or gameplay quality?

Edited by maurice96

Share this post


Link to post
Share on other sites
eugene89

YES! :lol::santa::cookie:

 

I can confirm this mod gave me 2-4 FPS! Tried it on a low endand mid range laptop!

Share this post


Link to post
Share on other sites
TJGM

You dropped to 2-4 FPS because of some LOD's.. seriously?

Share this post


Link to post
Share on other sites
Reyks

You dropped to 2-4 FPS because of some LOD's.. seriously?

I think he meant the mod increased his framerate by 2-4 fps.

Share this post


Link to post
Share on other sites
TJGM

 

You dropped to 2-4 FPS because of some LOD's.. seriously?

I think he meant the mod increased his framerate by 2-4 fps.

 

Well that would make no sense since it adds more objects to the map.. maybe it does, who knows.

Share this post


Link to post
Share on other sites
Johnny_D

He used the word GAVE. So it gave him 2-4 FPS. And it probably gave him a boost in frames due to lower models loading now, instead of the high quality models without LODs.

Share this post


Link to post
Share on other sites
TJGM

He used the word GAVE. So it gave him 2-4 FPS. And it probably gave him a boost in frames due to lower models loading now, instead of the high quality models without LODs.

Thanks for pointing that out, its not like didn't mention it already. Oh, and along with that, the high quality model doesn't load outside of the distance of LOD's, so unless he has LOD's up close (won't happen), he shouldn't be getting an FPS boost and a standard San Andreas model wouldn't take 2-4 FPS anyway.

Edited by TJGM

Share this post


Link to post
Share on other sites
Johnny_D

No need for the attitude. I'm an adult, sure you are too, so please, respond and speak in such manner.

 

It doesn't, but that could always be a bug when models aren't allowed LODs (by that I mean unoccupied.) when trying to load through files? If that's indeed not the case, I don't get the FPS boost.

Edited by Johnny_D

Share this post


Link to post
Share on other sites
eugene89

 

 

You dropped to 2-4 FPS because of some LOD's.. seriously?

I think he meant the mod increased his framerate by 2-4 fps.

 

Well that would make no sense since it adds more objects to the map.. maybe it does, who knows.

 

Theres improved performance with mods like 2dfx because on my pc, using 2dfx alone LODs would pop into the screen last minute - ultimately causing sudden drops in fps

Share this post


Link to post
Share on other sites
pep legal

Hey Link...

 

Could you tell me a bit more about this mod ?

 

Cause I'm doing a Vegetation overhaul for San Andreas, by reducing the polycount of those Oblivion tree models. Also I'm creating ultra-low-poly LOD models for every one of those trees.

 

This job doesn't scare me...what really scare me is re-editing all Binary IPLs. :panic:

 

Any tip to make my life easier ? Can Auto-Lod help me on this task ? If not...Do you know any other easy way of linking Model->LOD without touching binary IPLs ?

 

Thanks.

Edited by pep legal

Share this post


Link to post
Share on other sites
LINK/2012

I did a modification on auto-lod some time ago to be more friendly for TC creators

https://dl.dropboxusercontent.com/u/35476123/Sources/Modding/GTA/ASI/LODLinker.zip

It searches for models replacing the LOD in the first three letters of the model name, like Vice City.

i.e. nwsnpedhus1_LAS -> LODnpedhus1_LAS

 

I'm not sure if I'm gonna release it individually but feel free to redist on your mod.

Edited by LINK/2012

Share this post


Link to post
Share on other sites
pep legal

I did a modification on auto-lod some time ago to be more friendly for TC creators

.

.

.

 

 

Thank you for answering...it is very kind of you sharing your little tool.

 

But unfortunately that tool cannnot be applied in my situation (maybe not even the original auto-lod, I think).

 

I'm NOT creating NEW trees or NEW placements for trees. I'm just doing new meshes (dff-files) for vanilla trees...and adding low-poly LODs for those trees.

 

Theoretically, I'm supposed to tweak hundreds of lines in several stream IPLs, changing the last index from "-1" (LOD index), to point to the appropiate low-poly mesh. (also, I have to copy the coordinates and paste them as LOD coordinates).

 

That's the job I'm trying to avoid - ( because touching binary IPLs is very dangerous...and I should change so many lines...and I would conflict with other mods that touch binary IPLs as well )

 

Thanks anyway.

 

 

PS.: fico orgulhoso em ver um brasileiro fazendo parte da ELITE de modders desta fantástica comunidade.

Edited by pep legal

Share this post


Link to post
Share on other sites
LINK/2012

But unfortunately that tool cannnot be applied in my situation (maybe not even the original auto-lod, I think).

 

I'm NOT creating NEW trees or NEW placements for trees. I'm just doing new meshes (dff-files) for vanilla trees...and adding low-poly LODs for those trees.

 

Theoretically, I'm supposed to tweak hundreds of lines in several stream IPLs, changing the last index from "-1" (LOD index), to point to the appropiate low-poly mesh. (also, I have to copy the coordinates and paste them as LOD coordinates).

Yes, that asi will help you into that, you just have to name your low-poly model (in IDEs too ofc) by replacing the first three letters of the non-LOD tree with 'LOD'.

For example, suppose there's a tree named rr_tree78. Now, you just have to name your low-poly tree as LODtree78, register it properly on a IDE, and that's it, no need to modify any LOD.

 

PS.: fico orgulhoso em ver um brasileiro fazendo parte da ELITE de modders desta fantástica comunidade.

Valeu :santa:

Edited by LINK/2012

Share this post


Link to post
Share on other sites
Rafal22

I did a modification on auto-lod some time ago to be more friendly for TC creators

https://dl.dropboxusercontent.com/u/35476123/Sources/Modding/GTA/ASI/LODLinker.zip

It searches for models replacing the LOD in the first three letters of the model name, like Vice City.

i.e. nwsnpedhus1_LAS -> LODnpedhus1_LAS

 

I'm not sure if I'm gonna release it individually but feel free to redist on your mod.

Hi: D

I have a problem with this tool, because my object LOD does not disappear

autolod.jpg

Edited by Rafal22

Share this post


Link to post
Share on other sites
Rafal22

Help someone?

Share this post


Link to post
Share on other sites
Reyks

Hey, first of all I'm sorry for the massive bump, but I'm having the same problem as the guy above ^, basically the LOD model of some objects will show up at the same time as the normal one, and sometimes it has wrong rotation as well.

 

0z9GmgZ.png

 

If someone can tell me how do I enable the LOD models in the IPL files as a temporary fix, I will be very grateful.

Edited by StrafeBolt

Share this post


Link to post
Share on other sites
TJGM

Locked on request. Mod will be shown and discussed in Link's workshop instead.

Edited by TJGM

Share this post


Link to post
Share on other sites
Silent

[23:47:07] LINK 2012: f*ck this mod

Edited by Silent

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

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