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 06-12-2001, 07:50 AM
hakman hakman is offline
Registered User
Join Date: Mar 2001
Location: Mostly on the streets...=(
Posts: 162
hakman is on a distinguished road
Pics1.pn..watever...??

Hey does anyone know how the graal
staff made it so the bomy bird catcher thing only works on snow
and the fishing on water?
Is there a way to incorporate the pics1.png into programming
so that you can only use certain weapons on certain tiles???
Please reply for this is annoying the hell outta me!
__________________

-ORIGINALITY!!

-GO GO ALEX THE KIDD!!

-The pants are fancy as you make them....
Reply With Quote
  #2  
Old 06-12-2001, 07:52 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Cool it is in

it is in the programming of the weapon...

they check the boards tiles

it uses

board []

I am not positive how to use it off the top of my head (but someone will probably tell you how)

and if not... click the search button and look for
board

under the npc scripting area
__________________
Thanks,
-KJL
Reply With Quote
  #3  
Old 06-12-2001, 08:37 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
if you aren't that experienced at scripting I'd suggest you stear clear of board stuff for now, I myself didn't learn it for a long time...but it's like this:

if (board[levelx + levely * 64] == tilex + tiley * 16) {
dowhatever;
}

for the fishing and bird catching I'm sure stefan either used onwater (fishing) or made an array of tiles you can use it on and did a loop to check if the player was on any of those tiles. It's not too simple to explain quickly though, and I haven't much time. Maybe someone else can go a bit more in-depth if you need it.
Reply With Quote
  #4  
Old 06-12-2001, 08:41 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Cool well

well see...

the reason why I dont learn board is because I have no use for it (or at lest I have never had any use for it)

once I come up to a time I need to learn it then I will learn it...

I have an example on it but I just never looked at it
__________________
Thanks,
-KJL
Reply With Quote
  #5  
Old 06-12-2001, 04:04 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Board = Fun
At least if you can do stuff with it, it's fun... It can certainly be used to improve a night/day system so it doesn't need a map anymore, and it is needed if you want to script your own race...
__________________

Reply With Quote
  #6  
Old 06-12-2001, 08:46 PM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Hey

Yes, Board stuff is cool, but putobject is much nicer for quick stuff (IE : shovle holes)
I like the concept of the board array (board[....]) And I would like to make 2d arrays availible to the scripter comunity. Not just for bboard editing... (Look at the post in future improvments)

I know you can do neat stuff with board... If only I were older Kia, hahaha, I gotta takle my geometry pefor I can do cool patters...

(What is sin / cos / tan???) hahahaha

Ok i say enough, bye.
__________________

subliminal message: 1+1=3
Reply With Quote
  #7  
Old 06-12-2001, 09:04 PM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Re: Re: Hey

Quote:
Originally posted by Kaimetsu

Bah, geometry is cool, but the really genius stuff is usually mathsless. The trouble is, people usually think that a script is only good if it's full of eye-candy, which is why they like mine. I hope to God they never actually look at the code
Eyecandy = Playerslike = people come to your server = Popular = Endless

Face it. Most people out thre like art and stuff... People get 3d cars, why? So there eyes can get more candy! People cant get enough And I thignk that we should give it to them.

As for the fact of 2d arrays. It would be alot EZer for me to have those handy dandy matricies around so I can do cool stuff with showimg. hahaha
__________________

subliminal message: 1+1=3
Reply With Quote
  #8  
Old 06-13-2001, 06:02 PM
hakman hakman is offline
Registered User
Join Date: Mar 2001
Location: Mostly on the streets...=(
Posts: 162
hakman is on a distinguished road
tnx 4 dat
__________________

-ORIGINALITY!!

-GO GO ALEX THE KIDD!!

-The pants are fancy as you make them....
Reply With Quote
  #9  
Old 06-20-2001, 09:30 PM
Butz Butz is offline
Foxy
Butz's Avatar
Join Date: May 2001
Location: New York State
Posts: 2,831
Butz is on a distinguished road
Send a message via AIM to Butz
2d arrays

Yes..A Matrix would be a lot easier to understand..
__________________

FoxKelfonne @ DeviantART(updated: Dec 14, 2010)
Many Thanks to konidias for my avatar



Shawn Kelfonne - Aegis Mage of Dustari
Reply With Quote
  #10  
Old 06-20-2001, 10:33 PM
General General is offline
Banned
Join Date: Apr 2001
Location: Station Square
Posts: 984
General is on a distinguished road
Send a message via ICQ to General Send a message via AIM to General Send a message via Yahoo to General
Ohhh, big diss, you called Kai Kia. Ohhhhhh.....
Reply With Quote
  #11  
Old 06-20-2001, 11:23 PM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
I have never really looked at board. What is board used for???
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
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 04:13 PM.


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