Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-26-2004, 06:14 AM
Gman4pwnu Gman4pwnu is offline
Banned
Join Date: Jan 2004
Posts: 434
Gman4pwnu is on a distinguished road
Send a message via AIM to Gman4pwnu
Vehicles - Best way

Im wondering what the best way to do vehicles would be. So far ive tried classes and showimg on the players x,y. The classes are real laggy with movement as i control it all serverside. Im just wondering whats the smoothest way to move an npc along? I guess it would be similar to a monster thats serverside.

Im not asking for a script here... just what would be the best way to handle it?
Reply With Quote
  #2  
Old 03-26-2004, 06:17 AM
xManiamaNx xManiamaNx is offline
Supreme Dictator
xManiamaNx's Avatar
Join Date: Nov 2002
Location: 127.0.0.1
Posts: 385
xManiamaNx is on a distinguished road
Send a message via MSN to xManiamaNx Send a message via Yahoo to xManiamaNx
attachplayertoobj is your friend for making certain vechicles. Especially boats/rafts/ships
__________________
Maniaman

Play Maloria Now: [2.3] [3]
Maloria Website

Reply With Quote
  #3  
Old 03-26-2004, 07:57 AM
Gman4pwnu Gman4pwnu is offline
Banned
Join Date: Jan 2004
Posts: 434
Gman4pwnu is on a distinguished road
Send a message via AIM to Gman4pwnu
What about vehicle itself? Class ? It seems a bit unsmooth in the movement.
Reply With Quote
  #4  
Old 03-26-2004, 08:54 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
depends on what kinda vehicle really and what features you want on it
Reply With Quote
  #5  
Old 03-26-2004, 10:34 AM
Ningnong Ningnong is offline
Registered User
Ningnong's Avatar
Join Date: Nov 2002
Location: < -- way
Posts: 262
Ningnong is on a distinguished road
If you want something thats there, and the player can just jump into i.e. car. I'd advise using a class, and use the move command rather than a timeout of 0.1 and changing the x/y (if thats what you are doing).

You can get smooth movement using the move command
__________________
Former Global Scripting Team Member


Reply With Quote
  #6  
Old 03-26-2004, 07:01 PM
Gman4pwnu Gman4pwnu is offline
Banned
Join Date: Jan 2004
Posts: 434
Gman4pwnu is on a distinguished road
Send a message via AIM to Gman4pwnu
lol how could i have missed that in commands.rtf!! I didn't think it would be that simple!

What is time for?
Reply With Quote
  #7  
Old 03-27-2004, 10:14 AM
Gman4pwnu Gman4pwnu is offline
Banned
Join Date: Jan 2004
Posts: 434
Gman4pwnu is on a distinguished road
Send a message via AIM to Gman4pwnu
move clientside or server?
Reply With Quote
  #8  
Old 03-27-2004, 12:47 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally posted by Gman4pwnu
move clientside or server?
Depends what you want to do, it's harder serverside I believe?
__________________
V$:CONFL16T
Reply With Quote
  #9  
Old 03-27-2004, 02:09 PM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
move sucks in both serverside and clientside.
Reply With Quote
  #10  
Old 03-27-2004, 02:38 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Just because you failed to use it correctly
No, it is very handy serverside.
Reply With Quote
  #11  
Old 03-27-2004, 06:33 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
<3 move's smooth movement serverside
__________________
-Kjetil Valen
Reply With Quote
  #12  
Old 03-27-2004, 09:13 PM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally posted by R0bin
move sucks in both serverside and clientside.
lmao!!
I agree, but only due to the idiotic 0.5 limits Stefan has imposed on EVERYTHING.
__________________
Kat
Reply With Quote
  #13  
Old 03-27-2004, 11:20 PM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
move works wonderfully if you use it right (i.e. my pathfinder npc guys)
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #14  
Old 03-27-2004, 11:24 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally posted by -Ramirez-
idiotic 0.5 limits Stefan has imposed on EVERYTHING.
You notice you are the only one complaining about that?
Reply With Quote
  #15  
Old 03-28-2004, 01:03 AM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally posted by Loriel
You notice you are the only one complaining about that?
That makes it less of a problem?
__________________
Kat
Reply With Quote
Reply


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 11:06 AM.


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