Ope Rand
Alien
Join date: 14 Mar 2003
Posts: 352
|
04-15-2003 13:02
I noticed this was mentioned before in an old post. I wanted to bring it up, because last night Bob and I were talking about implementing this in order to make an air transportation system. I thought about it today and realized how easy it should be to do. You use the origin of one sim as your global origin, keep a list of vectors to the origins of the other sims, add those to any per-sim coordinates and boom! global coordinates. So, I was all psyched to work on this today, and then I downloaded .6 and read the release notes. That new map feature effectively made our idea worthless. But thats ok. My only problem is that it seems like the Lindens must already have something like this implemented. So why don't you guys add it to the library? Why can't we use global coordinates instead of this limiting per-sim stuff? I'm sure theres a good reason why its not that easy. But whats the deal?
|
Ama Omega
Lost Wanderer
Join date: 11 Dec 2002
Posts: 1,770
|
04-15-2003 14:26
Each sim is its own server. So each sim has its own coordinates. The new map feature still requires you to input the sim you wish to go to, and the "local" coordinates on that sim. The main inhibitor I think for what you are talking about is I could find no llGetSimName() call or anything similar that would tell a script which sim it was on. I could have missed it though, so if it is there could ya tell me what it is? 
|
Ope Rand
Alien
Join date: 14 Mar 2003
Posts: 352
|
04-15-2003 14:47
Oh, yeah good point, it can't work without that. So, instead of global coordinates could we get llGetSimName() 
|
Ope Rand
Alien
Join date: 14 Mar 2003
Posts: 352
|
04-15-2003 15:14
Wait, on second thought, couldn't I just use the global location to determine what sim it is, assuming I set up that list of vectors that points to the sim origins, and I save that coordinate? But it definitely would be easier with a llGetSimName()
|