Announcement: Be excellent to each other.


Caravel Forum : Caravel Boards : General : How does the Goblin work?
New Topic New Poll Post Reply
Poster Message
fatass
Level: Delver
Rank Points: 32
Registered: 02-04-2003
IP: Logged
icon How does the Goblin work? (0)  
I know the basics of how it works. It finds its way around obstacles and runs away from swords. I want to know as much detail about how it works as possible. If someone knows it\'s entire if-then routine, that would be perfect.
04-06-2003 at 02:08 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
krammer
Level: Smitemaster
Avatar
Rank Points: 904
Registered: 02-12-2003
IP: Logged
icon Re: How does the Goblin work? (0)  
I\'m no programmer, but from observations I can tell you some stuff.

It can move past an obstacle of 1 square wide to reach Beethro but no larger.

If far enough away the goblin moves towards you like a roach, apart from the modification mentioned above. From then on, it varies.

If in line with your sword it will wait 2 sqaures away from the sword. If this is impossible (i.e. you push it into a wall) it will move diagonally away, or if this is impossible, anticlockwise from Beethro.

If more than 90 degrees from your sword the goblin will go straight for you.

If 45 or 90 degrees away from the sword, the goblin will move diagonally away from the sword and towards you.

The only exception is that if the goblin can reach Beethro (i.e. 1 square away) he will kill you regardless of the position of the sword.

If this is wrong, sorry, but I think that this is all correct so far. Hope this helps.

____________________________
+++ Divide by Cucumber Error +++ Please Reinstall Universe and Reboot +++

"Oook!"
04-06-2003 at 08:56 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5381
Registered: 02-04-2003
IP: Logged
icon Re: How does the Goblin work? (0)  
Since DROD is open source and anyone who really wanted to could figure out exactly how it\'s done, this isn\'t a big deal, but I\'ll hide it just in case anyone reading likes the mystery of it all.

It\'s basically this:

Click here to view the secret text


____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
04-06-2003 at 09:18 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
fatass
Level: Delver
Rank Points: 32
Registered: 02-04-2003
IP: Logged
icon Re: How does the Goblin work? (0)  
Click here to view the secret text

04-07-2003 at 02:36 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5381
Registered: 02-04-2003
IP: Logged
icon Re: How does the Goblin work? (0)  
Whoops. Yeah. 9.


____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
04-07-2003 at 03:41 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
fatass
Level: Delver
Rank Points: 32
Registered: 02-04-2003
IP: Logged
icon Re: How does the Goblin work? (0)  
That\'s interesting. Thanks.
04-08-2003 at 08:20 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : Caravel Boards : General : How does the Goblin work?
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.