WarFan wrote: |
Fri Oct 10, 2003 1:49 pm Couple questions here. Is it possible to make an lvz image disappear when a ship moves over it and then reappear after it has moved off the image. This would be like for roof tops on building..you would see the roof if you were not in the building, then if you entered it, the roof would disappear. Thanks Fri Oct 10, 2003 2:06 pm 1) So manually, I would get in a building or watch people get in a building and turn the roof image off? 2) Do you know of a bot that does this or something similar? Thanks |
Code: Show/Hide [Obj1] # ^------- Up to 255 Objects, edit the bot source and you can increase to whatever you need #Obj starts at 1 and counts up to 255 FromX1=459 FromY1=472 #^^^^^^^^---- Topleft corner of Object Area FromX2=481 FromY2=488 #^^^^^^^^---- Bottomright corner of Object Area ObjStart=0 # ^---- Object starts turned on or off, 1=ON AND 0=OFF ObjNum=1 #^^^^^^^^^---- Object Number #This is the number of the obj found in the lvz file(.ini) [Obj2] FromX1=459 FromY1=544 #----------- FromX2=481 FromY2=561 #----------- ObjStart=1 ObjNum=240 |
Akai wrote: |
it doesn't really matter, especially in this case since there isn't really a need to turn images both on AND off simultaneously |
Akai wrote: |
there isn't really a need to turn images both on AND off simultaneously |
Teckniks wrote: |
ok ive worked out the lvz and the server problem in my last post, but now theres a new one....
here goes basically i want to make ships be able to fly under tree's and behind houses etc. i have grass as my background but i have isometric tree's (IE a 3d look), but i want the ships to be able to fly behind the tree's if that made any sense. all i need is to know how (if you can) to make see thru tiles? ive tried using pure black as a back ground but it doesnt seem to work, any ideas? ok, um lol? i fixed this too!! - bfore i had time to post this question!! - i have included a *VERY* early screenshot of my zone to demonstrate what i was trying to do for anyone whos interested - See the red thing behind the tree? thats me EDIT: Corrupt attachments files removed, wasting space -MGB |
Code: Show/Hide #objects.ini examples
[Obj1] # ^------- Up to 255 Objects, can be increased by editing bot source FromX1=459 FromY1=472 #^^^^^^^^---- Topleft corner, for object to be switched on/off FromX2=481 FromY2=488 #^^^^^^^^---- Bottomright corner, for object to be switched on/off ObjStart=1 # ^---- Object starts turned on or off, 1=ON AND 0=OFF SentPrivate=0 # ^----- Object is sent privatly to a player if set to 1, 1=ON AND 0=OFF ObjNum=1 #^^^^^^^^^---- Object Number (found in the lvz's .ini file) [Obj2] FromX1=459 FromY1=472 #----------- FromX2=481 FromY2=488 #----------- ObjStart=0 SentPrivate=0 ObjNum=2 [Obj3] FromX1=459 FromY1=544 #----------- FromX2=481 FromY2=561 #----------- ObjStart=0 SentPrivate=1 ObjNum=3 |
Code: Show/Hide [Obj1] # ^------- Up to 255 Objects FromX1=8192 FromY1=8192 #^^^^^^^^---- Topleft corner, for object to be switched on/off FromX2=8192 FromY2=8192 #^^^^^^^^---- Bottomright corner, for object to be switched on/off ObjStart=1 # ^---- Object starts turned on or off, 1=ON AND 0=OFF SentPrivate=0 # ^----- Object is sent privatly to a player if set to 1, 1=ON AND 0=OFF ObjNum=1 #^^^^^^^^^---- Object Number (found in the lvz's .ini file) |
Code: Show/Hide [Obj1] # ^------- Up to 255 Objects FromX1=512 FromY1=512 #this is where the image starts FromX2=528 FromY2=528 #then add 16 to it for the bottom corner of the image ObjStart=1 # ^---- Object starts turned on or off, 1=ON AND 0=OFF SentPrivate=0 # ^----- Object is sent privatly to a player if set to 1, 1=ON AND 0=OFF ObjNum=1 #^^^^^^^^^---- Object Number (found in the lvz's .ini file) |
Code: Show/Hide (0, 0) +--------+ | | | | | | +--------+ (10, 10) Then we just put in the ini: FromX1=0 FromY1=0 #^^^^^^^^---- Topleft corner of obj area, on the map FromX2=10 FromY2=10 #^^^^^^^^---- Bottomright corner of obj area, on the map |