Jump to content

Water function


villr

Recommended Posts

function ?

handlers ?

nothing ?

Next time please use [ lua] [ /lua] tags

 

  
function lol() 
local water1 = createWater(685, -2420, 105, 700, -2420, 105, 685, -2350, 105, 700, -2350, 105) 
setElementPosition(water1,-731.66,494.58,1371.97) 
setElementInterior(water1,1) 
addEventHandler("onResourceStart",getRootElement(),lol) 

Link to comment

If you try to help people, you need to understand something 1st too.

There's end missing in lol() function.

And water will never work in interior cause of GTA engine not drawing the landmasses or water in interiors.

You could try to disable occlusions ( setOcclusionsEnabled(false) ), but there's no big hopes.

Water itself will function, it just will be invisible.

Link to comment
If you try to help people, you need to understand something 1st too.

There's end missing in lol() function.

And water will never work in interior cause of GTA engine not drawing the landmasses or water in interiors.

You could try to disable occlusions ( setOcclusionsEnabled(false) ), but there's no big hopes.

Water itself will function, it just will be invisible.

Hmm thx, i will try with that occlusion but how did they draw water in Maddogs? :S

EDIT: Didnt work.

Link to comment

hmmm, this worked for me but only 1 problem. i don't see tha water [ i'm using runcode [client side]

first i typed

/crun

water1 = createWater(685, -2420, 105, 700, -2420, 105, 685, -2350, 105, 700, -2350, 105) 

then:

/crun

setElementInterior(water1,1) 

then /crun

setElementPosition(water1,-731.66,494.58,1371.97) 

[ using freeroam ]

then i was typing /sp -731.66 494.58 1371.97

i was moving in the water, but it was in GTA III world

pic:

whole pic go tho this link.

http://imageshack.us/photo/my-images/26 ... ybs1k.jpg/

imagescafybs1k.jpg

Link to comment
  • Moderators

yes, interior is not the right place to create water.....

Also vehicles will be invisible...

just gta bug....

Maybe you can try to reset water color... maybe it does work. Let me know :D

https://wiki.multitheftauto.com/wiki/SetWaterColor

(ask a admin to make a server script for you, I am to lazy xD)

Also:

Create water does not work to far from the homelands... (and pickups will be invisible to :x )

I hate that f.u.c.k.i.n.g bugs... but nothing you can do about it...

I have always trouble with that, I make maps away from the homelands, so you don't have to load normal gta objects, but ofcourse the bugs.

Link to comment
yes, interior is not the right place to create water.....

Also vehicles will be invisible...

just gta bug....

Maybe you can try to reset water color... maybe it does work. Let me know :D

https://wiki.multitheftauto.com/wiki/SetWaterColor

(ask a admin to make a server script for you, I am to lazy xD)

Also:

Create water does not work to far from the homelands... (and pickups will be invisible to :x )

I hate that f.u.c.k.i.n.g bugs... but nothing you can do about it...

I have always trouble with that, I make maps away from the homelands, so you don't have to load normal gta objects, but ofcourse the bugs.

well vehicles works because if u get into an interior and takes a vehicle from admin panel you get it :P

Link to comment
  • Moderators

ok, well I created them with the editor.

But about the water.

If your water is invisible, you can place with the editor fake water above your invisible water.

and to finish it, you use dark blue conor markers at the bottom of the water. :wink:

~~~~~~~~~~~~~~~~~~

~~W~~A~~T~~E~~R~~

~~~~~~~~~~~~~~~~~~

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...