villr Posted March 5, 2012 Share Posted March 5, 2012 Do anyknow one if its work to createWater in a interior? Because there is water in Maddogs and i want to create water in a interior i made so.. anyone know if this is possible or something the mta team have to make or? Link to comment
Kenix Posted March 5, 2012 Share Posted March 5, 2012 https://wiki.multitheftauto.com/wiki/CreateWater https://wiki.multitheftauto.com/wiki/SetElementInterior https://wiki.multitheftauto.com/wiki/SetElementDimension Link to comment
villr Posted March 5, 2012 Author Share Posted March 5, 2012 https://wiki.multitheftauto.com/wiki/CreateWaterhttps://wiki.multitheftauto.com/wiki/SetElementInterior https://wiki.multitheftauto.com/wiki/SetElementDimension Tested and didnt get the water into an interior Link to comment
villr Posted March 5, 2012 Author Share Posted March 5, 2012 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) Link to comment
GanJaRuleZ Posted March 5, 2012 Share Posted March 5, 2012 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
villr Posted March 5, 2012 Author Share Posted March 5, 2012 Ok no problem sir. And nope didnt work, the water is still invisible. And yes i added and end efter setElementInterior. Link to comment
bandi94 Posted March 5, 2012 Share Posted March 5, 2012 @GanJaRuleZ code what is not inside a function is executed on resource start so you dont need a function .... any error in debugscript 3? i don't know i never used createWater Link to comment
karlis Posted March 5, 2012 Share Posted March 5, 2012 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
villr Posted March 5, 2012 Author Share Posted March 5, 2012 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? EDIT: Didnt work. Link to comment
karlis Posted March 5, 2012 Share Posted March 5, 2012 that's a good argument to be honest, maddog isn't lower than other interiors? Link to comment
denny199 Posted March 5, 2012 Share Posted March 5, 2012 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/ Link to comment
karlis Posted March 5, 2012 Share Posted March 5, 2012 exactly what i said, it is there, but invisible. There's no way to fix it as far as i know. you will need to parse IPL and recreate it outside interiors. Link to comment
villr Posted March 5, 2012 Author Share Posted March 5, 2012 yea lol.. it only works to create water in interior 5, it will work without setElementInterior but i need it to have in interior 1.. but bleh Link to comment
Moderators IIYAMA Posted March 5, 2012 Moderators Share Posted March 5, 2012 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 https://wiki.multitheftauto.com/wiki/SetWaterColor (ask a admin to make a server script for you, I am to lazy ) Also: Create water does not work to far from the homelands... (and pickups will be invisible to ) 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
karlis Posted March 5, 2012 Share Posted March 5, 2012 these cant really be considered as bugs, as orginal game didnt need that and it is optimized for the orginal gtasa. Link to comment
Moderators IIYAMA Posted March 5, 2012 Moderators Share Posted March 5, 2012 Well the strang thing is why they don't allow it.. but karlis +1 Link to comment
villr Posted March 7, 2012 Author Share Posted March 7, 2012 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 https://wiki.multitheftauto.com/wiki/SetWaterColor (ask a admin to make a server script for you, I am to lazy ) Also: Create water does not work to far from the homelands... (and pickups will be invisible to ) 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 Link to comment
Moderators IIYAMA Posted March 7, 2012 Moderators Share Posted March 7, 2012 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. ~~~~~~~~~~~~~~~~~~ ~~W~~A~~T~~E~~R~~ ~~~~~~~~~~~~~~~~~~ Link to comment
villr Posted March 8, 2012 Author Share Posted March 8, 2012 yeah but was going to cover whole Liberty City with water so would take pretty mutch space for doing it i think and it will be pretty hard because i cant see the water Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now