Thread: Gmap
View Single Post
  #21  
Old 12-28-2007, 06:01 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
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.
Reply With Quote