Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-24-2003, 03:17 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Moving on gmap...

I got this NPC that moves on a gmap (player is attached to it), but after it have warped 2 levels, like from level a(starting level) to b to c (on this level it wont work anymore). I have tried EVERYTHING. It's a class. I have been trying normal join name; i have tried with putnpc2, i have tried canwarp and canwarp2...

Also, attaching is clientside and detaching is serverside, but that wouldn't affect the movement? (It works too)

EDIT: It works in a DB NPC, but nothing else.
__________________
-Kjetil Valen

Last edited by VeX_RaT_Boy; 10-24-2003 at 07:06 PM..
Reply With Quote
  #2  
Old 10-25-2003, 08:13 AM
azuretek23 azuretek23 is offline
Registered User
azuretek23's Avatar
Join Date: May 2002
Location: Phoenix, AZ
Posts: 516
azuretek23 is on a distinguished road
Send a message via ICQ to azuretek23 Send a message via AIM to azuretek23
try posting the troublesome script (if you arent afraid of ****s stealing it lol, but by posting it when someone shows up with it they will know you made it)
__________________
:: Give a man a fish, you feed him for a day. Teach a man to fish, and you lose your monopoly on fisheries ::
Reply With Quote
  #3  
Old 10-25-2003, 12:09 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Only dbnpcs and putnpc2-ed NPCs can use the canwarp/canwarp2 commands.
Reply With Quote
  #4  
Old 10-25-2003, 02:19 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by Lance
Only dbnpcs and putnpc2-ed NPCs can use the canwarp/canwarp2 commands.
But you shouldn't need to use those when it's a gmap!
__________________
-Kjetil Valen
Reply With Quote
  #5  
Old 10-25-2003, 06:50 PM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
Quote:
But you shouldn't need to use those when it's a gmap!
No matter what type of overworld it is, you need to do it.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #6  
Old 10-25-2003, 09:51 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by ForgottenLegacy


No matter what type of overworld it is, you need to do it.
Do you even know what a gmap is? NPCs see it as one big level
Reply With Quote
  #7  
Old 10-25-2003, 10:00 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally posted by Python523


Do you even know what a gmap is? NPCs see it as one big level
Hence the outlandishly high numbers for x and y positions.
Reply With Quote
  #8  
Old 10-26-2003, 12:55 AM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by Python523


Do you even know what a gmap is? NPCs see it as one big level
Yea, but then why won't it work? The same NPC works in a db npc...
__________________
-Kjetil Valen
Reply With Quote
  #9  
Old 10-27-2003, 02:12 AM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
I know what a gmap is, I used to work with them offline, all the time, then I worked with them online and found all the commands to help me out. I'm not stupid.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #10  
Old 10-27-2003, 02:17 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by ForgottenLegacy
I know what a gmap is, I used to work with them offline, all the time, then I worked with them online and found all the commands to help me out. I'm not stupid.
You don't know everything there is to know about them, why would you need a canwarp/2 when NPCs see it as one big level?
Reply With Quote
  #11  
Old 10-27-2003, 03:34 AM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
I did not say I know everything about them. I have just worked with them, and I always enable canwarp/2 when I am making an NPC change levels, no matter if it is a gmap or not, just somthing that I do.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #12  
Old 10-28-2003, 05:25 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by ForgottenLegacy
I did not say I know everything about them. I have just worked with them, and I always enable canwarp/2 when I am making an NPC change levels, no matter if it is a gmap or not, just somthing that I do.
What you do, yes, but why did you say "No matter what type of overworld it is, you need to do it."?

Still no one that can help me? =X
__________________
-Kjetil Valen
Reply With Quote
  #13  
Old 11-02-2003, 04:00 AM
Idrox0 Idrox0 is offline
Registered User
Join Date: Oct 2003
Posts: 66
Idrox0 is on a distinguished road
Why don't you just try the canwarp/2 thing and even see if it works? After all, no one and nothing is perfect...
__________________
Reply With Quote
  #14  
Old 11-04-2003, 08:10 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by Idrox0
Why don't you just try the canwarp/2 thing and even see if it works? After all, no one and nothing is perfect...
Why don't you just try to read what I said in my first post...
Quote:
I got this NPC that moves on a gmap (player is attached to it), but after it have warped 2 levels, like from level a(starting level) to b to c (on this level it wont work anymore). I have tried EVERYTHING. It's a class. I have been trying normal join name; i have tried with putnpc2, i have tried canwarp and canwarp2...
I also got this other gmap problem...minimap won't show online...Offline it works, but not online. It's a .PNG file. Anyone know why?
__________________
-Kjetil Valen
Reply With Quote
  #15  
Old 11-05-2003, 01:04 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by VeX_RaT_Boy

Why don't you just try to read what I said in my first post...


I also got this other gmap problem...minimap won't show online...Offline it works, but not online. It's a .PNG file. Anyone know why?
are you using the script command or the gmap line for it?
Reply With Quote
  #16  
Old 11-05-2003, 01:07 AM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by Python523


are you using the script command or the gmap line for it?
MINIMAPIMG nol_minimap.png

Gmap line..
__________________
-Kjetil Valen
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:56 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.