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
  #41  
Old 08-06-2003, 11:19 AM
Projectshifter Projectshifter is offline
The David
Projectshifter's Avatar
Join Date: Apr 2002
Location: USA
Posts: 912
Projectshifter is an unknown quantity at this point
Send a message via ICQ to Projectshifter Send a message via AIM to Projectshifter Send a message via MSN to Projectshifter Send a message via Yahoo to Projectshifter
I understand the rough concept of WHAT a node is I suppose, but more as how opposed to HOW they work. Isn't it they have built-in pre-defined paths to detect the best movement paths? I just don't get how they interact and read from eachother.
---Shifter
__________________
Who has time for life these days?
Reply With Quote
  #42  
Old 08-06-2003, 11:26 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Projectshifter
I understand the rough concept of WHAT a node is I suppose, but more as how opposed to HOW they work. Isn't it they have built-in pre-defined paths to detect the best movement paths? I just don't get how they interact and read from eachother.
---Shifter
In the system I describe, a node is just two numbers (x and y coords) with information about the other nodes to which it links. They don't interact with anything, they merely specify waypoints that the NPC can use in going from A to B. There are no predefined paths, the NPC chooses which links to follow.
__________________
Reply With Quote
  #43  
Old 08-06-2003, 11:28 AM
Projectshifter Projectshifter is offline
The David
Projectshifter's Avatar
Join Date: Apr 2002
Location: USA
Posts: 912
Projectshifter is an unknown quantity at this point
Send a message via ICQ to Projectshifter Send a message via AIM to Projectshifter Send a message via MSN to Projectshifter Send a message via Yahoo to Projectshifter
OH!. So instead of looking for ALL points across the entire level(s), it finds the best NODE system to follow, and THEN calculates the path based on those nodes???
---Shifter
__________________
Who has time for life these days?
Reply With Quote
  #44  
Old 08-06-2003, 11:37 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Projectshifter
OH!. So instead of looking for ALL points across the entire level(s), it finds the best NODE system to follow, and THEN calculates the path based on those nodes???
---Shifter
Eh, pretty much. Its path is defined in nodes, not tiles.
__________________
Reply With Quote
  #45  
Old 08-06-2003, 11:41 AM
Projectshifter Projectshifter is offline
The David
Projectshifter's Avatar
Join Date: Apr 2002
Location: USA
Posts: 912
Projectshifter is an unknown quantity at this point
Send a message via ICQ to Projectshifter Send a message via AIM to Projectshifter Send a message via MSN to Projectshifter Send a message via Yahoo to Projectshifter
So the nodes are just placed in walkable places around levels? All they do is limit the search of the best path then? LOL, I thought the node held strings and arrays!
---Shifter
__________________
Who has time for life these days?
Reply With Quote
  #46  
Old 08-06-2003, 03:19 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
:-/

Just make sure you don't include onwall detection once he's found his node network. Don't want him drastically changing his path when he could simply walk around somebody.

Hehe man, nodes. that has got to be the absolute best idea for this kinda thing.

You can simply use the move command and avoid any lag whatsoever.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
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 08:09 AM.


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