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 08-08-2002, 07:41 AM
zorakid2001 zorakid2001 is offline
Banned
Join Date: Jul 2002
Location: Oregon USA <-- this place sux0rs
Posts: 113
zorakid2001 is on a distinguished road
Send a message via ICQ to zorakid2001 Send a message via AIM to zorakid2001
setshape2

could some1 help me w/ using setshape2! i thought i knew what i was doing but.. yet again i was wrong i cant quite get oit so that i can see the tiles \ but i can make it so that it is a certain shape
Reply With Quote
  #2  
Old 08-08-2002, 09:09 AM
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
setshape2 width,heigh,{typearray};

example
NPC Code:

setshape2 5,5,{
0, 0, 0, 0, 0,
0,22,22,22, 0,
0,22,22,22, 0,
0,22,22,22, 0,
0, 0, 0, 0, 0,
}



the numbers are the tiles's type (blicking, none blocking, bed tile, jumptile) for the full list, searchfor setshape2 in your newfeatures2001.txt, that txt file can be found in your graal folder.
__________________

subliminal message: 1+1=3
Reply With Quote
  #3  
Old 08-08-2002, 09:57 AM
RavenTelvecho RavenTelvecho is offline
Registered User
RavenTelvecho's Avatar
Join Date: Apr 2002
Location: Toronto, Ontario, Canada
Posts: 0
RavenTelvecho is on a distinguished road
Send a message via ICQ to RavenTelvecho Send a message via AIM to RavenTelvecho Send a message via Yahoo to RavenTelvecho
or if you feel lazy ...
setshape2 width,height,{tiletypes,...}
Lets the npc behave like a level, which means you can set
what size it has (in tiles) and how the tiles behave;
e.g. do setshape2 2,2,{3,3,3,3}; to make an npc that behaves
like a chair. Following tile types are supported:
0 nonblocking
2 hurting underground
3 chair
4 bed upper side
5 bed lower side
6 swamp
7 lava swamp
8 near water
9 near lava
11 water
12 lava
20 throw-through (fences)
21 jumping stone
22 blocking tile
__________________

^tuff newbie ;x
RavenTelvecho
!Booj
we are 'brothers'
Reply With Quote
  #4  
Old 08-08-2002, 11:32 AM
zorakid2001 zorakid2001 is offline
Banned
Join Date: Jul 2002
Location: Oregon USA <-- this place sux0rs
Posts: 113
zorakid2001 is on a distinguished road
Send a message via ICQ to zorakid2001 Send a message via AIM to zorakid2001
thnx

thnx you guys very very much!
Reply With Quote
  #5  
Old 08-08-2002, 11:57 PM
zorakid2001 zorakid2001 is offline
Banned
Join Date: Jul 2002
Location: Oregon USA <-- this place sux0rs
Posts: 113
zorakid2001 is on a distinguished road
Send a message via ICQ to zorakid2001 Send a message via AIM to zorakid2001
no 1 or 10?
Reply With Quote
  #6  
Old 08-09-2002, 12:30 AM
Andor_RC14 Andor_RC14 is offline
Registered User
Join Date: Jan 2002
Location: U.S.A - Ohio
Posts: 101
Andor_RC14 is on a distinguished road
Send a message via ICQ to Andor_RC14 Send a message via AIM to Andor_RC14 Send a message via Yahoo to Andor_RC14
does taht work clientside, serverside, or both?
__________________


Statistics show that 60% of all statistics are made-up
Manager of Norin.
EX Co-Manager of Bravo Online.
Reply With Quote
  #7  
Old 08-09-2002, 04:23 AM
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
clientside only
__________________

subliminal message: 1+1=3
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 09:02 PM.


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