Jump to content

createwater bug?


BennyBunny

Recommended Posts

Posted

I have try a long time now add my water area in out of the map but everything what i have try no water.

So i have start a test and found out that when the water area is on the map no problem.

But when i wanna crate a water are not on the map outside the ocean then create water is not more working.

Try it self here is my test...

function thaResourceStarting( ) 
water = createWater ( -3778, -1579, 10, -4025, -1579, 10, -3778, -1381, 10, -4025, -1381, 10 ) 
  
-- water = createWater ( 1867, -1444, 10, 1968, -1443, 10, 1867, -1372, 10, 1968, -1370, 10 ) 
-- water = createWater ( 17, -1544, 10, 118, -1543, 10, 17, -1472, 10, 118, -1470, 10 ) 
-- water = createWater ( -1, -1544, 10, 109, -1543, 10, -1, -1472, 10, 109, -1470, 10 ) 
-- water = createWater ( -100, -1544, 10, 9, -1543, 10, -100, -1472, 10, 9, -1470, 10 ) 
-- water = createWater ( -100, -1579, 10, 9, -1579, 10, -100, -1381, 10, 9, -1381, 10 ) 
-- water = createWater ( -200, -1579, 10, -91, -1579, 10, -200, -1381, 10, -91, -1381, 10 ) 
-- water = createWater ( -2000, -1579, 10, -1891, -1579, 10, -2000, -1381, 10, -1891, -1381, 10 ) 
-- water = createWater ( -2900, -1579, 10, -2791, -1579, 10, -2900, -1381, 10, -2791, -1381, 10 ) 
-- water = createWater ( -3000, -1579, 10, -2891, -1579, 10, -3000, -1381, 10, -2891, -1381, 10 ) 
water = createWater ( -3100, -1579, 10, -2991, -1579, 10, -3100, -1381, 10, -2991, -1381, 10 ) 
  
setWaterLevel ( water, 150 ) 
  
if water == false then 
  
outputChatBox ( "water fail") 
  
else 
  
outputChatBox ( "water ok") 
  
end 
  
end 
  
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), thaResourceStarting) 

the last to are good for see what i mean.

IDK why or have i done something wrong :/

Posted

"STAY WITHIN THE WORLD BOUNDARIES"

Literally.

If I'm right that is what causing the problem, lol, you can't create something outside the GTA world boundaries.

Posted

hm... the next one is when i add the water hight over 1000 there is the water but no texture from the water lol

Is there a way when the mta do so or so a new version of mta to fix all this?

So that we can add water over the world boundaries and over 1000 hight. :)

Posted

That's a GTA thing not MTA, and it's not a bug to fix.

And you can't create anything outside the world boundaries.

Posted
That's a GTA thing not MTA, and it's not a bug to fix.

And you can't create anything outside the world boundaries.

What about creating objects? You can't create SOME THINGS would be better
Posted
I haven't test creating anything outside the boundaries, but I still think it's not possible.
Well. you can do this with mta map editor. There are alot of maps that go 1000 units outside of the boundaries, specially race maps, and without problem.
Posted

Ironically, you are wrong. You can't create objects outside the map boundaries (but the limit is not 1000) or atleast not in MTA Map Editor, as if you try to create objects out of the boundaries they will jump back to the map boundaries

Posted
Ironically, you are wrong. You can't create objects outside the map boundaries (but the limit is not 1000) or atleast not in MTA Map Editor, as if you try to create objects out of the boundaries they will jump back to the map boundaries
So whats the true limit. 9000?
  • MTA Team
Posted

Well, after 10000 (who noes, it could be infinity) the game engine is dead. You are out of the game engine. The GTA map has limits, the rest of the world are not created, it's just default. that's why setting wave height and level doesnt affect the outside

  • 1 month later...
Posted

what exactly are you trying to do? flood the map? if you are:

height = 40 
SizeVal = 2998 
  
southWest_X = -SizeVal 
southWest_Y = -SizeVal 
southEast_X = SizeVal 
southEast_Y = -SizeVal 
northWest_X = -SizeVal 
northWest_Y = SizeVal 
northEast_X = SizeVal 
northEast_Y = SizeVal 
  
function thaResourceStarting( ) 
    water = createWater ( southWest_X, southWest_Y, height, southEast_X, southEast_Y, height, northWest_X, northWest_Y, height, northEast_X, northEast_Y, height ) 
    setWaterLevel ( height ) 
end 
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), thaResourceStarting) 

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...