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 01-20-2004, 08:58 AM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Help!!

i never had an urge to use onwall onwall2 or onwater serverside until now, and now that i am... it seems like they dont work at all!

it detects water where it isnt, dosent detect it where it is. The walls seem randomly placed (ie not correct according to whatever level the servernpc is warped to)

shed light please?
__________________
Reply With Quote
  #2  
Old 01-20-2004, 03:50 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
I think that may happen with new tilesets (not sure though), maybe that's your problem?
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #3  
Old 01-20-2004, 07:45 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally posted by osrs
I think that may happen with new tilesets (not sure though), maybe that's your problem?
i tried both enabled and disabled... still no luck
__________________
Reply With Quote
  #4  
Old 01-21-2004, 12:43 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Re: Help!!

Quote:
Originally posted by Kristi
i never had an urge to use onwall onwall2 or onwater serverside until now, and now that i am... it seems like they dont work at all!

it detects water where it isnt, dosent detect it where it is. The walls seem randomly placed (ie not correct according to whatever level the servernpc is warped to)

shed light please?
I honestly have no clue, but you might want to tell what type of tileset you're using (picso or pics1). Also, it might be easier to help if you said what you were trying to do with the npc.
Reply With Quote
  #5  
Old 01-21-2004, 01:15 AM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Re: Re: Help!!

Quote:
Originally posted by jake13jake

I honestly have no clue, but you might want to tell what type of tileset you're using (picso or pics1). Also, it might be easier to help if you said what you were trying to do with the npc.
what im trying to do is irrevelvant, its not testing right serverside, clientside its fun

pics1.png
__________________
Reply With Quote
  #6  
Old 01-21-2004, 01:39 AM
Hevaricubed Hevaricubed is offline
Registered User
Join Date: Aug 2003
Posts: 262
Hevaricubed is on a distinguished road
Send a message via AIM to Hevaricubed Send a message via Yahoo to Hevaricubed
Re: Re: Help!!

Quote:
Originally posted by jake13jake

I honestly have no clue, but you might want to tell what type of tileset you're using (picso or pics1). Also, it might be easier to help if you said what you were trying to do with the npc.
Maybe.. make an NPC with onwall detection? perhaps? if thats ok with your worshipfulnes?
__________________
Reply With Quote
  #7  
Old 01-21-2004, 02:32 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Are you sure the places and all are right? Perhaps you should display a dot at the place where there's a wall
And perhaps the player is water/wall/wahtever.
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #8  
Old 01-21-2004, 06:29 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally posted by GoZelda
Are you sure the places and all are right? Perhaps you should display a dot at the place where there's a wall
And perhaps the player is water/wall/wahtever.
Im sure its detecting wrong yes
however, im going to do that display because im curious as to what the npc is seeing
__________________
Reply With Quote
  #9  
Old 01-21-2004, 07:44 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
ok, inside houses, onwall and onwall 2 detect like this (and yes the gaps are random)
(see picture)
same with onwater

outside (we use a different tileset with the SAME definitions, like water on our tileset is located where water on the other is)
it just all screws up.

Any suggestion?
(the blue was drawn by a .1 timeout test on each tile by a serverside npc)
__________________
Reply With Quote
  #10  
Old 01-21-2004, 07:45 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
forgot pic X.x
Attached Thumbnails
Click image for larger version

Name:	tilepiconwall.png
Views:	166
Size:	50.0 KB
ID:	27099  
__________________
Reply With Quote
  #11  
Old 01-21-2004, 08:02 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
That's one heck of a ugly level
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #12  
Old 01-21-2004, 08:21 PM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally posted by GoZelda
That's one heck of a ugly level
Not my fault and irrevelvant, its just where i was at the time

Can anyone solve either problem?

the outside levels tileset is done clientsided using addtiledef-... but it has pics1.pngs definitions

its using the wrong tiles serverside as walls and water, does anyone know how to make it right?

Edit: (more relevant info)

the tiledefs are clientside, and the npc has no client interaction, so it seems like its irrevelvant.

Where it messes up completely is outside on levels that are part of the map. It seems like it knows where things are placed though and is just detecting tiles as other tiles... i dunno.

I very much so dislike this
__________________

Last edited by Kristi; 01-21-2004 at 08:49 PM..
Reply With Quote
  #13  
Old 01-21-2004, 09:15 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Quote:
Originally posted by Kristi


Not my fault and irrevelvant, its just where i was at the time

Edit: (more relevant info)

the tiledefs are clientside, and the npc has no client interaction, so it seems like its irrevelvant.

Where it messes up completely is outside on levels that are part of the map. It seems like it knows where things are placed though and is just detecting tiles as other tiles... i dunno.

I very much so dislike this
You sure do like that word, don't you?
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #14  
Old 01-21-2004, 11:20 PM
Alexander Alexander is offline
Registered User
Join Date: Apr 2003
Location: California
Posts: 246
Alexander is on a distinguished road
Send a message via AIM to Alexander
I remember this problem when I was doing a present dropper npc for babylon o.o

if (onwall2(x,y,2,2)) = offwall

Just switch it around, on is off, and off is on, i think
Reply With Quote
  #15  
Old 01-22-2004, 12:16 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
Quote:
Originally posted by Kristi
forgot pic X.x
The AI bot thing? It isn't THAT good of an idea... why try to hide it?
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:10 AM.


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