Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

Happy Holidays from the GTANet team!

Adding used LOD's


bujo
 Share

Recommended Posts

I am making new island.I use map editor,mostly.

Created new ipl for it.

It's made from models that are already in game.

I was planing to make lod for it also but i encountered very anoying problem.

Whenever i put lod models (solid models work perfect) game crash.

I tried all ways.

Copied original "ipl" lines of wanted lod's to my ipl and changed coords manualy.

I tried doing it with map editor also but nothing.

Even tried to put it in same ipl as original lines but nothing.

It seems that when i put already used lod's in game it crashes.

Funny thing is,map editor shows it OK but Steve's Map Viewer isn't.

I just want to eliminate posibilities like incorect ipl lines or something with gta.dat.

Everything work fine until i add lod's.

I noticed that most of new maps released on net don't have lod's.

Is there somekind of limit or something.

I really don't want to make lod myself.

THanks in advance.

Link to comment
Share on other sites

There are limits but whatever GTA you're playing, this shouldn't be a problem since you are using already made objects that are in game. Are you making a collision file for the LOD?

Link to comment
Share on other sites

I'm playing San Andreas.

Why should i make collision? dontgetit.gif

I know i must make it for new object,LOD or not it must have collision.

Although collision for lod is not same as for solid object,right?

I tried even with fresh instalation,still crashes.

How many,already in game (not custom) objects i can add in

unmodified game before it crashes?(right after instalation)

Is there a limit?

 

Here's my code

 

# IPL generated from Max file LAw2.maxinst17361, lodc*ntw04, 0, 204.94, -2748.3, 0.4898, 0, 0, -0.947399, -0.320056, -117362, lodc*ntw05, 0, 144.807, -2378.36, -47.415, 0, 0, 0.00973901, 0.999953, -117363, lodc*ntw06, 0, 493.97, -2696.28, -5.0478, 0, 0, 0, 1, -117364, lodc*ntw07, 0, 476.695, -2461.13, -12, 0, 0, -0.999661, 0.026027, -117365, lodc*ntw08, 0, 569.671, -2208.5, -92.7658, 0, 0, 0.707106, 0.707107, -117366, lodc*ntw09, 0, 810.781, -2383.52, -14.961, 0, 0, 0.231706, 0.972786, -117367, lodc*ntw10, 0, 718.656, -2744.36, -14.7778, 0, 0, -0.992449, 0.122654, -1end

 

So if anyone can look at it or even try,see if i went wrong somewhere.

I'm really curious.

It's mistery to me.

Working in map editor and not working in game.

Edited by bujo
Link to comment
Share on other sites

I fixed it in very weird way

I put lods one by one.

Put one-start game,put second-start game and so on.

I woder why it worked that way?

But now lods don't dissaper,always present.

I didn't touch their ide lines at all.

I give up on this,gonna make it myself. mad.gif

Link to comment
Share on other sites

here is an example of "working" ipl code from the MI+GTI SA package.

 

inst

2000, gtiA_01, 0, 1570.01, 2229.0, 6.0, 0.0, 0.0, 0.0, 1.0, 1

3077, gtiA_01_lod, 0, 1570.01, 2229.0, 6.0, 0.0, 0.0, 0.0, 1.0, -1

2005, gtiA_02, 0, 1535.01, 2149.0, 6.0, 0.0, 0.0, 0.0, 1.0, 3

3078, gtiA_02_lod, 0, 1535.01, 2149.0, 6.0, 0.0, 0.0, 0.0, 1.0, -1

2010, gtiA_03, 0, 1610.01, 2139.0, 6.0, 0.0, 0.0, 0.0, 1.0, 5

3079, gtiA_03_lod, 0, 1610.01, 2139.0, 6.0, 0.0, 0.0, 0.0, 1.0, -1

2015, gtiA_04, 0, 1530.01, 2084.0, 6.0, 0.0, 0.0, 0.0, 1.0, 7

3080, gtiA_04_lod, 0, 1530.01, 2084.0, 6.0, 0.0, 0.0, 0.0, 1.0, -1

2020, gtiA_05, 0, 1610.01, 2069.0, 6.0, 0.0, 0.0, 0.0, 1.0, 9

3081, gtiA_05_lod, 0, 1610.01, 2069.0, 6.0, 0.0, 0.0, 0.0, 1.0, -1

2025, gtiA_06, 0, 1535.01, 2024.0, 6.0, 0.0, 0.0, 0.0, 1.0, 11

3082, gtiA_06_lod, 0, 1535.01, 2024.0, 6.0, 0.0, 0.0, 0.0, 1.0, -1

2030, gtiA_07, 0, 1530.01, 1969.0, 6.0, 0.0, 0.0, 0.0, 1.0, 13

3083, gtiA_07_lod, 0, 1530.01, 1969.0, 6.0, 0.0, 0.0, 0.0, 1.0, -1

2035, gtiA_08, 0, 1610.01, 1989.0, 6.0, 0.0, 0.0, 0.0, 1.0, 15

 

end

 

pay particular attention to the flag numbering at the end of each alternate ipl line and notice there is a numbering system that works as follows 1,3,5,7,9,11,13 ..........e.t.c.

 

now your lods should not only work but they will also dissappear wink.gif

 

 

good luck

Link to comment
Share on other sites

Yes (to my knowledge) the LOD needs a collision, and you are correct it is not the same as the regular collision. Use Collision Editor II and just use the "Copy as LOD" function when you right click.

 

The limit on San Andreas is 5 new objects, anything after that will make the game crash.

Link to comment
Share on other sites

I know about 5+ limit,i hate it. angry.gif

Only posible way to add more object is to delete existing one's,right?

So i must delete not important objects,delete their ide and ipl lines.

But,i can't find most of objects ipl lines (it's like they aren't stored where they should be).

Example:

I open Law2.ipl with map editor and delete lighthouse and save.

Only modified file after that action is Law2.ipl.

And it works OK until reinstal.

I backup modified Law2.ipl (and whole maps folder) and replace original files with it but lighthouse model is there.

Lod of lighthouse isn't.

I tried searching manualy and couldn't find lighthouse ipl line.

I'm confused.

And ,is there list of objects that can be removed without consequences to game?

 

Link to comment
Share on other sites

San Andreas does not use collision's for LOD's in the colfile, the LOD model shares the main model colfile.

 

THE PROBLEM HAS NOTHING TO DO WITH COLFILES

Link to comment
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
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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