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

MeatSafeMurderer

[WIP|BETA]2x Object Draw Distance

Recommended Posts

BLlTZ

Okay, I got back, however it didn't end up how I wanted to because then I realize that it's missing something. My idea was simple. If through STREAM.IPL I have to make 6500+ LOD trees and set their coordinates, why to not try out through cleo method instead. The tree is spawning alright, but then I realize that I have to set the draw distance to 600.

 

ThirteenAG, is there any possibility to add draw distance to the script you made, if there are any opcodes for that ? It doesn't matter if this doesn't make any sense, but all it have to do is to be there and make this tree having his draw distance to 600 or 800. :-?

 

I hope, I'm not giving you hard time.

Share this post


Link to post
Share on other sites
ThirteenAG
Okay, I got back, however it didn't end up how I wanted to because then I realize that it's missing something. My idea was simple. If through STREAM.IPL I have to make 6500+ LOD trees and set their coordinates, why to not try out through cleo method instead. The tree is spawning alright, but then I realize that I have to set the draw distance to 600.

 

ThirteenAG, is there any possibility to add draw distance to the script you made, if there are any opcodes for that ? It doesn't matter if this doesn't make any sense, but all it have to do is to be there and make this tree having his draw distance to 600 or 800. :-?

 

I hope, I'm not giving you hard time.

I don't know. But spawning so many objects through cleo sounds like a bad idea.

Share this post


Link to post
Share on other sites
SilverRST
Okay, I got back, however it didn't end up how I wanted to because then I realize that it's missing something. My idea was simple. If through STREAM.IPL I have to make 6500+ LOD trees and set their coordinates, why to not try out through cleo method instead. The tree is spawning alright, but then I realize that I have to set the draw distance to 600.

 

ThirteenAG, is there any possibility to add draw distance to the script you made, if there are any opcodes for that ? It doesn't matter if this doesn't make any sense, but all it have to do is to be there and make this tree having his draw distance to 600 or 800. :-?

 

I hope, I'm not giving you hard time.

I don't know. But spawning so many objects through cleo sounds like a bad idea.

It would take forever to do that.

Share this post


Link to post
Share on other sites
BLlTZ

I also know that SilverRST, it will kill my me big time. Yes, I did considered that as well ThirteenAG, but for me is only a test for one object to see his result.

Edited by -BLITZ-

Share this post


Link to post
Share on other sites
SilverRST

 

I also know that SilverRST, it will kill my me big time. Yes, I did considered that as well ThirteenAG, but for me is only a test for one object to see his result.

Yes indeed. Copying and paste the coordinates is a pain in the butt.

And GTA SA has 100.000s of coordinates and trees all placed over the map and most

of users here have custom trees modpacks. It would differ very much.

It's just too much to sit all day and copy+paste the coordinates and also copy+paste the opcodes in cleo.

Edited by SilverRST

Share this post


Link to post
Share on other sites
Ivey

This might be a bit much request wise but I noticed that the IDE_DD_Tweaker posted above crashes my SAMP almost immediately when you set the multiplier to 2 or above. Wondering if there could be a fix for that.

 

c:

Share this post


Link to post
Share on other sites
Gramps

Don't play SAMP then blush.gif

Share this post


Link to post
Share on other sites
SilverRST
Don't play SAMP then blush.gif

What he said.

 

I don't see the point in using the DD Tweaker for SAMP as you

only mostly focus on other players.

And the ping also playsa factor in perfroamce. (I could be wrong)

Share this post


Link to post
Share on other sites
Ivey
Don't play SAMP then  blush.gif

What he said.

 

I don't see the point in using the DD Tweaker for SAMP as you

only mostly focus on other players.

And the ping also playsa factor in perfroamce. (I could be wrong)

True you may focus on players more than anything else, however I've spent countless hours already modding my game to be compatible with samp. I saw that the tweaker was able to show a larger range of objects in the distance and I was super excited until I saw that it crashed.

Share this post


Link to post
Share on other sites
SilverRST
Don't play SAMP then  blush.gif

What he said.

 

I don't see the point in using the DD Tweaker for SAMP as you

only mostly focus on other players.

And the ping also playsa factor in perfroamce. (I could be wrong)

True you may focus on players more than anything else, however I've spent countless hours already modding my game to be compatible with samp. I saw that the tweaker was able to show a larger range of objects in the distance and I was super excited until I saw that it crashed.

Yeah, when I tried SAMP, I only was focused on other players and it was kind of a derby match.

Make sure to push the other players off a bridge etc.

Singe player, yes, then the DD really needs to be tweaked because it's too annoying

to see the HQ trees popping out when driving within their distance.

Those objects needs to be loaded before you can see them popping out.

Share this post


Link to post
Share on other sites
ThirteenAG

 

This might be a bit much request wise but I noticed that the IDE_DD_Tweaker posted above crashes my SAMP almost immediately when you set the multiplier to 2 or above. Wondering if there could be a fix for that.

 

c:

No idea, samp may change a ton of code in the functions i patch.

Share this post


Link to post
Share on other sites
Gramps
It shouldn't do anything with holes, i think.

 

Thats weird .. Because even starting a new-game on default/vanilla game, i get holes around LS Airport, Harbour, and Skyscrapers ..

Using the latest version, starting a new game, there are no holes .. but get weird alpha bugs on trees.

Share this post


Link to post
Share on other sites
Cam

 

This might be a bit much request wise but I noticed that the IDE_DD_Tweaker posted above crashes my SAMP almost immediately when you set the multiplier to 2 or above. Wondering if there could be a fix for that.

 

c:

Really? What's the crash address? I can run this perfectly fine with SA:MP. Here are a couple of screen shots: Screen 1 Screen 2

 

I have to lower the multiplier from 3 to 2-2.5 or so to reduce some weird'ness, but as you can see, my game is heavily modded so I suspect it's not as a direct result of ThirteenAG's mod alone, but others as well... The only strange side effect I get from time to time are some alpha issues in the trees (maybe the game's alpha pool needs increased?). Otherwise stability is great, even with TOBJs being patched (I have not tested SP though).

 

Great work on the mod though ThirteenAG. Most impressive! icon14.gif

Edited by Cam

Share this post


Link to post
Share on other sites
Ivey
This might be a bit much request wise but I noticed that the IDE_DD_Tweaker posted above crashes my SAMP almost immediately when you set the multiplier to 2 or above. Wondering if there could be a fix for that.

 

c:

Really? What's the crash address? I can run this perfectly fine with SA:MP. Here are a couple of screen shots: Screen 1 Screen 2

 

I have to lower the multiplier from 3 to 2-2.5 or so to reduce some weird'ness, but as you can see, my game is heavily modded so I suspect it's not as a direct result of ThirteenAG's mod alone, but others as well... The only strange side effect I get from time to time are some alpha issues in the trees (maybe the game's alpha pool needs increased?). Otherwise stability is great, even with TOBJs being patched (I have not tested SP though).

 

Great work on the mod though ThirteenAG. Most impressive! icon14.gif

Weird. I did a little more research but I found that it has to do with: patch_lod_distance.

 

When I set this to 1 it crashes the game.

 

Here's the exception screenshot:

user posted image

 

Here's the full text:

 

SA-MP 0.3x-R1-2Exception At Address: 0x00553927Base: 0x04110000Registers:EAX: 0x04BCFEC8	EBX: 0x00000000	ECX: 0x00000000	EDX: 0x0085BBF0ESI: 0x00000074	EDI: 0x0000001A	EBP: 0x76C23524	ESP: 0x0028FD8CEFLAGS: 0x00010297Stack:+0000: 0x0000001A   0x00000001   0x00000000   0x0053EA03+0010: 0x44700000   0x44070000   0x0053ECC2   0x00000001+0020: 0x00619B71   0x0000001A   0x00000001   0x00000001+0030: 0x0000000A   0x00748DA0   0x0000001A   0x00000001+0040: 0x758C4BC4   0x00000000   0x0028FF84   0x7FFDE000+0050: 0x01710000   0x4D8E0038   0x01710EC8   0x00000008+0060: 0x00000100   0x00000008   0x00000102   0x44700000+0070: 0x44070000   0x00000000   0x00000000   0x00000780+0080: 0x00000438   0x00000000   0x00000001   0x0005042A+0090: 0x00000200   0x00000000   0x021C03C0   0x01B36D4B+00A0: 0x000003C0   0x0000021C   0x0000002C   0x0028FE28+00B0: 0x00825EA4   0x0028FF74   0x00825EA4   0x758C4BC4+00C0: 0x7FFDE000   0x00821D17   0x00000065   0x00000065+00D0: 0x0028FF84   0x008246F1   0x00400000   0x00000000+00E0: 0x01AC28ED   0x0000000A   0x00000094   0x00000006+00F0: 0x00000002   0x000023F0   0x00000002   0x00000000+0100: 0x00000000   0x00000000   0x00000000   0x00000000+0110: 0x00000000   0x00000000   0x00000000   0x00000000+0120: 0x00000000   0x00000000   0x00000000   0x00000000+0130: 0x00000000   0x00000000   0x00000000   0x00000000+0140: 0x00000000   0x00000000   0x00000000   0x00000000+0150: 0x00000000   0x00000000   0x00000000   0x00000000+0160: 0x00000000   0x00000000   0x00000000   0x00000000+0170: 0x00000000   0x00000000   0x00824588   0x00000000+0180: 0x00000000   0x7FFDE000   0xC0000005   0x00000000+0190: 0x01AC28ED   0x00000044   0x01AD3860   0x01AD3CB0+01A0: 0x01AD3D80   0x00000000   0x00000000   0x00000000+01B0: 0x00000000   0x00000000   0x00000000   0x00000000+01C0: 0x00000000   0x00000000   0x00000000   0xFFFFFFFF+01D0: 0xFFFFFFFF   0xFFFFFFFF   0x00000000   0x00000000+01E0: 0x0028FE74   0x0028F948   0x0028FFC4   0x00825EA4+01F0: 0x00888078   0x00000000   0x0028FF90   0x758C8543+0200: 0x7FFDE000   0x0028FFD4   0x77CFAC69   0x7FFDE000+0210: 0xAA273C72   0x00000000   0x00000000   0x7FFDE000+0220: 0x069090EF   0xFFFFF801   0x00000000   0x00000000+0230: 0x0028FF9C   0x00000000   0x0028FFE4   0x77D835F2+0240: 0xDDC12BA6   0x00000000   0x0028FFEC   0x77CFAC3C+0250: 0x00824570   0x7FFDE000   0xFFFFFFFF   0x77D71D86+0260: 0x00000000   0x00000000   0x00824570   0x7FFDE000+0270: 0x00000000   0x78746341   0x00000020   0x00000001SCM Op: 0x160, lDbg: 0 LastRendObj: 4227Game Version: US 1.0State Information: Ped Context: 0

 

Share this post


Link to post
Share on other sites
Cam

RE-EDIT:

 

@ ThirteenAG, not sure if it's intended functionality or a bug, but setting all_dist_multiplier to a value under 2.0 (like 1.5 for example) does not seem to have any effect.

Edited by Cam

Share this post


Link to post
Share on other sites
herons2s2

news?

Share this post


Link to post
Share on other sites
Gramps

Not that I have heard ..

 

I see dingleman has made a mod similar for III here : http://www.gtaforums.com/index.php?showtopic=558110

 

I'm not that familiar with modding III, but I notice that he managed to make the light coronas appear from further away in the .ide file under the 2DFX section.

I see in the 'generic' folder in SA, the .ide files have a 2DFX section at the bottom; but they are all empty?

 

All this mod is missing, is light corona's appearing from further away, and to fix the holes in the map icon14.gif

Share this post


Link to post
Share on other sites
Dingleman
Not that I have heard ..

 

I see dingleman has made a mod similar for III here : http://www.gtaforums.com/index.php?showtopic=558110

 

I'm not that familiar with modding III, but I notice that he managed to make the light coronas appear from further away in the .ide file under the 2DFX section.

I see in the 'generic' folder in SA, the .ide files have a 2DFX section at the bottom; but they are all empty?

 

All this mod is missing, is light corona's appearing from further away, and to fix the holes in the map icon14.gif

San Andreas is tricky. 2DFX's are handled by the DFF files of the objects they work with. Here's a tutorial I used when adding lights to SA:LC.

 

http://www.gtaforums.com/index.php?showtopic=525891

Share this post


Link to post
Share on other sites
MeatSafeMurderer

There has been no news because ThirteenAG came up with a much better solution, so I just left it for now and allowed him to use this thread...he may or may not be working on it still...if he is he may well have his own thread by now, I don't know, as I've not looked

The grass DD is hardcoded, most likely as is the draw distance of the 2dfx themselves, as I saw nothing about such things in the tut, and although there are 2dfx sections in the IDE files each and every one is empty. Unfortunately my knowledge on memory hacking is currently very limited, it is something I would like to learn to do though, so you never know smile.gif

Edited by MeatSafeMurderer

Share this post


Link to post
Share on other sites
_G-MAN_

Bump! I want to download this but link is dead :/ Is it working for SA-MP 0.3.7?

Edited by _G-MAN_

Share this post


Link to post
Share on other sites
Marty McFly

Bump of doom.

Also, this is outdated as hell. Why do you SAMP people live in caves??

Share this post


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

×

Important Information

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