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 10-08-2001, 07:35 PM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Chair

A chair that you can pull and sit in it how would you do this?
Reply With Quote
  #2  
Old 10-08-2001, 07:38 PM
Inguz Inguz is offline
Registered User
Join Date: Mar 2001
Posts: 26
Inguz is on a distinguished road
is it like the basic chair
Reply With Quote
  #3  
Old 10-08-2001, 08:04 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Hmmm you need to use setshape2,
make some part of the npc blocking (so
that you can push/pull it) and some other part
sitting tile
Reply With Quote
  #4  
Old 10-08-2001, 08:28 PM
Shard_IceFire Shard_IceFire is offline
Registered User
Shard_IceFire's Avatar
Join Date: Jun 2001
Location: Eastern Harkoonia
Posts: 861
Shard_IceFire is on a distinguished road
Yup, that's right.
__________________

-=Shard IceFire=-
Reply With Quote
  #5  
Old 10-08-2001, 10:14 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 tried to do this on Babylon but i gave up =..(
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #6  
Old 10-09-2001, 02:06 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Quote:
Originally posted by ownerofbabylon
i tried to do this on Babylon but i gave up =..(
Again, wasn't I supposed to be doing that as part of a larger npc?
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #7  
Old 10-09-2001, 02:23 AM
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
Quote:
Originally posted by Xaviar


Again, wasn't I supposed to be doing that as part of a larger npc?
u were? I was told it was impossible
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #8  
Old 10-09-2001, 02:25 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Quote:
Originally posted by ownerofbabylon


u were? I was told it was impossible
Pm...
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #9  
Old 10-09-2001, 04:30 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Quote:
Originally posted by Stefan
Hmmm you need to use setshape2,
make some part of the npc blocking (so
that you can push/pull it) and some other part
sitting tile
Thanks Stefan your the only who actually HELPS.
Reply With Quote
  #10  
Old 10-09-2001, 02:24 PM
Brandon_Bravo Brandon_Bravo is offline
Registered User
Join Date: Jun 2001
Location: Kalamazoo, Michigan USA
Posts: 206
Brandon_Bravo is on a distinguished road
Send a message via ICQ to Brandon_Bravo Send a message via AIM to Brandon_Bravo Send a message via MSN to Brandon_Bravo Send a message via Yahoo to Brandon_Bravo
Cool Hmmm

I think Stefan is now saying hmmm just to see who will notice that he is saying hmmm. Hmmm.
__________________
Brandon M.
Reply With Quote
  #11  
Old 10-09-2001, 09:00 PM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Make a chair PNG with a back to it. Now, do this in the code:
NPC Code:

if (created) {
setshape2 2,3,{
22,22,22,
3, 3, 3,
3, 3, 3}
canbepushed;
canbepulled;
canbecarried;
drawunderplayer;
}



Now, make a chair png that is 32 pixels by 48 pixels. Make it like this:

= =
D D
D D

Where the equal signs are the back of the chair, and the D's are the sitting part. Each = and each D are 16 by 16 pixels. Now, you can push, pull, and carry the chair from the backside of it, and sit on it on the front side of it.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #12  
Old 10-10-2001, 02:49 AM
Link188 Link188 is offline
Registered User
Link188's Avatar
Join Date: Jul 2001
Location: Monroeville, PA
Posts: 548
Link188 is on a distinguished road
Send a message via AIM to Link188
Thank you! That will look good in my server! (by the way i really dont mean to "steal" script, its just that i script like crap =/ )
__________________
~Jeice Lighthawk~
"And you will shed tears of scarlet..."

~Edited by me. ^_^
Reply With Quote
  #13  
Old 10-10-2001, 02:53 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
That script is acutally really easy... And Jeice don't make are server look bad you *****!
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #14  
Old 10-11-2001, 02:10 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Actually...After a little bit of thought, you could do that on a free server too, Im just not sure of how laggy it would get
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #15  
Old 10-11-2001, 03:58 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
The blocking tiles 22 and 20 dont work of is it someonething with the script:
// Mage by *Poogle
dontblock;
drawunderplayer;
canbepulled;
canbepushed;
setshape2 2,2,{3,3,22,22};
Reply With Quote
  #16  
Old 10-11-2001, 07:36 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Question

Quote:
Originally posted by Poogle
The blocking tiles 22 and 20 dont work of is it someonething with the script:
// Mage by *Poogle
dontblock;
drawunderplayer;
canbepulled;
canbepushed;
setshape2 2,2,{3,3,22,22};
Please help! I need HELP!
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 01:10 PM.


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