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-30-2001, 01:27 PM
TeirDal_RC5 TeirDal_RC5 is offline
Registered User
Join Date: Jun 2001
Location: Canada,eh?
Posts: 43
TeirDal_RC5 is on a distinguished road
Send a message via ICQ to TeirDal_RC5 Send a message via AIM to TeirDal_RC5
Setshape..o.O

Allrighty..
Here is my problem,
I can get this working:
setshape2 2,2,{3,3,3,3};
And I can change the tile type (the 3's) to whatever I need..
But if I change the width or height, it doesn't work any more?
For example:
setshape2 4,4,{3,3,3,3,3,3,3,3};
(Is that right?)
It doesn't really explain the way the tiletypes go for setshape2..
But anyhow, does anyone know why I am not able to set a different width and height for setshape?
-Sacred
__________________
:Sacred Silver


-I put the 'fun' in dysfunctional.
Reply With Quote
  #2  
Old 06-30-2001, 02:32 PM
MoonAngel MoonAngel is offline
Banned
MoonAngel's Avatar
Join Date: Mar 2001
Location: QUÉBEC!
Posts: 1,443
MoonAngel is on a distinguished road
Send a message via ICQ to MoonAngel Send a message via AIM to MoonAngel
Re: Setshape..o.O

Quote:
Originally posted by TeirDal_RC5
Allrighty..
Here is my problem,
I can get this working:
setshape2 2,2,{3,3,3,3};
And I can change the tile type (the 3's) to whatever I need..
But if I change the width or height, it doesn't work any more?
For example:
setshape2 4,4,{3,3,3,3,3,3,3,3};
(Is that right?)
It doesn't really explain the way the tiletypes go for setshape2..
But anyhow, does anyone know why I am not able to set a different width and height for setshape?
-Sacred
2 * 2 = 4 tiles

4 * 4 = 16 tiles, not 8 so it should be:

setshape2 4,4,{3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3};

i made the setshape2 for couch.gif =)

drawunderplayer;
setshape2 8,4,{22,22,22,22,22,22,22,22,22,22,22,22,22,22,22, 22,22,3,3,3,3,3,3,22,22,3,3,3,3,3,3,22};

imagine doing a setshape2 16,16,{!}; that would take time to figure out if every tile has correctly been assigned hehe
Reply With Quote
  #3  
Old 06-30-2001, 03:16 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
To shorten up a bit, the number of tiles you need to put in is width*height
Oh and BTW, filling in setshape 0,0,64,64 is truly evil.
That's 4096 tiles. If I did that I'd use a special array generator which I made on it.
__________________

Reply With Quote
  #4  
Old 07-01-2001, 03:10 AM
TeirDal_RC5 TeirDal_RC5 is offline
Registered User
Join Date: Jun 2001
Location: Canada,eh?
Posts: 43
TeirDal_RC5 is on a distinguished road
Send a message via ICQ to TeirDal_RC5 Send a message via AIM to TeirDal_RC5
Ah, thanks peeps!
*Feels stupid*
__________________
:Sacred Silver


-I put the 'fun' in dysfunctional.
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:35 AM.


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