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  
ZaikerHind

[Query] Water.

Recommended Posts

ZaikerHind
Posted (edited)

Hi, what's up?

I have reviewed on the Internet, even in this forum, topics on how to 'add water' in other areas of the game, but ... although I find how to do this, I continue without success, I know that this is possible, as did with Gta underground, but is there another way for it to only be with Gta SA?
Use the Water Script v1.0, "created" by Gforce, and ocram, but even importing, and exporting coordinates, I do not get what I need, does anyone have any ideas? Thank you. :facedesk:
tfznJOO.png
Edited by ZaikerHind

Share this post


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

The water script for 3dmax works fine for me

import orig gtasa water.dat creates a lot of flats

for export you need to select first all flats

Edited by ZAZ

Share this post


Link to post
Share on other sites
ZaikerHind

The water script for 3dmax works fine for me

import orig gtasa water.dat creates a lot of flats

for export you need to select first all flats

 

Yes, I know that.
But in my case, when I export a new water coordinate, the game is blocked, or it just creates a water texture.
If you wish, you can try, and attach the water file edited by you, and I will test your edition.

Share this post


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

If you wish, you can try, and attach the water file edited by you, and I will test your edition.

Reversed makes more sense, you post content of your water.dat and i say what's wrong

But i give you a water.dat to show you

Important: x and y coords must be must be divisible by 4.0

 

Example:

start at game center, at 0.0 0.0

so one corner at x = 0.0, y = 0.0

one at x = 4.0, y = 0.0

one at x = 0.0, y = 4.0

and one at x = 4.0, y = 4.0

 

below the test water.dat, replace whole content of water

find 2 water cubes ingame at Grovestreet

 

 

 

# water.dat# by ocram88processed2500.0 -1670.0 15.5 0.0 0.0 0.25 0.0	2508.0 -1670.0 15.5 0.0 0.0 0.25 0.0	2500.0 -1662.0 15.5 0.0 0.0 0.25 0.0	2508.0 -1662.0 15.5 0.0 0.0 0.25 0.0  12448.0 -1666.0 28.0 0.0 0.0 0.25 0.0	2444.0 -1666.0 28.0 0.0 0.0 0.25 0.0	2448.0 -1654.0 28.0 0.0 0.0 0.25 0.0	2444.0 -1654.0 28.0 0.0 0.0 0.25 0.0  1
screenshot as i made the grovestreet water in 3dmax

 

08ccdc816796103.jpg

Edited by ZAZ

Share this post


Link to post
Share on other sites
ZaikerHind
I tested your code, and the result was the same.

I will show you below, a url with the images.

I was using the Map Editor of sa-mp, and the water only shows the texture, and at some distance, it disappears, and a distance later, it crashes my game.



Share this post


Link to post
Share on other sites
LaDiDa

SA-MP: Maybe your issue lies there? Try it on vanilla SA (Single Player, SA-MP is a mod which might be incompatible with other mods such as yours).

Share this post


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

SA-MP: Maybe your issue lies there? Try it on vanilla SA (Single Player, SA-MP is a mod which might be incompatible with other mods such as yours).

Yes, you were right. xd :lol:

 

Although ... In any case, I will try something, I will extract a piece of water, I will add it in my Gta Single Player, and see if it works, otherwise, I will add my water code here, and so you can tell me in which failure. :blush:

 

https://imgur.com/a/k1B2V

 

Just out of curiosity ... Did you add a new piece of water, or did you just move water from another place, to CJ's house? (ZAZ)

 

EDIT:

 

I was testing, and I think I can only add water that already exists.

That is, move existing pieces of water, which already exists in the game, I can not add new water, because the game crashing. (At least I think)

 

 

If you wish, you can try, and attach the water file edited by you, and I will test your edition.

Reversed makes more sense, you post content of your water.dat and i say what's wrong

But i give you a water.dat to show you

Important: x and y coords must be must be divisible by 4.0

 

Example:

start at game center, at 0.0 0.0

so one corner at x = 0.0, y = 0.0

one at x = 4.0, y = 0.0

one at x = 0.0, y = 4.0

and one at x = 4.0, y = 4.0

 

below the test water.dat, replace whole content of water

find 2 water cubes ingame at Grovestreet

 

 

 

# water.dat# by ocram88processed2500.0 -1670.0 15.5 0.0 0.0 0.25 0.0	2508.0 -1670.0 15.5 0.0 0.0 0.25 0.0	2500.0 -1662.0 15.5 0.0 0.0 0.25 0.0	2508.0 -1662.0 15.5 0.0 0.0 0.25 0.0  12448.0 -1666.0 28.0 0.0 0.0 0.25 0.0	2444.0 -1666.0 28.0 0.0 0.0 0.25 0.0	2448.0 -1654.0 28.0 0.0 0.0 0.25 0.0	2444.0 -1654.0 28.0 0.0 0.0 0.25 0.0  1
screenshot as i made the grovestreet water in 3dmax

 

08ccdc816796103.jpg

 

 

If you wish, you can try, and attach the water file edited by you, and I will test your edition.

Reversed makes more sense, you post content of your water.dat and i say what's wrong

But i give you a water.dat to show you

Important: x and y coords must be must be divisible by 4.0

 

Example:

start at game center, at 0.0 0.0

so one corner at x = 0.0, y = 0.0

one at x = 4.0, y = 0.0

one at x = 0.0, y = 4.0

and one at x = 4.0, y = 4.0

 

below the test water.dat, replace whole content of water

find 2 water cubes ingame at Grovestreet

 

 

# water.dat# by ocram88processed2500.0 -1670.0 15.5 0.0 0.0 0.25 0.0	2508.0 -1670.0 15.5 0.0 0.0 0.25 0.0	2500.0 -1662.0 15.5 0.0 0.0 0.25 0.0	2508.0 -1662.0 15.5 0.0 0.0 0.25 0.0  12448.0 -1666.0 28.0 0.0 0.0 0.25 0.0	2444.0 -1666.0 28.0 0.0 0.0 0.25 0.0	2448.0 -1654.0 28.0 0.0 0.0 0.25 0.0	2444.0 -1654.0 28.0 0.0 0.0 0.25 0.0  1

screenshot as i made the grovestreet water in 3dmax

 

08ccdc816796103.jpg

Edited by ZaikerHind

Share this post


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

https://imgur.com/a/k1B2V

 

Just out of curiosity ... Did you add a new piece of water, or did you just move water from another place, to CJ's house? (ZAZ)

 

i made 2 new cubes from scratch, your screenshot shows that it works for you

 

 

I can not add new water, because the game crashing

Right, adding the two lines to origin water.dat was buggy, import/export by water script of origin water.dat let game crash

 

Then i noticed that the last 6 lines of origin water.dat have only 3 entries, i mean, as like as entries for 3 corners

-912.0 208.0 0.00000 0.00000 0.00000 0.07589 0.09259    -724.0 208.0 0.00000 0.00000 0.00000 0.02023 0.02548    -912.0 20.0 0.00000 0.00000 0.00000 0.14164 0.17185  1-1610.0 168.0 0.00000 0.00000 0.00000 0.19900 0.24100    -1550.0 168.0 0.00000 0.00000 0.00000 0.19900 0.24100    -1550.0 108.0 0.00000 0.00000 0.00000 0.19900 0.24100  1-1728.0 -62.0 0.00000 0.00000 0.00000 0.19900 0.24100    -1568.0 -62.0 0.00000 0.00000 0.00000 0.19900 0.24100    -1728.0 -222.0 0.00000 0.00000 0.00000 0.19900 0.24100  1-1724.0 170.0 0.00000 0.00000 0.00000 0.19900 0.24100    -1612.0 170.0 0.00000 0.00000 0.00000 0.19900 0.24100    -1724.0 58.0 0.00000 0.00000 0.00000 0.19900 0.24100  1-1550.0 168.0 0.00000 0.00000 0.00000 0.19900 0.24100    -1362.0 168.0 0.00000 0.00000 0.00000 0.19900 0.24100    -1550.0 -20.0 0.00000 0.00000 0.00000 0.19900 0.24100  1-1722.0 -62.0 0.00000 0.00000 0.00000 0.19900 0.24100    -1574.0 -62.0 0.00000 0.00000 0.00000 0.19900 0.24100    -1574.0 86.0 0.00000 0.00000 0.00000 0.19900 0.24100  1

I removed these lines, then the addon worked fine

 

last 4 lines of modded water.dat:

2872.0 -2136.0 0.00000 0.00000 0.00000 0.28800 0.21422    2888.0 -2136.0 0.00000 0.00000 0.00000 0.37700 0.18744    2872.0 -2120.0 0.00000 0.00000 0.00000 0.00000 0.00000    2888.0 -2120.0 0.00000 0.00000 0.00000 0.37502 0.18804  12760.0 -2240.0 0.00000 0.00000 0.00000 0.19900 0.24100    2776.0 -2240.0 0.00000 0.00000 0.00000 0.19900 0.24100    2760.0 -2232.0 0.00000 0.00000 0.00000 0.00000 0.00000    2776.0 -2232.0 0.00000 0.00000 0.00000 0.19900 0.24100  12500.0 -1670.0 15.5 0.0 0.0 0.25 0.0	2508.0 -1670.0 15.5 0.0 0.0 0.25 0.0	2500.0 -1662.0 15.5 0.0 0.0 0.25 0.0	2508.0 -1662.0 15.5 0.0 0.0 0.25 0.0  12448.0 -1666.0 28.0 0.0 0.0 0.25 0.0	2444.0 -1666.0 28.0 0.0 0.0 0.25 0.0	2448.0 -1654.0 28.0 0.0 0.0 0.25 0.0	2444.0 -1654.0 28.0 0.0 0.0 0.25 0.0  1

when i keep the 6 strange lines and replace line 301 and 302 with the mod water lines it crashes (or it was buggy, can't remember)

 

Also, the water script export these 6 strange lines as entries for 4 corners

-912.0 20.0 0.0 0.0 0.0 0.25 0.0	-724.0 20.0 0.0 0.0 0.0 0.25 0.0	-912.0 208.0 0.0 0.0 0.0 0.25 0.0	-724.0 208.0 0.0 0.0 0.0 0.25 0.0  1-1610.0 108.0 0.0 0.0 0.0 0.25 0.0	-1550.0 108.0 0.0 0.0 0.0 0.25 0.0	-1610.0 168.0 0.0 0.0 0.0 0.25 0.0	-1550.0 168.0 0.0 0.0 0.0 0.25 0.0  1-1728.0 -222.0 0.0 0.0 0.0 0.25 0.0	-1568.0 -222.0 0.0 0.0 0.0 0.25 0.0	-1728.0 -62.0 0.0 0.0 0.0 0.25 0.0	-1568.0 -62.0 0.0 0.0 0.0 0.25 0.0  1-1724.0 58.0 0.0 0.0 0.0 0.25 0.0	-1612.0 58.0 0.0 0.0 0.0 0.25 0.0	-1724.0 170.0 0.0 0.0 0.0 0.25 0.0	-1612.0 170.0 0.0 0.0 0.0 0.25 0.0  1-1550.0 -20.0 0.0 0.0 0.0 0.25 0.0	-1362.0 -20.0 0.0 0.0 0.0 0.25 0.0	-1550.0 168.0 0.0 0.0 0.0 0.25 0.0	-1362.0 168.0 0.0 0.0 0.0 0.25 0.0  1-1722.0 -62.0 0.0 0.0 0.0 0.25 0.0	-1574.0 -62.0 0.0 0.0 0.0 0.25 0.0	-1722.0 86.0 0.0 0.0 0.0 0.25 0.0	-1574.0 86.0 0.0 0.0 0.0 0.25 0.0  1

they look okay for me, all lenghts and withs are divisible by 4.0

i don't understand that secret, they let the game crash, without it works

these lines of origin water.dat looking like definitions for triangle

i had a look ingame for that,

-912.0 208.0 0.00000 0.00000 0.00000 0.07589 0.09259    -724.0 208.0 0.00000 0.00000 0.00000 0.02023 0.02548    -912.0 20.0 0.00000 0.00000 0.00000 0.14164 0.17185  1

and found a triangle at Panopticon

Edited by ZAZ

Share this post


Link to post
Share on other sites
ZaikerHind

Perfect, thanks very much.

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.