Thread: Gmap
View Single Post
  #22  
Old 12-28-2007, 03:44 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by DustyPorViva View Post
Well, a couple things wrong with what I posted earlier. I assumed this was for online... Either way, there are going to be some complications... You can either go ahead with this and do it for GS1 so you can see it offline in the editor... or do it in GS2 and not see the immediate effects offline... but make things way easier for you later. If you do it for the editor you're going to have a HELL of a lot of editing to do if you need to change even the slightest thing in the NPCs.
I suggest just going and putting this in the qstone.txt:
PHP Code:
//#CLIENTSIDE 
// (not sure if this script needs to be clientside or not)
function onCreated() {
  
this.join("qstone");

And have the script inside the 'qstone' class on the server. This way if you need to change anything, you simply change the class script and tada, all the trees are changed. You won't be able to see the effects offline, but I think the pros outweigh the cons. You'll still be able to see where the NPCs are placed in the editor, though.

EDIT: oh ya, and it's setshape(1,32,32); not 0, sorry about that.
First, the class should be joined serverside, not clientside.
but yah, I agree with you.
__________________
Reply With Quote