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

guru_guru

Better Skybox

Recommended Posts

guru_guru

Timecyc changes between weathers really often sometimes (sunny to exsunny to sunny to exsunny...). It would look really weird to change between textures every hour.

 

Most skybox textures I found had a bit of noise,so there's nothing much to do about it ¯\_(ツ)_/¯.

Share this post


Link to post
Share on other sites
powerofpencil

 

 

Can you please help me? It doesn't show any clouds.

 

soog9z.png

Share this post


Link to post
Share on other sites
Xenavi

why this skybox don't work for me? i have cleo, newopcodes, modloader, project (sa-mp)

i get only vanila clouds

Edited by Xenavi

Share this post


Link to post
Share on other sites
guru_guru

project (sa-mp)

That's your problem.

Still,check the OP and see if it works the new version.If not,well,too bad :)

 

Also,new and more decent OP and a small fix to the script.

Share this post


Link to post
Share on other sites
Junior_Djjr

MoonLoader doesn't have function to check if is in SA-MP?

If not:

  • Load "kernel32" library;
  • Get "GetModuleHandleA" procedure;
  • Call it sending "SAMP.dll";
  • Check the return value.

So you can have both SAMP and non-SAMP versions installed at the same time, even using the same .lua file.

Edited by Junior_Djjr

Share this post


Link to post
Share on other sites
boludoz

Que impresionante compa, que bien programado.

Share this post


Link to post
Share on other sites
guru_guru

MoonLoader doesn't have function to check if is in SA-MP?

 

If not:

  • Load "kernel32" library;
  • Get "GetModuleHandleA" procedure;
  • Call it sending "SAMP.dll";
  • Check the return value.

So you can have both SAMP and non-SAMP versions installed at the same time, even using the same .lua file.

 

idk why i didn't think of this before,thanks.

 

 

Que impresionante compa, que bien programado.

 

No es taan impresionante realmente.Si le das una ojeada al código te darás cuenta

 

 

 

New update with a few vital fixes,pls redownload

Edited by guru_guru

Share this post


Link to post
Share on other sites
Junior_Djjr

As reported in comments, the object collision was not disabled... A guy said there is an "invisible wall" bellow the plane. (on SAMP, at least)

I recommend to disable the collision to each frame to force it.

 

You noped 0x53DCA2 twice (nothing important...)

 

As you know, BS also disables the moon (NOPs at 0x53DCA2 and 0x53DFA0). To disable just the stars and keep the moon (and some other things?), instead of this, just write "0" (byte) in:

0x713F1A - so will render "0" stars, but it's a "do-while" loop, then will keep 1 star, so 0x713EE7 - and there is a special star, so we need also 0x713FED.

 

Then you have the moon without stars with a simple way without patching at all :p

Share this post


Link to post
Share on other sites
guru_guru

As reported in comments, the object collision was not disabled... A guy said there is an "invisible wall" bellow the plane. (on SAMP, at least)

I recommend to disable the collision to each frame to force it.

 

that's weird.

but i don't feel like doing that just for this one dude.

Edited by guru_guru

Share this post


Link to post
Share on other sites
Junior_Djjr

 

As reported in comments, the object collision was not disabled... A guy said there is an "invisible wall" bellow the plane. (on SAMP, at least)

I recommend to disable the collision to each frame to force it.

 

that's weird.

but i don't feel like doing that just for this one dude.

 

It is difficult to know how many other people go through this problem, still seeing that for laypeople an invisible wall has nothing to do with a sky, so they would be confused without knowing which mod is doing it and will not report, besides dependent from the sky, there are large and small collisions, some collisions should not be noticed, confusing even more.

 

I think you could do this for some upcoming update, even more that set on each frame there is absolutely no performance effect, all this opcode does is apply a flag on the object, just a bitwise, an extremely simple and fast operation that fixes a bug, even if it's rare.

Share this post


Link to post
Share on other sites
WeedSR

 

As reported in comments, the object collision was not disabled... A guy said there is an "invisible wall" bellow the plane. (on SAMP, at least)

I recommend to disable the collision to each frame to force it.

 

that's weird.

but i don't feel like doing that just for this one dude.

 

I can confirm this bug too.

Share this post


Link to post
Share on other sites
Elissay

I dont wana look stupid but how do i install the mod ?

Share this post


Link to post
Share on other sites
LaDiDa

Drag and drop after installing all essential plugins listed :p

Share this post


Link to post
Share on other sites
Junior_Djjr

 

 

As reported in comments, the object collision was not disabled... A guy said there is an "invisible wall" bellow the plane. (on SAMP, at least)

I recommend to disable the collision to each frame to force it.

that's weird.

but i don't feel like doing that just for this one dude.

I can confirm this bug too.

Only in SA-MP or also SP?

Share this post


Link to post
Share on other sites
Elissay

Drag and drop after installing all essential plugins listed :p

I have all but is still not work

Share this post


Link to post
Share on other sites
guru_guru

 

Drag and drop after installing all essential plugins listed :p

I have all but is still not work

Send me your moonloader.log

Share this post


Link to post
Share on other sites
jrnaufal2

Why better skybox doesn't have 4 time version (4 dff and 4 txd)?

Share this post


Link to post
Share on other sites
guru_guru

Why better skybox doesn't have 4 time version (4 dff and 4 txd)?

Cuz 15 > 4

 

If you don't like that many skies you can just repeat the IDs.

Share this post


Link to post
Share on other sites
MBT

Without SkyGfx looks ugly (like in paint (screenshot here), with SAMP!). Any solutions to have this great skybox without Skygfx?
I don't like skygfx because is not working with sampfuncs.asi.

 

Maybe If you give me a solution to change time in SAMP without a mod based on sampfuncs.asi, I will forget about this sampfuncs.

I want it to be day in game all time.

Edited by MBT

Share this post


Link to post
Share on other sites
guru_guru

Without SkyGfx looks ugly (like in paint (screenshot here), with SAMP!). Any solutions to have this great skybox without Skygfx?

I don't like skygfx because is not working with sampfuncs.asi.

 

Maybe If you give me a solution to change time in SAMP without a mod based on sampfuncs.asi, I will forget about this sampfuncs.

I want it to be day in game all time.

 

SilentPatch has dual pass too,so you can use that instead of Skygfx.

 

IIRC, MoonLoader has sampfuncs ,so could try with that.

Share this post


Link to post
Share on other sites
MBT

 

Without SkyGfx looks ugly (like in paint (screenshot here), with SAMP!). Any solutions to have this great skybox without Skygfx?

I don't like skygfx because is not working with sampfuncs.asi.

 

Maybe If you give me a solution to change time in SAMP without a mod based on sampfuncs.asi, I will forget about this sampfuncs.

I want it to be day in game all time.

SilentPatch has dual pass too,so you can use that instead of Skygfx.

 

IIRC, MoonLoader has sampfuncs ,so could try with that.

 

Working with silentpatch, but when I put sampfuncs, i have the same problem

 

off-topic: removed sampfuncs.asi and I put setWeather&Time.lua in moonloader and I get crash, maybe you can help me.

Share this post


Link to post
Share on other sites
zqh9843

Is ModLoader necessary?

I am thinking about replacing OpenLimitsAdjuster with some other limit breaking plugins that I am currently using(because the test I conducted previously indicated they are more effective).

Share this post


Link to post
Share on other sites
LaDiDa

It shouldn't be, placing them within gta3.img should work just fine, but modloader is more organized with lots of mods and allows switching between mods that replace the same files on the fly.

Share this post


Link to post
Share on other sites
zqh9843

I installed all of them except OpenLimitAdjuster and SkyGFX(I use Silent's Patch instead) in ModLoader but there was no effect. Perhaps it's incompatible with custom timecyc and cloud particle. BTW I have also installed SRt3 Mipmap 2014 previously. Anyway I will test this plugin on a clean copy of GTASA later.

 

Edit: Succeeded on clean GTASA. Now trying to make it works with modified version.

Edit2: Succeeded on modified GTASA. For now the only problem is that I can't find the moon at night.

Edited by zqh9843

Share this post


Link to post
Share on other sites
guru_guru

I installed all of them except OpenLimitAdjuster and SkyGFX(I use Silent's Patch instead) in ModLoader but there was no effect. Perhaps it's incompatible with custom timecyc and cloud particle. BTW I have also installed SRt3 Mipmap 2014 previously. Anyway I will test this plugin on a clean copy of GTASA later.

 

Edit: Succeeded on clean GTASA. Now trying to make it works with modified version.

Edit2: Succeeded on modified GTASA. For now the only problem is that I can't find the moon at night.

Better Skybox® by default tries to load customs IDs on SinglePlayer, that's why it doesn't work if Open Limit Adjuster isn't installed.You can change these IDs by editing the settings on the script itself (betterskybox.lua) with notepad.

Share this post


Link to post
Share on other sites
zqh9843

What timecyc and particle are you using in the screenshots? :whistle:

Share this post


Link to post
Share on other sites
De1mA

hello.

Why can't I see skybox? I think I've done everyhting properly.

Thank you in advance

Share this post


Link to post
Share on other sites
guru_guru

What timecyc and particle are you using in the screenshots? :whistle:

PS2 timecyc in the logo, Skyline Timecyc in the OP and iirc, True Skies Timecyc 2.0 on the imgur album.

 

 

 

hello.

 

Why can't I see skybox? I think I've done everyhting properly.

 

Thank you in advance

Idk,you probably messed up the required mods installation.

Share this post


Link to post
Share on other sites
LaDiDa

Damn, that timecyc is exactly what I was looking for ._.

 

Thanks!

Share this post


Link to post
Share on other sites
kagikn

After saving game with this mod then remove this mod and load the save game, the game did crash and I realized this mod actually didn't delete sky objects properly.

I didn't realized loading invalid models from save games crashes the game until then, though. So I uploaded a fixed version.

http://www.mediafire.com/file/bsoe322aezh4b5b/Fixed_BetterSkybox_2.0.2.zip

All I had to do to resolve this problem, was add this trick

function makeObjectUnsaveable(obj)	local objPtr = getObjectPointer(obj)	objPtr = objPtr + 0x13C	memory.write(objPtr, 6, 1)end

This makes objects persistent but unsaveable.

 

EDIT: Fixed the code and the archive. sh*t, I'm familiar with C# (and C++ to a certain degree) but not familiar with Lua much, and I didn't think '+=' is unavailable in Lua.

Anyway, the trick works at least in singleplayer, of course.

Edited by kagikn

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

  • 2 Users Currently Viewing
    0 members, 1 Anonymous, 1 Guest

×

Important Information

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